]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdgpu: Remove TTM resource->start visible VRAM condition v2
authorSomalapuram Amaranath <Amaranath.Somalapuram@amd.com>
Wed, 8 Feb 2023 09:01:02 +0000 (14:31 +0530)
committerChristian König <christian.koenig@amd.com>
Thu, 9 Feb 2023 14:10:36 +0000 (15:10 +0100)
commitaed01a68047bd92e6f1273fb2e0b8e99ca72a876
treeb26035c93e71a54ea6c825202d41b4dda3bfc768
parente3ea1806e4ad097c9e67e108853a4ae0f3f100cc
drm/amdgpu: Remove TTM resource->start visible VRAM condition v2

Use amdgpu_bo_in_cpu_visible_vram() instead.

v2 (chk): fix test inversion

Signed-off-by: Somalapuram Amaranath <Amaranath.Somalapuram@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230208090106.9659-2-Amaranath.Somalapuram@amd.com
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c