[PATCH 7/7] drm/amd/amdgpu: Comment out currently unused SI DPM struct

Tom St Denis tstdenis82 at gmail.com
Tue Sep 6 16:18:44 UTC 2016


The tahiti_le structure is not currently used.  Comment it out
to avoid warnings.

Signed-off-by: Tom St Denis <tom.stdenis at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/si_dpm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/si_dpm.c b/drivers/gpu/drm/amd/amdgpu/si_dpm.c
index 7b9debefd64a..92a041755e8e 100644
--- a/drivers/gpu/drm/amd/amdgpu/si_dpm.c
+++ b/drivers/gpu/drm/amd/amdgpu/si_dpm.c
@@ -340,6 +340,7 @@ static const struct si_dte_data dte_data_tahiti =
 	false
 };
 
+#if 0
 static const struct si_dte_data dte_data_tahiti_le =
 {
 	{ 0x1E8480, 0x7A1200, 0x2160EC0, 0x3938700, 0 },
@@ -357,6 +358,7 @@ static const struct si_dte_data dte_data_tahiti_le =
 	85,
 	true
 };
+#endif
 
 static const struct si_dte_data dte_data_tahiti_pro =
 {
-- 
2.9.3



More information about the amd-gfx mailing list