[PATCH 04/27] drm/amd/display: Revert "Fallback to SW cursor if SubVP + cursor too big"
Aurabindo Pillai
aurabindo.pillai at amd.com
Wed Sep 7 17:39:00 UTC 2022
On 2022-09-07 13:32, Pavle Kotarac wrote:
> From: Aurabindo Pillai <aurabindo.pillai at amd.com>
>
> This reverts commit 8dbf225893cb07f98f8edc2d775b6a68fc1eab3b since
This commit doesnt exist on amd-staging-drm-next. Please fix the SHA
before merging.
> 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.
>
> Reviewed-by: Alvin Lee <Alvin.Lee2 at amd.com>
> Acked-by: Pavle Kotarac <Pavle.Kotarac at amd.com>
> Signed-off-by: Aurabindo Pillai <aurabindo.pillai at amd.com>
> ---
> drivers/gpu/drm/amd/display/dc/core/dc_stream.c | 5 -----
> 1 file changed, 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);
More information about the amd-gfx
mailing list