]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: fix dml ms order of operations
authorAusef Yousof <Ausef.Yousof@amd.com>
Tue, 2 Sep 2025 16:10:18 +0000 (12:10 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 15 Sep 2025 21:00:51 +0000 (17:00 -0400)
commit02a6c2e4b28ff31f7a904c196a99fb2efe81e2cf
tree42c9ccef147ec7af7e8d6dc5dfce0618b5232c49
parent29591e6fd422c154ef14abbffe02c29644149a35
drm/amd/display: fix dml ms order of operations

[why&how]
small error in order of operations in immediateflipbytes
calculation on dml ms side that can result in dml ms
and mp mismatch immediateflip support for a given pipe
and thus an invalid hw state, correct the order to align
with mp.

Reviewed-by: Leo Chen <leo.chen@amd.com>
Signed-off-by: Ausef Yousof <Ausef.Yousof@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c