diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2023-07-05 17:57:59 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-07-12 10:57:22 -0400 |
commit | 95b88ea1af4b4c0de3f151347605dbc6734e6cb2 (patch) | |
tree | a27fb466d180a01d50a5233357ab9ab39a0f2545 /drivers/gpu/drm/amd/amdgpu/ih_v6_0.c | |
parent | 08b6e1725dd44be584c55fce1bdc9fe7b4510a49 (diff) |
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 <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