drm/amd/display: Do Not Fallback To SW Cursor If HW Cursor Required
authorAustin Zheng <Austin.Zheng@amd.com>
Fri, 18 Oct 2024 18:55:21 +0000 (14:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Nov 2024 16:33:32 +0000 (11:33 -0500)
commitd29bd94c4fc9f10e043a5a207c902b4261cb7fd7
treeb646904a9f730e7836e88f585cf00bb81860aad4
parentb95264cf75bd8840b10733c50678d154c02b5431
drm/amd/display: Do Not Fallback To SW Cursor If HW Cursor Required

[Why/How]
Tearing can occur if there is a flip immediate plane and SW cursor.
check_subvp_sw_cursor_fallback_req falls back to SW cursor if the
stream has the potential to use subVP.
Check for fallback not needed if HW cursor is required.
e.g. Fullscreen gaming

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Austin Zheng <Austin.Zheng@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@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_stream.c