aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
diff options
context:
space:
mode:
authorZhenGuo Yin <[email protected]>2024-04-02 03:41:05 +0000
committerAlex Deucher <[email protected]>2024-04-10 02:09:21 +0000
commit05e40141685fd6aaedbde334b404c8dfbbd83fd6 (patch)
tree972c21bfd85fb155eeb391e810cec80f57dfc00b /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
parentdrm/amdgpu: retire UMC v12 mca_addr_to_pa (diff)
downloadkernel-05e40141685fd6aaedbde334b404c8dfbbd83fd6.tar.gz
kernel-05e40141685fd6aaedbde334b404c8dfbbd83fd6.zip
drm/amdgpu: clear set_q_mode_offs when VM changed
[Why] set_q_mode_offs don't get cleared after GPU reset, nexting SET_Q_MODE packet to init shadow memory will be skiped, hence there has a page fault. [How] VM flush is needed after GPU reset, clear set_q_mode_offs when emitting VM flush. Fixes: 8bc75586ea01 ("drm/amdgpu: workaround to avoid SET_Q_MODE packets v2") Reviewed-by: Christian König <[email protected]> Signed-off-by: ZhenGuo Yin <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
0 files changed, 0 insertions, 0 deletions