]> git.baikalelectronics.ru Git - kernel.git/commit
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 23:03:13 +0000 (18:03 -0500)
commitc0b2753f5db281b07013899c79b5f06a614055f9
treeb5cca3339348ed4e536d4efcf772378bfa39fa1a
parentce62198d8b62734a985d22652e75a649be052390
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