Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions drivers/gpu/drm/drm_atomic_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#include <drm/drm_gem_atomic_helper.h>
#include <drm/drm_panic.h>
#include <drm/drm_print.h>
#include <drm/drm_probe_helper.h>
#include <drm/drm_self_refresh_helper.h>
#include <drm/drm_vblank.h>
#include <drm/drm_writeback.h>
Expand Down Expand Up @@ -3656,6 +3657,8 @@ EXPORT_SYMBOL(drm_atomic_helper_reset_crtc);
*
* This is just a convenience wrapper around drm_atomic_helper_disable_all(),
* and it is the atomic version of drm_helper_force_disable_all().
*
* This also tears down output polling and HPD via drm_kms_helper_poll_fini().
*/
void drm_atomic_helper_shutdown(struct drm_device *dev)
{
Expand All @@ -3665,6 +3668,8 @@ void drm_atomic_helper_shutdown(struct drm_device *dev)
if (dev == NULL)
return;

drm_kms_helper_poll_fini(dev);

DRM_MODESET_LOCK_ALL_BEGIN(dev, ctx, 0, ret);

ret = drm_atomic_helper_disable_all(dev, &ctx);
Expand Down