diff options
author | 2022-11-24 13:58:49 -0500 | |
---|---|---|
committer | 2023-01-24 12:25:21 -0500 | |
commit | 3a9c6f9a6159d8ecdf715f7eda0777ead96bcdc0 (patch) | |
tree | 53ba0fd6c9da17c20bb0b6d03c1b42756d8a25c6 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | |
parent | drm/amd/display: Disable MALL SS and messages for PSR supported configs (diff) | |
download | linux-rng-3a9c6f9a6159d8ecdf715f7eda0777ead96bcdc0.tar.xz linux-rng-3a9c6f9a6159d8ecdf715f7eda0777ead96bcdc0.zip |
drm/amd/display: Speed up DML fast_validate path
[Why]
Iterating over every voltage state when we need to validate thousands of
configurations all at once (i.e. display hotplug) can take a significant
amount of time.
[How]
Check just the highest voltage state when fast_validate is true to
verify whether the configuration can work at all, then do a proper
validation including all voltage states later when fast_validate is false.
Reviewed-by: Nevenko Stupar <Nevenko.Stupar@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Ilya Bakoulin <Ilya.Bakoulin@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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c')
0 files changed, 0 insertions, 0 deletions