summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2016-12-06 11:26:08 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 17:04:17 -0400
commita33fa99d8b8ec71a69e089e39ab1498d31169640 (patch)
tree1f8ba640919c8b3987509a079141321f040ee469 /drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
parent49c07a99b2bdd6e6ed621f728d58d8535cc87a61 (diff)
downloadlinux-a33fa99d8b8ec71a69e089e39ab1498d31169640.tar.gz
linux-a33fa99d8b8ec71a69e089e39ab1498d31169640.tar.bz2
linux-a33fa99d8b8ec71a69e089e39ab1498d31169640.zip
drm/amd/display: Fix bunch of warnings in DC
Some of those are potential bugs Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
index 80ac5d9efa71..3d1c32122d69 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
@@ -465,7 +465,6 @@ static uint32_t dce110_get_pix_clk_dividers_helper (
struct pll_settings *pll_settings,
struct pixel_clk_params *pix_clk_params)
{
- uint32_t addr = 0;
uint32_t value = 0;
uint32_t field = 0;
uint32_t pll_calc_error = MAX_PLL_CALC_ERROR;
@@ -731,8 +730,6 @@ static void dce110_program_pixel_clk_resync(
enum signal_type signal_type,
enum dc_color_depth colordepth)
{
- uint32_t value = 0;
-
REG_UPDATE(RESYNC_CNTL,
DCCG_DEEP_COLOR_CNTL1, 0);
/*
@@ -772,8 +769,6 @@ static void dce112_program_pixel_clk_resync(
enum dc_color_depth colordepth,
bool enable_ycbcr420)
{
- uint32_t value = 0;
-
REG_UPDATE(PIXCLK_RESYNC_CNTL,
PHYPLLA_DCCG_DEEP_COLOR_CNTL, 0);
/*