Re: [PATCH] drm/amdgpu: fix identifying prefix and postfix SET_Q_MODE packet

2024-11-04 Thread Christian König
Am 04.11.24 um 10:18 schrieb ZhenGuo Yin: [Why] In legacy mode(no MCBP support) shadow_va of prefix SET_Q_MODE packet is set to 0, matching the value used in the postfix SET_Q_MODE packet. A prefix SET_Q_MODE packet will be skipped unexpectedly when mixed running jobs with shadowing on and off.

[PATCH] drm/amdgpu: fix identifying prefix and postfix SET_Q_MODE packet

2024-11-04 Thread ZhenGuo Yin
[Why] In legacy mode(no MCBP support) shadow_va of prefix SET_Q_MODE packet is set to 0, matching the value used in the postfix SET_Q_MODE packet. A prefix SET_Q_MODE packet will be skipped unexpectedly when mixed running jobs with shadowing on and off. [How] Both shadow_va and vmid should be set