git: drm/drm_fops.c: Sync drm_dequeue_event() and drm_read() to Linux-3.17

Imre Vadasz ivadasz at crater.dragonflybsd.org
Wed Oct 7 14:24:07 PDT 2015


commit b1f236a9ecb8550dd2666b686d6b8d541bb7f409
Author: Imre Vadász <imre at vdsz.com>
Date:   Wed Oct 7 21:34:29 2015 +0200

    drm/drm_fops.c: Sync drm_dequeue_event() and drm_read() to Linux-3.17
    
    This cleans up some event_lock usage differences between code in drm_irq.c
    and drm_fops.c.
    
    This fixes/replaces the broken locking in drm_read() since
    20c04ff7518d03d534531abe74195e7e7a26a64e, which didn't release event_lock
    in all cases.

Summary of changes:
 sys/dev/drm/drm_fops.c | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b1f236a9ecb8550dd2666b686d6b8d541bb7f409


-- 
DragonFly BSD source repository



More information about the Commits mailing list