diff options
author | Jani Nikula <jani.nikula@intel.com> | 2016-04-13 16:00:36 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-04-13 16:00:36 +0300 |
commit | 165ef8f5bc84f51c22d9156b7b9b039e9a61506f (patch) | |
tree | 28101c10c5248767a57284ba628106ac6aaf12a7 | |
parent | b50b7c1b904f172339a9056f518eedccbf3ad2e0 (diff) | |
parent | f35034f8ac72925591ae96841fcbeebad1af1dc8 (diff) |
Merge remote-tracking branch 'origin/topic/drm-misc' into drm-intel-nightly
-rw-r--r-- | drivers/gpu/drm/drm_crtc.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 55ffde5a3a4a..f7fe9e153dec 100644 --- a/drivers/gpu/drm/drm_crtc.c +++ b/drivers/gpu/drm/drm_crtc.c @@ -5914,6 +5914,15 @@ void drm_mode_config_cleanup(struct drm_device *dev) drm_property_destroy(dev, property); } + list_for_each_entry_safe(plane, plt, &dev->mode_config.plane_list, + head) { + plane->funcs->destroy(plane); + } + + list_for_each_entry_safe(crtc, ct, &dev->mode_config.crtc_list, head) { + crtc->funcs->destroy(crtc); + } + list_for_each_entry_safe(blob, bt, &dev->mode_config.property_blob_list, head_global) { drm_property_unreference_blob(blob); @@ -5932,15 +5941,6 @@ void drm_mode_config_cleanup(struct drm_device *dev) drm_framebuffer_free(&fb->refcount); } - list_for_each_entry_safe(plane, plt, &dev->mode_config.plane_list, - head) { - plane->funcs->destroy(plane); - } - - list_for_each_entry_safe(crtc, ct, &dev->mode_config.crtc_list, head) { - crtc->funcs->destroy(crtc); - } - ida_destroy(&dev->mode_config.connector_ida); idr_destroy(&dev->mode_config.tile_idr); idr_destroy(&dev->mode_config.crtc_idr); |