Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu: fix the indentation

fix the indentation
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:6992 gfx_v11_ip_dump

compiler: gcc-11 (Debian 11.3.0-12) 11.3.0

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202505071619.7sHTLpNg-lkp@intel.com/
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Arvind Yadav <Arvind.Yadav@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Sunil Khatri and committed by
Alex Deucher
c2a3bac7 8465f0a3

+6 -3
+6 -3
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
··· 7094 7094 /* ME0 is for GFX so start from 1 for CP */ 7095 7095 soc21_grbm_select(adev, adev->gfx.me.num_me + i, j, k, 0); 7096 7096 for (reg = 0; reg < reg_count; reg++) { 7097 - if (i && gc_cp_reg_list_11[reg].reg_offset == regCP_MEC_ME1_HEADER_DUMP) 7098 - adev->gfx.ip_dump_compute_queues[index + reg] = 7099 - RREG32(SOC15_REG_OFFSET(GC, 0, regCP_MEC_ME2_HEADER_DUMP)); 7097 + if (i && 7098 + gc_cp_reg_list_11[reg].reg_offset == 7099 + regCP_MEC_ME1_HEADER_DUMP) 7100 + adev->gfx.ip_dump_compute_queues[index + reg] = 7101 + RREG32(SOC15_REG_OFFSET(GC, 0, 7102 + regCP_MEC_ME2_HEADER_DUMP)); 7100 7103 else 7101 7104 adev->gfx.ip_dump_compute_queues[index + reg] = 7102 7105 RREG32(SOC15_REG_ENTRY_OFFSET(