]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0095c08f4ecf7572c7a54ac0fb57e127941756b2
tree061db5a5cf3b43865bf0ee80152754cacbe05f56
parent76836579f4c1161d013afc97729f54c5257f147c
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