OSDN Git Service

drm/ttm: move ttm binding/unbinding out of ttm_tt paths.
authorDave Airlie <airlied@redhat.com>
Tue, 15 Sep 2020 01:34:51 +0000 (11:34 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 15 Sep 2020 23:35:30 +0000 (09:35 +1000)
commit9e9a153bdf2555a931fd37678a8e44d170a5d943
tree1da6cf699fc948cec069a258edaa55020489e4bb
parent2040ec970e94dde0b94e200ae9bb8f21a61c928f
drm/ttm: move ttm binding/unbinding out of ttm_tt paths.

Move these up to the bo level, moving ttm_tt to just being
backing store. Next step is to move the bound flag out.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200915024007.67163-6-airlied@gmail.com
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/radeon/radeon_mn.c
drivers/gpu/drm/radeon/radeon_ttm.c
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_bo_util.c
drivers/gpu/drm/ttm/ttm_tt.c
include/drm/ttm/ttm_bo_driver.h
include/drm/ttm/ttm_tt.h