Messages in this thread | | | Date | Mon, 4 Jul 2022 13:44:52 +0200 | Subject | Re: [PATCH] drm/mediatek: ensure bridge disable happends before suspend | From | AngeloGioacchino Del Regno <> |
| |
Il 29/06/22 21:05, Hsin-Yi Wang ha scritto: > Make sure bridge_disable will be called before suspend by calling > drm_mode_config_helper_suspend() in .prepare callback. > > Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org> > Reviewed-by: CK Hu <ck.hu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> --- > The issue is found if suspend is called via VT2 in several MTK SoC (eg. > MT8173, MT8183, MT8186) chromebook boards with eDP bridge: > bridge disable is called through mtk-drm's suspend, and it needs to be > called before bridge pm runtime suspend. > So we move the hook to .prepare() and .complete(). > --- > drivers/gpu/drm/mediatek/mtk_drm_drv.c | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) >
| |