Skip to content

Commit 5e7ef0b

Browse files
author
Laurent Pinchart
committed
drm: rcar-du: Shutdown the display on remove
When the device is unbound from the driver (the DU being a platform device, this occurs either when removing the DU module, or when unbinding the device manually through sysfs), the display may be active. Make sure it gets shut down. Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Kieran Bingham <[email protected]>
1 parent c29b6b0 commit 5e7ef0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/rcar-du/rcar_du_drv.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ static int rcar_du_remove(struct platform_device *pdev)
553553
struct drm_device *ddev = &rcdu->ddev;
554554

555555
drm_dev_unregister(ddev);
556+
drm_atomic_helper_shutdown(ddev);
556557

557558
drm_kms_helper_poll_fini(ddev);
558559

0 commit comments

Comments
 (0)