aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurabindo Pillai <[email protected]>2022-08-11 16:42:12 -0400
committerAlex Deucher <[email protected]>2022-09-13 14:32:59 -0400
commit615268d4935082ea64729fcc8a35af394ff90e7c (patch)
tree6c86830048d07c5c366d8dd08b4ea6107b45e580
parent4f76da231826190658d19ec8d89ea8cd46fdfb7d (diff)
drm/amd/display: Revert "Fallback to SW cursor if SubVP + cursor too big"
This reverts commit a4f1b04216023ff0f4cd89328b59ee6890248130 since returning false in case of SubVP results in no cursor being visible on desktop as there is no sw cursor fallback path on all platforms. Tested-by: Daniel Wheeler <[email protected]> Reviewed-by: Alvin Lee <[email protected]> Acked-by: Pavle Kotarac <[email protected]> Signed-off-by: Aurabindo Pillai <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc_stream.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_stream.c b/drivers/gpu/drm/amd/display/dc/core/dc_stream.c
index f62d50901d92..6752ca44e6e0 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_stream.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_stream.c
@@ -328,11 +328,6 @@ bool dc_stream_set_cursor_attributes(
}
dc = stream->ctx->dc;
-
- if (attributes->height * attributes->width * 4 > 16384)
- if (stream->mall_stream_config.type == SUBVP_MAIN)
- return false;
-
stream->cursor_attributes = *attributes;
dc_z10_restore(dc);