diff options
author | George Shen <george.shen@amd.com> | 2024-06-04 17:11:23 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-28 00:10:37 +0300 |
commit | a42e74391783603b28f266fc7bbfc1011eb0a151 (patch) | |
tree | 77c5b6309f3512d00c200be20f286a0ca1033579 /fs | |
parent | f86b47bee6343c9f74630d7fc2fb8f5e41db0440 (diff) | |
download | linux-a42e74391783603b28f266fc7bbfc1011eb0a151.tar.xz |
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 <chaitanya.dhere@amd.com>
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: George Shen <george.shen@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions