drm/amdgpu: Repeat assignment to max_slave_planes

Signed-off-by: ZhiJie.Zhang <zhangzhijie@loongson.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
ZhiJie.Zhang 2021-01-14 15:47:55 +08:00 committed by Alex Deucher
parent ac492ec97c
commit 46aa2ff323
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}