1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/imx/dcss
Douglas Anderson 89755ee1d5 drm/imx/dcss: Call drm_atomic_helper_shutdown() at shutdown time
Based on grepping through the source code this driver appears to be
missing a call to drm_atomic_helper_shutdown() at system shutdown
time. Among other things, this means that if a panel is in use that it
won't be cleanly powered off at system shutdown time.

The fact that we should call drm_atomic_helper_shutdown() in the case
of OS shutdown/restart comes straight out of the kernel doc "driver
instance overview" in drm_drv.c.

Suggested-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Tested-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Reviewed-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230921122641.RFT.v2.1.I134336fce7eac5a63bdac46d57b0888858fc8081@changeid
2023-09-25 15:52:18 -07:00
..
dcss-blkctl.c drm/imx: Add initial support for DCSS on iMX8MQ 2020-09-09 16:39:48 +02:00
dcss-crtc.c drm/atomic: Pass the full state to CRTC atomic begin and flush 2020-11-02 12:37:49 +01:00
dcss-ctxld.c drm/imx: Add initial support for DCSS on iMX8MQ 2020-09-09 16:39:48 +02:00
dcss-dev.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
dcss-dev.h drm: imx/dcss: Remove #ifdef guards for PM related functions 2022-12-12 13:07:01 +00:00
dcss-dpr.c drm/imx: Add initial support for DCSS on iMX8MQ 2020-09-09 16:39:48 +02:00
dcss-drv.c drm/imx/dcss: Call drm_atomic_helper_shutdown() at shutdown time 2023-09-25 15:52:18 -07:00
dcss-dtg.c drm/imx: Add initial support for DCSS on iMX8MQ 2020-09-09 16:39:48 +02:00
dcss-kms.c drm/imx/dcss: Call drm_atomic_helper_shutdown() at shutdown time 2023-09-25 15:52:18 -07:00
dcss-kms.h drm/imx/dcss: Call drm_atomic_helper_shutdown() at shutdown time 2023-09-25 15:52:18 -07:00
dcss-plane.c drm/gem: rename struct drm_gem_dma_object.{paddr => dma_addr} 2022-08-03 18:32:27 +02:00
dcss-scaler.c drm/imx/dcss: allow using nearest neighbor interpolation scaling 2020-11-26 11:29:44 +01:00
dcss-ss.c drm/imx: Add initial support for DCSS on iMX8MQ 2020-09-09 16:39:48 +02:00
Kconfig drm/gem: rename GEM CMA helpers to GEM DMA helpers 2022-08-03 18:31:49 +02:00
Makefile drm/imx: Add initial support for DCSS on iMX8MQ 2020-09-09 16:39:48 +02:00