summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/amdgpu_pm.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2022-03-30 10:53:15 +0200
committerAlex Deucher <alexander.deucher@amd.com>2022-04-05 10:26:20 -0400
commit30671b44aa570a2953aead09999d13e3b5a24d30 (patch)
tree42788d4bd05d6b7b8f0671f512d9a9b07ff09287 /drivers/gpu/drm/amd/pm/amdgpu_pm.c
parent50e6cb3fd2cde554db646282ea10df7236e6493c (diff)
drm/amdgpu: fix TLB flushing during eviction
Testing the valid bit is not enough to figure out if we need to invalidate the TLB or not. During eviction it is quite likely that we move a BO from VRAM to GTT and update the page tables immediately to the new GTT address. Rework the whole function to get all the necessary parameters directly as value. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Philip Yang <Philip.Yang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions