Message ID | 1406138705-17334-12-git-send-email-shashank.sharma@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 81d9002..6babcc5 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -9144,6 +9144,7 @@ static void intel_crtc_destroy(struct drm_crtc *crtc) kfree(work); } + intel_clrmgr_exit(crtc->dev, intel_crtc->color_status); drm_crtc_cleanup(crtc); kfree(intel_crtc); diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c index 32aa6e9..44504b1 100644 --- a/drivers/gpu/drm/i915/intel_sprite.c +++ b/drivers/gpu/drm/i915/intel_sprite.c @@ -1119,6 +1119,7 @@ static void intel_destroy_plane(struct drm_plane *plane) { struct intel_plane *intel_plane = to_intel_plane(plane); intel_disable_plane(plane); + intel_clrmgr_exit(plane->dev, intel_plane->color_status); drm_plane_cleanup(plane); kfree(intel_plane); }