diff options
author | 2022-11-24 13:58:49 -0500 | |
---|---|---|
committer | 2022-12-15 12:18:18 -0500 | |
commit | 1b5d0e7e15430aecbf2bb0ac634a44aec971895c (patch) | |
tree | 73ca008e7917c8a34886e44a0aa2281cd490450b /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | |
parent | drm/amd/display: Fix when disabling secure_display (diff) | |
download | wireguard-linux-1b5d0e7e15430aecbf2bb0ac634a44aec971895c.tar.xz wireguard-linux-1b5d0e7e15430aecbf2bb0ac634a44aec971895c.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: Jun Lei <Jun.Lei@amd.com>
Acked-by: Jasdeep Dhillon <jdhillon@amd.com>
Signed-off-by: Ilya Bakoulin <Ilya.Bakoulin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c')
0 files changed, 0 insertions, 0 deletions