diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2020-09-23 13:21:38 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2020-09-25 10:19:42 +0300 |
commit | 246cb7e49a70e5c4b71caed5df518693c345bab7 (patch) | |
tree | 00ba55bd6060f133810e3156d769ed3de5d92a26 /drivers/gpu/drm/armada | |
parent | a0d078d06e516184e2f575f3803935697b5e3ac6 (diff) | |
download | linux-246cb7e49a70e5c4b71caed5df518693c345bab7.tar.xz |
drm/amdgpu: Introduce GEM object functions
GEM object functions deprecate several similar callback interfaces in
struct drm_driver. This patch replaces the per-driver callbacks with
per-instance callbacks in amdgpu. The only exception is gem_prime_mmap,
which is non-trivial to convert.
v3:
* remove amdgpu_object.c from patch (Christian)
v2:
* move object-function instance to amdgpu_gem.c (Christian)
* set callbacks in amdgpu_gem_object_create() (Christian)
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200923102159.24084-2-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/armada')
0 files changed, 0 insertions, 0 deletions