[PATCH] drm/amdgpu: Repeat assignment to max_slave_planes
Alex Deucher
alexdeucher at gmail.com
Thu Jan 14 17:41:28 UTC 2021
On Thu, Jan 14, 2021 at 4:29 AM ZhiJie.Zhang <zhangzhijie at loongson.cn> wrote:
>
> Signed-off-by: ZhiJie.Zhang <zhangzhijie at loongson.cn>
Applied. Thanks!
Alex
> ---
> drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c
> index 3f63822b8e28..9a86d43a6233 100644
> --- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c
> +++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c
> @@ -1272,7 +1272,6 @@ static bool underlay_create(struct dc_context *ctx, struct resource_pool *pool)
>
> /* update the public caps to indicate an underlay is available */
> ctx->dc->caps.max_slave_planes = 1;
> - ctx->dc->caps.max_slave_planes = 1;
>
> return true;
> }
> --
> 2.29.2
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
More information about the amd-gfx
mailing list