search for: nouveau_display_shutdown

Displaying 2 results from an estimated 2 matches for "nouveau_display_shutdown".

2023 Sep 22
1
[RFT PATCH v2 04/12] drm/nouveau: Call drm_atomic_helper_shutdown() or equiv at shutdown time
...c3688ccb76 100644 > --- a/drivers/gpu/drm/nouveau/nouveau_display.c > +++ b/drivers/gpu/drm/nouveau/nouveau_display.c > @@ -642,6 +642,15 @@ nouveau_display_fini(struct drm_device *dev, bool suspend, bool runtime) > disp->fini(dev, runtime, suspend); > } > > +void > +nouveau_display_shutdown(struct drm_device *dev) > +{ > + if (drm_drv_uses_atomic_modeset(dev)) > + drm_atomic_helper_shutdown(dev); > + else > + drm_helper_force_disable_all(dev); > +} > + > static void > nouveau_display_create_properties(struct drm_device *dev) > { > diff --git a/dri...
2023 Sep 21
1
[RFT PATCH v2 00/12] drm: call drm_atomic_helper_shutdown() at the right times
This patch series came about after a _long_ discussion between me and Maxime Ripard in response to a different patch I sent out [1]. As part of that discussion, we realized that it would be good if DRM drivers consistently called drm_atomic_helper_shutdown() properly at shutdown and driver remove time as it's documented that they should do. The eventual goal of this would be to enable removing