aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorYan Li <[email protected]>2025-05-21 20:02:55 +0000
committerAlex Deucher <[email protected]>2025-06-18 16:19:19 +0000
commitb02b0fc488ba6efc29884a517ab38c2efeaf9e34 (patch)
tree02b21ed33b49aa094ac9382353a008013a485276 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/amdkfd: Move the process suspend and resume out of full access (diff)
downloadkernel-b02b0fc488ba6efc29884a517ab38c2efeaf9e34.tar.gz
kernel-b02b0fc488ba6efc29884a517ab38c2efeaf9e34.zip
drm/amd/display: apply two different methods to validate modes
[Why] In DML2, the current method to determine a mode is supported involves checking the voltage levels sequentially from the lowest, until one is found that can support the mode. It causes cursor lag due to low performance. [How] We apply two methods for mode validation. 1) DC_VALIDATE_MODE_ONLY: only the maximum voltage level is checked to determine whether the mode is supported, which improves performance and eliminate cursor lag. 2) DC_VALIDATE_MODE_AND_STATE_INDEX: when the optimal voltage level is required, check the voltage level from the lowest until a suitable one is found found and returns its index. Reviewed-by: Nicholas Kazlauskas <[email protected]> Reviewed-by: Aric Cyr <[email protected]> Signed-off-by: Yan Li <[email protected]> Signed-off-by: Aurabindo Pillai <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions