diff options
author | ZhenGuo Yin <zhenguo.yin@amd.com> | 2024-04-02 06:41:05 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-10 06:27:58 +0300 |
commit | e33997e18d0fddd217a0fce988abbfd015338631 (patch) | |
tree | a33d750939690aa14a4cdf7a1af5dd55bbbe1e8c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f7e232de51bb1b45646e5b7dc4ebcf13510f2630 (diff) | |
download | linux-e33997e18d0fddd217a0fce988abbfd015338631.tar.xz |
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 <christian.koenig@amd.com>
Signed-off-by: ZhenGuo Yin <zhenguo.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions