git: drm: Fix atomic_add_unless()

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sat Oct 31 02:22:23 PDT 2015


commit f06b35bad17aecf317fc479c2289d2227795fe47
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Sat Oct 31 09:51:57 2015 +0100

    drm: Fix atomic_add_unless()
    
    * atomic_cmpset_int() doesn't return the same kind of results as the
      Linux atomic_cmpxchg() function
    
    * this code was semi-randomly breaking HDMI detection on Radeon hardware
    
    Author: Yellow Rabbit

Summary of changes:
 sys/dev/drm/include/linux/atomic.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list