aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2020-09-22 14:56:59 +0000
committerThomas Zimmermann <[email protected]>2020-09-25 09:21:04 +0000
commit4d92d7d76dd582fc1212b25a9380acc6123535cb (patch)
tree1b20d66a9dec77963e2612cd286537ea5ccdfe64 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentdrm/vram-helper: Integrate drm_gem_vram_init() into drm_gem_vram_create() (diff)
downloadkernel-4d92d7d76dd582fc1212b25a9380acc6123535cb.tar.gz
kernel-4d92d7d76dd582fc1212b25a9380acc6123535cb.zip
drm/vram-helper: Set object function iff they are not provided by driver
Don't override the GEM object functions unconditionally. If the driver sets the GEM functions, VRAM helpers will not set them. The idea has been taken from SHMEM helpers. v2: * updated the commit message (Sam) * document the new feature for drm_gem_vram_create() Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions