drm/crc-debugfs: Also sprinkle irqrestore over early exits
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Jun 2019 21:15:44 +0000 (23:15 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 7 Jun 2019 14:49:12 +0000 (16:49 +0200)
commitd99004d7201aa653658ff2390d6e516567c96ebc
treec4d12d2ded67fb3fde833a60a86ce84aab6791c4
parent382d8dfe8b1b4eb3b3f9f830ef52b58780290d32
drm/crc-debugfs: Also sprinkle irqrestore over early exits

I. was. blind.

Caught with vkms, which has some really slow crc computation function.

Fixes: 1882018a70e0 ("drm/crc-debugfs: User irqsafe spinlock in drm_crtc_add_crc_entry")
Cc: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: Emil Velikov <emil.velikov@collabora.com>
Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190606211544.5389-1-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_debugfs_crc.c