]> Git Repo - linux.git/commit
drm/amd/display: Call dpmm when checking mode support
authorGeorge Shen <[email protected]>
Tue, 4 Jun 2024 14:11:23 +0000 (10:11 -0400)
committerAlex Deucher <[email protected]>
Thu, 27 Jun 2024 21:10:37 +0000 (17:10 -0400)
commita42e74391783603b28f266fc7bbfc1011eb0a151
tree77c5b6309f3512d00c200be20f286a0ca1033579
parentf86b47bee6343c9f74630d7fc2fb8f5e41db0440
drm/amd/display: Call dpmm when checking mode support

[WHY]
In check_mode_supported, we should validate that the required clocks
can be successfully mapped to DPM levels.

This ensures we only apply dynamic ODM optimizations to modes that
are supported without dynamic ODM optimizations to begin with.

[HOW]
Call dpmm to check that the display config can successfully be
mapped to a DPM level.

Reviewed-by: Chaitanya Dhere <[email protected]>
Cc: Mario Limonciello <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: [email protected]
Signed-off-by: Alex Hung <[email protected]>
Signed-off-by: George Shen <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_wrapper.c
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_top/dml_top.c
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/inc/dml2_internal_shared_types.h
This page took 0.055168 seconds and 4 git commands to generate.