linux_dsm_epyc7002/drivers/gpu/drm/sti
Daniel Vetter a2b50babc7 drm/sti: Use drm_atomic_helper_shutdown
drm_plane_helper_disable is a non-atomic drivers only function, and
will blow up (since no one passes the locking context it needs).

Atomic drivers which want to quiescent their hw on unload should
use drm_atomic_helper_shutdown() instead.

The sti cleanup code seems supremely confused:
- In the load error path it calls drm_mode_config_cleanup before it
  stops various kms services like poll worker or fbdev emulation.
  That's going to oops.
- The actual unload code doesn't even bother with the cleanup and just
  leaks.

Try to fix this while at it.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: Vincent Abriou <vincent.abriou@st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181004202446.22905-13-daniel.vetter@ffwll.ch
2018-10-05 18:04:09 +02:00
..
Kconfig drm/sti: Depend on OF rather than selecting it 2018-04-05 14:04:17 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
NOTES
sti_awg_utils.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_awg_utils.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_compositor.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_compositor.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_crtc.c gpu: drm: sti: fix spelling mistake: "initialze" -> "initialize" 2018-05-02 13:09:49 +02:00
sti_crtc.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_cursor.c drm/sti: Use drm_atomic_helper_shutdown 2018-10-05 18:04:09 +02:00
sti_cursor.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_drv.c drm/sti: Use drm_atomic_helper_shutdown 2018-10-05 18:04:09 +02:00
sti_drv.h drm/sti: Use drm_fb_cma_fbdev_init/fini() 2017-12-08 14:47:41 +01:00
sti_dvo.c drm: drop _mode_ from drm_mode_connector_attach_encoder 2018-07-13 18:40:27 +02:00
sti_gdp.c drm/sti: Use drm_atomic_helper_shutdown 2018-10-05 18:04:09 +02:00
sti_gdp.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hda.c drm/sti: do not remove the drm_bridge that was never added 2018-08-07 15:33:00 +02:00
sti_hdmi_tx3g4c28phy.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hdmi_tx3g4c28phy.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hdmi.c drm/sti: do not remove the drm_bridge that was never added 2018-08-07 15:33:00 +02:00
sti_hdmi.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hqvdp_lut.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hqvdp.c drm/sti: Use drm_atomic_helper_shutdown 2018-10-05 18:04:09 +02:00
sti_mixer.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_mixer.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_plane.c drm/sti: Stop consulting plane->fb 2018-03-29 19:14:21 +03:00
sti_plane.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_tvout.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_vid.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_vid.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_vtg.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_vtg.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00