Skip to content

Commit 42ff33e

Browse files
Aurabindo Pillaialexdeucher
authored andcommitted
drm/amd/display: Revert "Fallback to SW cursor if SubVP + cursor too big"
This reverts commit a4f1b04 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]>
1 parent 86875d5 commit 42ff33e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/gpu/drm/amd/display/dc/core/dc_stream.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -328,11 +328,6 @@ bool dc_stream_set_cursor_attributes(
328328
}
329329

330330
dc = stream->ctx->dc;
331-
332-
if (attributes->height * attributes->width * 4 > 16384)
333-
if (stream->mall_stream_config.type == SUBVP_MAIN)
334-
return false;
335-
336331
stream->cursor_attributes = *attributes;
337332

338333
dc_z10_restore(dc);

0 commit comments

Comments
 (0)