aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
diff options
context:
space:
mode:
authorSunil Khatri <[email protected]>2024-05-02 08:48:08 +0000
committerAlex Deucher <[email protected]>2024-05-03 13:06:47 +0000
commitb0923d5d80facb205cc2b7f82994ab5c3eef3181 (patch)
treebb28d39d57562a57a4ba90224310e0ee13c63a00 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
parentdrm/amd/display: Fix uninitialized variables in dcn401 and dml21 (diff)
downloadkernel-b0923d5d80facb205cc2b7f82994ab5c3eef3181.tar.gz
kernel-b0923d5d80facb205cc2b7f82994ab5c3eef3181.zip
drm/amdgpu: remove ip dump reg_count variable
reg_count is not used and the register count is directly derived from the array size and hence removed. Signed-off-by: Sunil Khatri <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
index 64f197bbc866..9a946f0e015c 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
@@ -436,7 +436,6 @@ struct amdgpu_gfx {
/* IP reg dump */
uint32_t *ip_dump;
- uint32_t reg_count;
};
struct amdgpu_gfx_ras_reg_entry {