提交 641106d3 编写于 作者: D Dmytro Laktyushkin 提交者: Alex Deucher

drm/amd/display: Use MAX_PIPES for DTO reg arrays

Signed-off-by: NDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: NTony Cheng <Tony.Cheng@amd.com>
Acked-by: NHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 fb3466a4
......@@ -107,9 +107,9 @@ struct dce110_clk_src_regs {
/* 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];
uint32_t PHASE[MAX_PIPES];
uint32_t MODULO[MAX_PIPES];
uint32_t PIXEL_RATE_CNTL[MAX_PIPES];
};
struct dce110_clk_src {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册