Skip to content

Commit a1d2afc

Browse files
leungmartinalexdeucher
authored andcommitted
drm/amd/display: adding ddc_gpio_vga_reg_list to ddc reg def'ns
why: oem-related ddc read/write fails without these regs how: copy from hw_factory_dcn20.c Signed-off-by: Martin Leung <martin.leung@amd.com> Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 140b2ef commit a1d2afc

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎drivers/gpu/drm/amd/display/dc/gpio/dcn30/hw_factory_dcn30.c‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,12 @@ static const struct ddc_registers ddc_data_regs_dcn[] = {
117117
ddc_data_regs_dcn2(4),
118118
ddc_data_regs_dcn2(5),
119119
ddc_data_regs_dcn2(6),
120+
{
121+
DDC_GPIO_VGA_REG_LIST(DATA),
122+
.ddc_setup = 0,
123+
.phy_aux_cntl = 0,
124+
.dc_gpio_aux_ctrl_5 = 0
125+
}
120126
};
121127

122128
static const struct ddc_registers ddc_clk_regs_dcn[] = {
@@ -126,6 +132,12 @@ static const struct ddc_registers ddc_clk_regs_dcn[] = {
126132
ddc_clk_regs_dcn2(4),
127133
ddc_clk_regs_dcn2(5),
128134
ddc_clk_regs_dcn2(6),
135+
{
136+
DDC_GPIO_VGA_REG_LIST(CLK),
137+
.ddc_setup = 0,
138+
.phy_aux_cntl = 0,
139+
.dc_gpio_aux_ctrl_5 = 0
140+
}
129141
};
130142

131143
static const struct ddc_sh_mask ddc_shift[] = {

0 commit comments

Comments
 (0)