drm: crc: Call wake_up_interruptible() each time there is a new CRC entry
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Fri, 6 Jan 2017 09:15:03 +0000 (10:15 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 6 Jan 2017 14:23:19 +0000 (15:23 +0100)
commit9f547425fd9fbcb42b177ec7eec46bd4d7d4ae45
tree193e693cf5270f0de3328b3bb17d762832598fab
parent62a0d98a188cc4ebd8ea54b37d274ec20465e464
drm: crc: Call wake_up_interruptible() each time there is a new CRC entry

Each time new data has being added in CRC list inform reader by calling
wake_up_interruptible().
This should avoid to do it in all drivers.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1483694104-25627-1-git-send-email-benjamin.gaignard@linaro.org
drivers/gpu/drm/drm_debugfs_crc.c