diff options
| author | Thomas Zimmermann <[email protected]> | 2020-09-22 14:56:59 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2020-09-25 09:21:04 +0000 |
| commit | 4d92d7d76dd582fc1212b25a9380acc6123535cb (patch) | |
| tree | 1b20d66a9dec77963e2612cd286537ea5ccdfe64 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
| parent | drm/vram-helper: Integrate drm_gem_vram_init() into drm_gem_vram_create() (diff) | |
| download | kernel-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
