diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-01-25 21:16:43 (GMT) |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-02-08 08:55:46 (GMT) |
commit | 681047b48601841c8380abd406301648c3590592 (patch) | |
tree | 83c1ea4dbf605a761511bf2e905a6f0d5ba65a3a /fs/stat.c | |
parent | 4020b220edb3419975c0d9322ee0e0c07e09f6bf (diff) | |
download | linux-681047b48601841c8380abd406301648c3590592.tar.xz |
drm: Clean up pending events in the core
There's really no reason to not do so, instead of replicating this
for every use-case and every driver. Now we can't just nuke the events,
since that would still mean that all drm_event users would need to know
when that has happened, since calling e.g. drm_send_event isn't allowed
any more. Instead just unlink them from the file, and detect this case
and handle it appropriately in all functions.
v2: Adjust existing kerneldoc too.
v3: Improve wording of the kerneldoc and split out vblank cleanup (Laurent).
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (v1)
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1453756616-28942-2-git-send-email-daniel.vetter@ffwll.ch
Diffstat (limited to 'fs/stat.c')
0 files changed, 0 insertions, 0 deletions