Skip to content

Commit 8747075

Browse files
Paul Hsiehalexdeucher
authored andcommitted
drm/amd/display: read invalid ddc pin status cause engine busy
[Why] There is no DDC_6 pin on new asic cause the mapping table is incorrect. When app try to access DDC_VGA port, driver read an invalid ddc pin status and report engine busy. [How] Add dummy DDC_6 pin to align gpio structure. Reviewed-by: Alvin Lee <[email protected]> Acked-by: Stylon Wang <[email protected]> Signed-off-by: Paul Hsieh <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 2a2acdd commit 8747075

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/amd/display/dc/gpio/dcn32/hw_factory_dcn32.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@ static const struct hw_factory_funcs funcs = {
256256
*/
257257
void dal_hw_factory_dcn32_init(struct hw_factory *factory)
258258
{
259-
factory->number_of_pins[GPIO_ID_DDC_DATA] = 6;
260-
factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 6;
259+
factory->number_of_pins[GPIO_ID_DDC_DATA] = 8;
260+
factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8;
261261
factory->number_of_pins[GPIO_ID_GENERIC] = 4;
262262
factory->number_of_pins[GPIO_ID_HPD] = 5;
263263
factory->number_of_pins[GPIO_ID_GPIO_PAD] = 28;

0 commit comments

Comments
 (0)