]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm/tt: add wrappers to set tt state.
authorDave Airlie <airlied@redhat.com>
Tue, 15 Sep 2020 00:21:15 +0000 (10:21 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 15 Sep 2020 23:33:24 +0000 (09:33 +1000)
commit46d1059214c28a0b66b9b7b624001ee52f63e0aa
treeed3ff19a6a2f97dc13b16034819d257a84f07e29
parente3588614b444eaea1f4f7ea77ee07ae34ac9c655
drm/ttm/tt: add wrappers to set tt state.

This adds 2 getters and 4 setters, however unbound and populated
are currently the same thing, this will change, it also drops
a BUG_ON that seems not that useful.

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-2-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_util.c
drivers/gpu/drm/ttm/ttm_page_alloc.c
drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
drivers/gpu/drm/ttm/ttm_tt.c
drivers/gpu/drm/vmwgfx/vmwgfx_blit.c
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c
include/drm/ttm/ttm_tt.h