drm/radeon/ttm: move to driver binding/destroy functions. (v2)
authorDave Airlie <airlied@redhat.com>
Mon, 7 Sep 2020 20:46:22 +0000 (06:46 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 8 Sep 2020 22:30:05 +0000 (08:30 +1000)
commita68bb1938b518c53ba3733be6be767305ae2f2c9
tree7363ee4b6dbf2aa0b1debfe9baaa5520e9ce1b0e
parent738edc0adb388f75aec67011f6e8f225b9f29783
drm/radeon/ttm: move to driver binding/destroy functions. (v2)

Do agp decision in the driver, instead of special binding funcs

v2: use container_of, drop some {}.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200907204630.1406528-6-airlied@gmail.com
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_cs.c
drivers/gpu/drm/radeon/radeon_gem.c
drivers/gpu/drm/radeon/radeon_object.c
drivers/gpu/drm/radeon/radeon_prime.c
drivers/gpu/drm/radeon/radeon_ttm.c
drivers/gpu/drm/radeon/radeon_vm.c