]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Check that hw cursor is not required when falling back to subvp...
authorPeterson <peterson.guo@amd.com>
Thu, 21 Nov 2024 20:21:23 +0000 (15:21 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Dec 2024 15:26:49 +0000 (10:26 -0500)
commitbaf6645387ccff1aff9b7bb52aa2e582e8ce7332
tree0956e5c033f88ccfa33cfc8fea8ffa5f258853d9
parent8488646966fe59ae9fca79af47895ff40adeb7ee
drm/amd/display: Check that hw cursor is not required when falling back to subvp sw cursor

[WHY]
When using a sw cursor and flip immediate, the plane that is flipping
immediately will do partial updates causing tearing.
When on certain displays, subvp is expected based on
timings but should be disabled in specific use cases that are not
accounted for.

[HOW]
This was fixed by improving the timings check by using the hw cursor
required flag to cover the unaccounted use cases.

Reviewed-by: Austin Zheng <austin.zheng@amd.com>
Signed-off-by: Peterson <peterson.guo@amd.com>
Signed-off-by: Fangzhi Zuo <jerry.zuo@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/core/dc.c