[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210114074755.45539-1-zhangzhijie@loongson.cn>
Date: Thu, 14 Jan 2021 15:47:55 +0800
From: "ZhiJie.Zhang" <zhangzhijie@...ngson.cn>
To: airlied@...ux.ie, daniel@...ll.ch, alexander.deucher@....com,
sunpeng.li@....com
Cc: amd-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] drm/amdgpu: Repeat assignment to max_slave_planes
Signed-off-by: ZhiJie.Zhang <zhangzhijie@...ngson.cn>
---
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
Powered by blists - more mailing lists