]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: add caching state to ttm_bus_placement
authorChristian König <christian.koenig@amd.com>
Wed, 30 Sep 2020 09:17:44 +0000 (11:17 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 15 Oct 2020 10:51:13 +0000 (12:51 +0200)
commit447ee3c7289e63c40d1500228294c30fc4d67738
treed7ccbadbc5ec0a9b5954d02f209e165a7235692b
parent9fcdcb9102c0021eb00361ce822255495345f7e6
drm/ttm: add caching state to ttm_bus_placement

And implement setting it up correctly in the drivers.

This allows getting rid of the placement flags for this.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Link: https://patchwork.freedesktop.org/patch/394254/
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/drm_gem_vram_helper.c
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/qxl/qxl_ttm.c
drivers/gpu/drm/radeon/radeon_ttm.c
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c
include/drm/ttm/ttm_resource.h