diff options
| author | Ville Syrjälä <[email protected]> | 2018-11-05 19:46:04 +0000 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2018-11-06 13:17:26 +0000 |
| commit | f45a7977d1140c11f334e01a9f77177ed68e3bfa (patch) | |
| tree | 8239614249620176fd93f79e8a5cc56e5056a1b2 /drivers/gpu/drm/i915/intel_ringbuffer.c | |
| parent | drm/i915: Break long iterations for get/put shmemfs pages (diff) | |
| download | kernel-f45a7977d1140c11f334e01a9f77177ed68e3bfa.tar.gz kernel-f45a7977d1140c11f334e01a9f77177ed68e3bfa.zip | |
drm/i915: Don't oops during modeset shutdown after lpe audio deinit
We deinit the lpe audio device before we call
drm_atomic_helper_shutdown(), which means the platform device
may already be gone when it comes time to shut down the crtc.
As we don't know when the last reference to the platform
device gets dropped by the audio driver we can't assume that
the device and its data are still around when turning off the
crtc. Mark the platform device as gone as soon as we do the
audio deinit.
Cc: [email protected]
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions
