From: Tony Cheng Date: Thu, 22 Dec 2016 19:54:50 +0000 (-0500) Subject: drm/amd/display: Allow multiple instance of DTO regs X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c89a58cd0d1cc940a29a00cc03e441f97fab56e1;p=openwrt%2Fstaging%2Fblogic.git drm/amd/display: Allow multiple instance of DTO regs Signed-off-by: Tony Cheng Reviewed-by: Jordan Lazare Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.h b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.h index 8ee00712ef8e..28984c79fc46 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.h +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.h @@ -76,9 +76,13 @@ struct dce110_clk_src_regs { uint32_t RESYNC_CNTL; uint32_t PIXCLK_RESYNC_CNTL; uint32_t PLL_CNTL; - uint32_t PHASE; - uint32_t MODULO; - uint32_t PIXEL_RATE_CNTL; + + /* below are for DTO. + * todo: should probably use different struct to not waste space + */ + uint32_t PHASE[4]; + uint32_t MODULO[4]; + uint32_t PIXEL_RATE_CNTL[4]; }; struct dce110_clk_src {