aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/amdgpu_pm.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2022-03-30 10:53:15 +0200
committerAlex Deucher <[email protected]>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 <[email protected]> Reviewed-by: Philip Yang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions