Brandon Syu
9190d4a263
drm/amd/display: fix mapping to non-allocated address
...
[Why]
There is an issue mapping non-allocated location of memory.
It would allocate gpio registers from an array out of bounds.
[How]
Patch correct numbers of bounds for using.
Tested-by: Daniel Wheeler <Daniel.Wheeler@amd.com >
Reviewed-by: Martin Leung <Martin.Leung@amd.com >
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com >
Signed-off-by: Brandon Syu <Brandon.Syu@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2023-01-17 15:40:44 -05:00
Paul Hsieh
8747075f54
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 <Alvin.Lee2@amd.com >
Acked-by: Stylon Wang <stylon.wang@amd.com >
Signed-off-by: Paul Hsieh <Paul.Hsieh@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2022-12-06 10:16:24 -05:00
Steve Su
1df6b9b07e
drm/amd/display: Fix gpio port mapping issue
...
[Why]
1. Port of gpio has different mapping.
[How]
1. Add a dummy entry in mapping table.
2. Fix incorrect mask bit field access.
Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com >
Acked-by: Alan Liu <HaoPing.Liu@amd.com >
Signed-off-by: Steve Su <steve.su@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2022-11-09 17:41:41 -05:00
Aurabindo Pillai
58efeea32d
drm/amd/display: add GPIO changes for DCN32/321
...
Add support for the GPIO changes for DCN3.2.x.
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com >
Acked-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2022-06-03 16:43:37 -04:00