aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/ih_v6_0.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2023-07-05 21:57:59 +0000
committerAlex Deucher <[email protected]>2023-07-12 14:57:22 +0000
commit95b88ea1af4b4c0de3f151347605dbc6734e6cb2 (patch)
treea27fb466d180a01d50a5233357ab9ab39a0f2545 /drivers/gpu/drm/amd/amdgpu/ih_v6_0.c
parentdrm/amdgpu/gfx9: move update_spm_vmid() out of rlc_init() (diff)
downloadkernel-95b88ea1af4b4c0de3f151347605dbc6734e6cb2.tar.gz
kernel-95b88ea1af4b4c0de3f151347605dbc6734e6cb2.zip
drm/amdgpu/gfx10: 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. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/ih_v6_0.c')
0 files changed, 0 insertions, 0 deletions