drm/amdgpu: remove dead code in si_dpm.c
Subsystems (2)
PATCH 1/1 drm/amdgpu: remove dead code in si_dpm.c
This code is dead, let's remove it.
Reported-by Hulk Robot <[email protected]>
Signed-off-by Jason Yan <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 20 -------------------- 1 file changed, 20 deletions(-)
drivers/gpu/drm/amd/amdgpu/si_dpm.c +0 -20
@@ -345,26 +345,6 @@ 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 }, - {0x7D ,0x7D ,0x4E4 ,0xB00 ,0 }, -0x5 , -0xAFC8 , -0x64 , -0x32 , -1 , -0 , -0x10 , - {0x78 ,0x7C ,0x82 ,0x88 ,0x8E ,0x94 ,0x9A ,0xA0 ,0xA6 ,0xAC ,0xB0 ,0xB4 ,0xB8 ,0xBC ,0xC0 ,0xC4 }, - {0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 }, - {0x2AF8 ,0x2AF8 ,0x29BB ,0x27F9 ,0x2637 ,0x2475 ,0x22B3 ,0x20F1 ,0x1F2F ,0x1D6D ,0x1734 ,0x1414 ,0x10F4 ,0xDD4 ,0xAB4 ,0x794 }, -85 , - true -}; -#endif -static const struct si_dte_data dte_data_tahiti_pro = { {0x1E8480 ,0x3D0900 ,0x989680 ,0x2625A00 ,0x0 },
Signature · 1 line
2.21.1
Alex Deucher
AppliedApplied. Thanks!
Quoted 43 lines · Jason Yan
This code is dead, let's remove it.
Reported-by Hulk Robot <[email protected]>Signed-off-by Jason Yan <[email protected]>--- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 20 -------------------- 1 file changed, 20 deletions(-)drivers/gpu/drm/amd/amdgpu/si_dpm.c +0
-21@@ -345,26 +345,6 @@ 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 }, - {0x7D ,0x7D ,0x4E4 ,0xB00 ,0 }, -0x5 , -0xAFC8 , -0x64 , -0x32 , -1 , -0 , -0x10 , - {0x78 ,0x7C ,0x82 ,0x88 ,0x8E ,0x94 ,0x9A ,0xA0 ,0xA6 ,0xAC ,0xB0 ,0xB4 ,0xB8 ,0xBC ,0xC0 ,0xC4 }, - {0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 ,0x3938700 }, - {0x2AF8 ,0x2AF8 ,0x29BB ,0x27F9 ,0x2637 ,0x2475 ,0x22B3 ,0x20F1 ,0x1F2F ,0x1D6D ,0x1734 ,0x1414 ,0x10F4 ,0xDD4 ,0xAB4 ,0x794 }, -85 , - true -}; -#endif -static const struct si_dte_data dte_data_tahiti_pro = { {0x1E8480 ,0x3D0900 ,0x989680 ,0x2625A00 ,0x0 }, --2.21.1
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx