[PATCH 01/12] drm/amd/pm: drop unused structure members

Evan Quan evan.quan at amd.com
Fri Feb 11 07:51:58 UTC 2022


Drop those members which get never used.

Signed-off-by: Evan Quan <evan.quan at amd.com>
Change-Id: Iec70ad1dfe2059be26843f378588e6c894e9cae8
---
 drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h b/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
index fbef3ab8d487..fb32846a2d0e 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
+++ b/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
@@ -373,8 +373,6 @@ struct smu_dpm_context {
 };
 
 struct smu_power_gate {
-	bool uvd_gated;
-	bool vce_gated;
 	atomic_t vcn_gated;
 	atomic_t jpeg_gated;
 };
-- 
2.29.0



More information about the amd-gfx mailing list