drm: Warn when leaking flip events on close
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 6 Aug 2014 11:02:50 +0000 (14:02 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 6 Aug 2014 12:51:40 +0000 (14:51 +0200)
commitddde43711fdde505ac413102faa2352704cd858a
tree45a861f802ad84d6e616f9213e7c0a98366b3af8
parenteaf99c749d43ae74ac7ffece5512f3c73f01dfd2
drm: Warn when leaking flip events on close

Warn when there are events on the file_priv->event_list just before
file_priv gets freed. This can occur if the driver doesn't clean up
pending page flip events in ->preclose().

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/drm_fops.c