mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
drm/amd/display: Use MAX_PIPES for DTO reg arrays
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@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>
This commit is contained in:
parent
fb3466a450
commit
641106d3fa
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user