mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
drm/rockchip: vop2: no need to double attach cluster win share_id_prop
Cluster win only need to attach share_id_prop as ordinary win, just like
esmart parent win.
Fixes: 48c83387b1 ("drm/rockchip: vop2: Add unique share id for Cluster window")
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I45a7486c73ca75a04baba6eb1ac4bda3daab3caa
This commit is contained in:
committed by
Huang Jiachai
parent
709a9da20e
commit
b5903b409d
@@ -12738,9 +12738,6 @@ static int vop2_plane_init(struct vop2 *vop2, struct vop2_win *win, unsigned lon
|
||||
|
||||
drm_object_attach_property(&win->base.base, private->async_commit_prop, 0);
|
||||
|
||||
if (win->feature & (WIN_FEATURE_CLUSTER_SUB | WIN_FEATURE_CLUSTER_MAIN))
|
||||
drm_object_attach_property(&win->base.base, private->share_id_prop, win->plane_id);
|
||||
|
||||
if (win->parent)
|
||||
drm_object_attach_property(&win->base.base, private->share_id_prop,
|
||||
win->parent->base.base.id);
|
||||
|
||||
Reference in New Issue
Block a user