diff options
| author | Alex Deucher <[email protected]> | 2025-02-03 15:35:33 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-02-13 02:04:06 +0000 |
| commit | abab9781274b6b7ff39fa990f4d3a15bee25e726 (patch) | |
| tree | 3e643f6eea12dd41d77221ab7f42da210a822894 /drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | |
| parent | drm/amd/display: Replace pr_info in dc_validate_boot_timing() (diff) | |
| download | kernel-abab9781274b6b7ff39fa990f4d3a15bee25e726.tar.gz kernel-abab9781274b6b7ff39fa990f4d3a15bee25e726.zip | |
drm/amdgpu/sdma4: drop gfxoff calls in dump ip state
SDMA 4.x is not part of the GFX power domain so this is
not necessary.
Reviewed-by: Kenneth Feng <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c index b48d9c0b2e1c..ea42fb10d207 100644 --- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c @@ -2381,7 +2381,6 @@ static void sdma_v4_0_dump_ip_state(struct amdgpu_ip_block *ip_block) if (!adev->sdma.ip_dump) return; - amdgpu_gfx_off_ctrl(adev, false); for (i = 0; i < adev->sdma.num_instances; i++) { instance_offset = i * reg_count; for (j = 0; j < reg_count; j++) @@ -2389,7 +2388,6 @@ static void sdma_v4_0_dump_ip_state(struct amdgpu_ip_block *ip_block) RREG32(sdma_v4_0_get_reg_offset(adev, i, sdma_reg_list_4_0[j].reg_offset)); } - amdgpu_gfx_off_ctrl(adev, true); } const struct amd_ip_funcs sdma_v4_0_ip_funcs = { |
