Skip to content

Commit 08f7c68

Browse files
Rodrigo Siqueiraalexdeucher
authored andcommitted
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: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 2fa5d65 commit 08f7c68

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,12 +517,15 @@ struct dcn_optc_registers {
517517
type MANUAL_FLOW_CONTROL;\
518518
type MANUAL_FLOW_CONTROL_SEL;
519519

520+
#define V_TOTAL_REGS(type)
521+
520522
#define TG_REG_FIELD_LIST(type) \
521523
TG_REG_FIELD_LIST_DCN1_0(type)\
522524
type OTG_V_SYNC_MODE;\
523525
type OTG_DRR_TRIGGER_WINDOW_START_X;\
524526
type OTG_DRR_TRIGGER_WINDOW_END_X;\
525527
type OTG_DRR_V_TOTAL_CHANGE_LIMIT;\
528+
V_TOTAL_REGS(type)\
526529
type OTG_OUT_MUX;\
527530
type OTG_M_CONST_DTO_PHASE;\
528531
type OTG_M_CONST_DTO_MODULO;\

0 commit comments

Comments
 (0)