mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-13 18:06:21 +07:00
drm/mediatek: Move gce event property to mutex device node
According mtk hardware design, stream_done0 and stream_done1 are generated by mutex, so we move gce event property to mutex device mode. Signed-off-by: Bibby Hsieh <bibby.hsieh@mediatek.com> Signed-off-by: CK Hu <ck.hu@mediatek.com>
This commit is contained in:
parent
c12b59adf2
commit
60fa8c13ab
@ -836,7 +836,8 @@ int mtk_drm_crtc_create(struct drm_device *drm_dev,
|
|||||||
drm_crtc_index(&mtk_crtc->base));
|
drm_crtc_index(&mtk_crtc->base));
|
||||||
mtk_crtc->cmdq_client = NULL;
|
mtk_crtc->cmdq_client = NULL;
|
||||||
}
|
}
|
||||||
ret = of_property_read_u32_index(dev->of_node, "mediatek,gce-events",
|
ret = of_property_read_u32_index(priv->mutex_node,
|
||||||
|
"mediatek,gce-events",
|
||||||
drm_crtc_index(&mtk_crtc->base),
|
drm_crtc_index(&mtk_crtc->base),
|
||||||
&mtk_crtc->cmdq_event);
|
&mtk_crtc->cmdq_event);
|
||||||
if (ret)
|
if (ret)
|
||||||
|
Loading…
Reference in New Issue
Block a user