diff options
| author | Danijel Slivka <[email protected]> | 2024-06-24 05:58:24 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-06-27 21:30:27 +0000 |
| commit | afbf7955ff01e952dbdd465fa25a2ba92d00291c (patch) | |
| tree | b8c0ef1bf2b1621bb292f7d8d4e2977ee85ce5f3 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | |
| parent | Revert "drm/amd/amdgpu: add module parameter for jpeg" (diff) | |
| download | kernel-afbf7955ff01e952dbdd465fa25a2ba92d00291c.tar.gz kernel-afbf7955ff01e952dbdd465fa25a2ba92d00291c.zip | |
drm/amdgpu: clear RB_OVERFLOW bit when enabling interrupts
Why:
Setting IH_RB_WPTR register to 0 will not clear the RB_OVERFLOW bit
if RB_ENABLE is not set.
How to fix:
Set WPTR_OVERFLOW_CLEAR bit after RB_ENABLE bit is set.
The RB_ENABLE bit is required to be set, together with
WPTR_OVERFLOW_ENABLE bit so that setting WPTR_OVERFLOW_CLEAR bit
would clear the RB_OVERFLOW.
Signed-off-by: Danijel Slivka <[email protected]>
Reviewed-by: Christian König <[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
