diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index 91f58db5915f..76daaf6a0945 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c @@ -386,6 +386,12 @@ static int mtk_drm_kms_init(struct drm_device *drm) if (ret) goto put_mutex_dev; + /* + * Ensure internal panels are at the top of the connector list before + * crtc creation. + */ + drm_helper_move_panel_connectors_to_head(drm); + /* * We currently support two fixed data streams, each optional, * and each statically assigned to a crtc: