OSDN Git Service

drm/amd/display: Check context constructed for pipe split flags is still valid
authorDillon Varone <Dillon.Varone@amd.com>
Mon, 31 Oct 2022 23:08:23 +0000 (19:08 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Nov 2022 18:35:14 +0000 (13:35 -0500)
commit31494626cec4bdac43e92ff653812650d147d691
tree21e218d7eee66670512f4f99ec163c0f0111146b
parent27142312c8a44026815df721882468c63c4c96da
drm/amd/display: Check context constructed for pipe split flags is still valid

[WHY?]
After applying pipesplit flags, DML can select a different configuration upon
revalidation, despite the desired one still being valid.

[HOW?]
Check the configuration is still has mode support, and apply it.

Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Dillon Varone <Dillon.Varone@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/dml/dcn32/dcn32_fpu.c