drm: Create drm_send_event helpers
Daniel Vetter authored
Use them in the core vblank code and exynos/vmwgfx drivers.

Note that the difference between wake_up_all and _interruptible in
vmwgfx doesn't matter since the only waiter is the core code in
drm_fops.c. And that is interruptible.

v2: Adjust existing kerneldoc too.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (v1)
Acked-by: default avatarDaniel Stone <daniels@collabora.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Thomas Hellstrom <thellstrom@vmware.com>
Cc: Inki Dae <inki.dae@samsung.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1452548477-15905-6-git-send-email-daniel.vetter@ffwll.ch

Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
[danvet: Squash in compile fixup, spotted by 0-day.]
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
fb740cf2
Name Last commit Last update
..
acpi Merge branch 'acpi-pci'
asm-generic treewide: Remove old email address
clocksource ARM: 8366/1: move Dual-Timer SP804 driver to drivers/clocksource
crypto Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
drm drm: Create drm_send_event helpers
dt-bindings Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
keys KEYS: Merge the type-specific data with the payload data
kvm KVM: arm/arm64: arch_timer: Preserve physical dist. active state on LR.active
linux Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
math-emu math-emu: fix floating-point to integer overflow detection
media [media] v4l2: add support for SDR transmitter
memory ddr: add LPDDR2 data from JESD209-2
misc cxl: Allow the kernel to trust that an image won't change on PERST.
net net: fix warnings in 'make htmldocs' by moving macro definition out of field declaration
pcmcia pcmcia/ds.h: introduce helper for pcmcia_driver module boilerplate
ras tracing: add trace event for memory-failure
rdma IB/mad: Require CM send method for everything except ClassPortInfo
rxrpc RxRPC: Handle VERSION Rx protocol packets
scsi Merge branch 'mkp-fixes' into fixes
soc Merge tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
sound ALSA: hda - Fix playback noise with 24/32 bit sample size on BXT
target target: Fix race for SCF_COMPARE_AND_WRITE_POST checking
trace Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
uapi drm/omap: remove unused plugin defines
video gpu: ipu-v3: drop unused dmfc field from client platform data
xen
Kbuild