[PATCH 5/5] drm/amd/powrplay: delete code no longer in use on Polaris.

Deucher, Alexander Alexander.Deucher at amd.com
Mon Aug 1 13:46:52 UTC 2016


> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf
> Of Rex Zhu
> Sent: Monday, August 01, 2016 7:33 AM
> To: amd-gfx at lists.freedesktop.org
> Cc: Zhu, Rex
> Subject: [PATCH 5/5] drm/amd/powrplay: delete code no longer in use on
> Polaris.
> 
> Change-Id: I97efcc8832dc595ab44ae705ad6de4a1def59453
> Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c | 13 ------------
> -
>  1 file changed, 13 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c
> b/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c
> index ada0e62..23d455c 100644
> --- a/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c
> +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c
> @@ -98,19 +98,6 @@
>  #define PCIE_BUS_CLK                10000
>  #define TCLK                        (PCIE_BUS_CLK / 10)
> 
> -
> -static const uint16_t polaris10_clock_stretcher_lookup_table[2][4] =
> -{ {600, 1050, 3, 0}, {600, 1050, 6, 1} };
> -
> -/*  [FF, SS] type, [] 4 voltage ranges, and [Floor Freq, Boundary Freq, VID
> min , VID max] */
> -static const uint32_t polaris10_clock_stretcher_ddt_table[2][4][4] =
> -{ { {265, 529, 120, 128}, {325, 650, 96, 119}, {430, 860, 32, 95}, {0, 0, 0, 31} },
> -  { {275, 550, 104, 112}, {319, 638, 96, 103}, {360, 720, 64, 95}, {384, 768, 32, 63}
> } };
> -
> -/*  [Use_For_Low_freq] value, [0%, 5%, 10%, 7.14%, 14.28%, 20%] (coming
> from PWR_CKS_CNTL.stretch_amount reg spec) */
> -static const uint8_t polaris10_clock_stretch_amount_conversion[2][6] =
> -{ {0, 1, 3, 2, 4, 5}, {0, 2, 4, 5, 6, 5} };
> -
>  /** Values for the CG_THERMAL_CTRL::DPM_EVENT_SRC field. */
>  enum DPM_EVENT_SRC {
>  	DPM_EVENT_SRC_ANALOG = 0,
> --
> 1.9.1
> 
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list