OSDN Git Service

drm/ttm: split bound/populated flags.
authorDave Airlie <airlied@redhat.com>
Tue, 15 Sep 2020 01:42:30 +0000 (11:42 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 15 Sep 2020 23:35:47 +0000 (09:35 +1000)
commit3a4ab168a5df5c9532763ac26cde5c2ad06ca1e5
tree061db5a5cf3b43865bf0ee80152754cacbe05f56
parent9e9a153bdf2555a931fd37678a8e44d170a5d943
drm/ttm: split bound/populated flags.

Move bound up into the bo object, and keep populated with the tt
object.

The ghost object handling needs to follow the flags at the bo
level now instead of it being part of the ttm tt object.

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-7-airlied@gmail.com
drivers/gpu/drm/ttm/ttm_bo_util.c
include/drm/ttm/ttm_bo_api.h
include/drm/ttm/ttm_bo_driver.h
include/drm/ttm/ttm_tt.h