diff options
| author | Alex Deucher <[email protected]> | 2023-07-05 22:13:43 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-07-12 14:57:15 +0000 |
| commit | 08b6e1725dd44be584c55fce1bdc9fe7b4510a49 (patch) | |
| tree | ad7dd2cd0ae553f3f3b388e2990cd92049737fe0 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | drm/amdgpu: Fix errors & warnings in gfx_v10_0.c (diff) | |
| download | kernel-08b6e1725dd44be584c55fce1bdc9fe7b4510a49.tar.gz kernel-08b6e1725dd44be584c55fce1bdc9fe7b4510a49.zip | |
drm/amdgpu/gfx9: move update_spm_vmid() out of rlc_init()
rlc_init() is part of sw_init() so it should not touch hardware.
Additionally, calling the rlc update_spm_vmid() callback
directly invokes a gfx on/off cycle which could result in
powergating being enabled before hw init is complete. Split
update_spm_vmid() into an internal implementation for local
use without gfxoff interaction and then the rlc callback
which includes gfxoff handling. lbpw_init also touches
hardware so mvoe that to rlc_resume as well.
Acked-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
