diff options
| author | Milan Milicevic <Milan.Milicevic@amd.com> | 2026-10-28 15:31:55 +0100 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-11-04 12:28:07 -0500 |
| commit | 9d550dd1a3b4b96da49f3560a84b5c2413a88cd3 (patch) | |
| tree | a7c544b84491e86645e640bec1ed7c0cbecf3315 /include/linux/timerqueue.h | |
| parent | a9997269dd8fe1d5e1e51149ce84646b3cb2ed12 (diff) | |
drm/amdgpu: publish IH enabled before PSP programs IH_RB_CNTL
On SR-IOV, programming IH_RB_CNTL through PSP is slow enough for the
first MSI to arrive before ih->enabled is set. amdgpu_ih_process()
then drops the interrupt, rptr stays at 0, and RPTR_REARM never
generates another edge, so every ring hits the fence fallback timer.
Set ih->enabled before psp_reg_program() on the indirect IH path for
Navi10 and IH v6.0, and clear it if programming fails.
Signed-off-by: Danijel Slivka <Danijel.Slivka@amd.com>
Signed-off-by: Milan Milicevic <Milan.Milicevic@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit b2f9434f9d17c94798e8d8957af3adc4a9949016)
Cc: stable@vger.kernel.org
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
