drm/amd/display: Fix gpio port mapping issue
authorSteve Su <steve.su@amd.com>
Thu, 27 Oct 2022 21:52:32 +0000 (05:52 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Nov 2022 22:41:41 +0000 (17:41 -0500)
commit1df6b9b07e334cee60afebcaca69297477655325
tree053f48811c352e57dde8109c7c643c56aecfe559
parent98f9229ff60e39d3d7babd42a13358bb5a392e4b
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>
drivers/gpu/drm/amd/display/dc/gpio/dcn32/hw_factory_dcn32.c
drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c