Commit 08f7c681 authored by Rodrigo Siqueira's avatar Rodrigo Siqueira Committed by Alex Deucher

drm/amd/display: Add V_TOTAL_REGS to dcn10

DCN10 OPTC is used by other DCNs, and in some cases it might be useful
to have V_TOTAL_REGS available. This commit add V_TOTAL_REGS as part of
the TG field.
Acked-by: default avatarHamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 2fa5d653
...@@ -517,12 +517,15 @@ struct dcn_optc_registers { ...@@ -517,12 +517,15 @@ struct dcn_optc_registers {
type MANUAL_FLOW_CONTROL;\ type MANUAL_FLOW_CONTROL;\
type MANUAL_FLOW_CONTROL_SEL; type MANUAL_FLOW_CONTROL_SEL;
#define V_TOTAL_REGS(type)
#define TG_REG_FIELD_LIST(type) \ #define TG_REG_FIELD_LIST(type) \
TG_REG_FIELD_LIST_DCN1_0(type)\ TG_REG_FIELD_LIST_DCN1_0(type)\
type OTG_V_SYNC_MODE;\ type OTG_V_SYNC_MODE;\
type OTG_DRR_TRIGGER_WINDOW_START_X;\ type OTG_DRR_TRIGGER_WINDOW_START_X;\
type OTG_DRR_TRIGGER_WINDOW_END_X;\ type OTG_DRR_TRIGGER_WINDOW_END_X;\
type OTG_DRR_V_TOTAL_CHANGE_LIMIT;\ type OTG_DRR_V_TOTAL_CHANGE_LIMIT;\
V_TOTAL_REGS(type)\
type OTG_OUT_MUX;\ type OTG_OUT_MUX;\
type OTG_M_CONST_DTO_PHASE;\ type OTG_M_CONST_DTO_PHASE;\
type OTG_M_CONST_DTO_MODULO;\ type OTG_M_CONST_DTO_MODULO;\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment