drm/intel
Eric Engestrom 3ff3d59ed9 atomic: fix atomic_add_unless() fallback's return value
According to the kernel documentation:
  Returns non-zero if @v was not @u, and zero otherwise.

Fixes: 63fc571863 ("atomic: add atomic_add_unless()")
Closes: https://gitlab.freedesktop.org/mesa/drm/issues/17
Signed-off-by: David Shao <davshao@gmail.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>

[Eric: fix its callers to maintain current behaviour]
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
2022-08-23 22:49:34 +00:00
..
tests intel: properly escape sed pattern for tests 2020-04-27 15:53:58 +00:00
.gitignore intel: Add a regression test program for intel_decode.c. 2012-01-04 14:49:44 -08:00
Android.mk Revert "libdrm: intel/Android.mk: Filter libdrm_intel library requirements on x86/x86_64" 2018-03-28 17:08:32 +01:00
Makefile.sources intel: include i915_pciids.h in the tarball 2018-10-04 15:22:30 +01:00
i915_pciids.h lib: sync i915_pciids.h with kernel 2022-08-03 22:48:27 +00:00
intel-symbols.txt intel: convert to new symbols check 2019-11-11 22:57:14 +00:00
intel_aub.h intel/aub: Sync the AUB defines with mesa's 2013-06-10 17:51:17 +01:00
intel_bufmgr.c intel: annotate public functions 2018-09-19 22:46:44 -07:00
intel_bufmgr.h intel: Export a function to re-enable implicit synchronisation 2017-01-27 20:25:04 +00:00
intel_bufmgr_fake.c intel: add missing drm_public exports 2018-09-20 18:23:19 +01:00
intel_bufmgr_gem.c atomic: fix atomic_add_unless() fallback's return value 2022-08-23 22:49:34 +00:00
intel_bufmgr_priv.h fix various typos 2019-04-17 18:23:25 +01:00
intel_chipset.c intel: Add support for RPLP 2022-04-21 23:04:33 +05:30
intel_chipset.h intel: add the TGL 12 PCI IDs and macros 2019-07-29 17:00:08 -07:00
intel_debug.h intel: shared header for shader debugging 2011-08-01 14:44:58 -07:00
intel_decode.c intel: Do not assert on unknown chips in drm_intel_decode_context_alloc 2021-09-24 12:55:02 +00:00
libdrm_intel.pc.in intel: Update package name and description in libdrm_intel.pc 2013-08-30 12:10:50 -04:00
meson.build meson: use the modern interface for pkg.generate 2022-01-20 10:20:40 -08:00
mm.c meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
mm.h fix various typos 2019-04-17 18:23:25 +01:00
test_decode.c meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
uthash.h intel: Migrate handle/name lookups from linear lists to hashtables 2016-10-22 09:32:54 +01:00