]> git.baikalelectronics.ru Git - kernel.git/commit
drm: rcar-du: Shutdown the display on system shutdown
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 23 Mar 2021 00:09:53 +0000 (02:09 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 28 Jul 2021 13:33:06 +0000 (16:33 +0300)
commitcdad6d6170e0f02e9526804505a7a02a6d504669
tree91514aa6eefa5e27a1af11ec9978fb9f25d1efb1
parentdb4ecb0ad266fc12e47518557d54bb11a1b297ae
drm: rcar-du: Shutdown the display on system shutdown

When the system shuts down or warm reboots, the display may be active,
with the hardware accessing system memory. Upon reboot, the DDR will not
be accessible, which may cause issues.

Implement the platform_driver .shutdown() operation and shut down the
display to fix this.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_drv.c