Re: [PATCH] drm/ingenic: Add basic PM support

From: Paul Cercueil
Date: Sat Nov 28 2020 - 16:56:39 EST




Le sam. 28 nov. 2020 à 19:58, Sam Ravnborg <sam@xxxxxxxxxxxx> a écrit :
Hi Paul.

On Sat, Nov 28, 2020 at 05:16:06PM +0000, Paul Cercueil wrote:
Call drm_mode_config_helper_suspend() and
drm_mode_config_helper_resume() on suspend and resume, respectively.

This makes sure that the display stack is properly disabled when the
hardware is put to sleep.

Signed-off-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>

As discussed on irc, with resume fixed to return the result of the
drm_mode_config_helper_resume() call.

Reviewed-by: Sam Ravnborg <sam@xxxxxxxxxxxx>

Applied with the fix, thanks.

Cheers,
-Paul