]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amd/display: Only allow dig mapping to pwrseq in new asic
authorLewis Huang <lewis.huang@amd.com>
Wed, 31 Jan 2024 09:20:17 +0000 (17:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Feb 2024 17:23:01 +0000 (12:23 -0500)
commit4e73826089ce899357580bbf6e0afe4e6f9900b7
tree11a99ccc70f7173a87c5f1b0db29f28602c7476a
parent22e1dc4b2fec17af70f297a4295c5f19a0f3fbeb
drm/amd/display: Only allow dig mapping to pwrseq in new asic

[Why]
The old asic only have 1 pwrseq hw.
We don't need to map the diginst to pwrseq inst in old asic.

[How]
1. Only mapping dig to pwrseq for new asic.
2. Move mapping function into dcn specific panel control component

Cc: Stable <stable@vger.kernel.org> # v6.6+
Cc: Mario Limonciello <mario.limonciello@amd.com>
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/3122
Reviewed-by: Anthony Koo <anthony.koo@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Lewis Huang <lewis.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_panel_cntl.c
drivers/gpu/drm/amd/display/dc/dcn301/dcn301_panel_cntl.c
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c
drivers/gpu/drm/amd/display/dc/inc/hw/panel_cntl.h
drivers/gpu/drm/amd/display/dc/link/link_factory.c