]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/display: Fix HWSS v3 fast path determination
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 24 Feb 2026 21:49:46 +0000 (16:49 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Mar 2026 15:01:54 +0000 (11:01 -0400)
commitd3e79f333d90f6d3d268c3b073cf3afc0b019036
tree28e8920d56788ff3bed9fc36d63a02bc32c61745
parente6e2b956fc814de766d3480be7018297c41d3ce0
drm/amd/display: Fix HWSS v3 fast path determination

[WHY]
We're checking surface and stream updates after they've been applied to
their respective states within `update_planes_and_stream_state`.

Medium updates under the HWSS V3 fast path that are not supported or
tested are getting implicitly if they don't trigger a DML validation
and getting updated in place on the dc->current_state context.

[HOW]
Fix this issue by moving up the fast path determination check prior
to `update_planes_and_stream_state`. This is how the V2 path works
and how the V3 path used to work prior to the refactors in this area.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c