summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/ih_v6_0.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2023-07-05 18:13:43 -0400
committerAlex Deucher <alexander.deucher@amd.com>2023-07-12 10:57:15 -0400
commit08b6e1725dd44be584c55fce1bdc9fe7b4510a49 (patch)
treead7dd2cd0ae553f3f3b388e2990cd92049737fe0 /drivers/gpu/drm/amd/amdgpu/ih_v6_0.c
parent6dda3f18bdbdc4a836980b31fdb711019a340f97 (diff)
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 <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/ih_v6_0.c')
0 files changed, 0 insertions, 0 deletions