drm/i915: Use cmpxchg64 for 32b compatilibity
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 11 Dec 2020 11:03:10 +0000 (11:03 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 23 Dec 2020 10:07:41 +0000 (10:07 +0000)
commit5e9635085737a7d7d035c9199dce74c1b2726b61
tree55c91e19ac134c81ba07cdeea166b1b37e7ee638
parentd484bd0ddf0b3e13e60dace6d02d705384d4411b
drm/i915: Use cmpxchg64 for 32b compatilibity

By using the double wide cmpxchg64 on 32bit, we can use the same
algorithm on both 32/64b systems.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201211110310.22740-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_active.c