Age | Commit message (Collapse) | Author | Files | Lines |
|
This reverts commit bc257662c0a10c7fe671ea67a90a11b8fc537e06.
Not anymore artik board with nexell soc is used, so remove nexell
api from libdrm also.
Change-Id: Ie32d6c81aa8fe6524c95672c29396374668426f3
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
Add option to use high pipe.
Change-Id: I028f305a5dac877bd4ec925ed11295ec4d319c1a
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
|
|
Disable unnecessary etnaviv features on Tizen.
Change-Id: I3b48fd87e871e87d2fefc49de1f1fd111c8ebffa
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
|
|
The meson option type has been modified, fix to fit option type.
Change-Id: Ic2169ed51094a1edd700784956b8cacf516dd3ba
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
|
|
Removed libkms from libdrm v2.4.111, remove libkms from spec file.
Change-Id: I61a588dea869a5c00769b130ba919070db49263a
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
|
|
Change the libdrm version to 2.4.114
Change-Id: I69636bc3057f36e316a0ebd7ff0be0c6cd78d3f4
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
|
|
To support freedreno in mesa, it is reuqired to build freedreno.
Add freedreno packages.
To remove build warning, add -fno-strict-aliasing to CFLAGS.
Change-Id: Ia52c06a2e5ad8260e2b6534d890f7ef51b2074d6
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
This patch imports the nexell api of the libdrm
Change-Id: If8009fc30f46edcf4fdcc04679523e590e165003
Signed-off-by: jino.cho <jino.cho@samsung.com>
nexell: Add meson build system
Change-Id: I58d2e2b7a2605f087bf78e340ba156b8b8399da7
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
packaging: enable nexell and add lib
Change-Id: I22b2e6324bf6b07f289bb7b33054b6f80dbee945
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
nexell: add explicit cast for gem size
The nexell gem alloc api has int parameter, so it should be casted
to uint64_t for kernel gem alloc interface.
Change-Id: Icc98b42645fd8ec234b99193304b5f91bcdd3389
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
tests: add nexell drm to default test modules
Add nexell drm to test modules for the artik devices.
Change-Id: I5f15f6bf28064ebc6ad178ba40ada0c6e666ad49
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
nexell: add gem buffer type
Add gem buffer type to sync with kernel header.
libtbm nexell backend refers to gem buffer type for cache control.
So this patch adds the buffer type to identify if cache operation
is required or not.
Change-Id: I7760a54496a1a9e7c2f17f0a77e640e346d9b455
Signed-off-by: Inki Dae <inki.dae@samsung.com>
nexell: fix to check return of drmIoctl()
Fix to check return value of drmIoctl().
Change-Id: I456184820278ee38ff1a7e5bba283acb8c2ea99f
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
nexell: fix signed/unsinged cast
The commit 4f6c18f11c68 ("nexell: add explicit cast for gem size")
introduced signed 32bit value into unsigned 64bit value and it can
cause wrong value conversion. Fix to cast signed 32bit value into
unsigned 32bit value first and then cast into unsigned 64bit value.
Change-Id: I9550b74987ddd981e905f3b5085d4abaede01c65
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
nexell: add drm_public macro for nexell drm api
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Conflicts:
meson.build
tests/util/kms.c
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
|
|
Change-Id: Ie67c19bdb4a6f9e2190dbb4d3f825e878fca3635
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
[sw0312.kim: remove direct config.h include]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
vigs: Add meson build system
Change-Id: I263e91fece8336c6f530b49402e9e839519a855c
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
packaging: Enable vigs
Change-Id: I06c54a9cca66f23aaad2c9142b0d6c839be8c8b2
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
libdrm_vigs: Fence support added
VIGS kernel driver now supports fences, so
update libdrm to expose them to user space
Change-Id: I9c07084a357c0a8dc87c049e01238f9049ca0828
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
libdrm_vigs: Scanout flag added to surfaces
Change-Id: Ib6f96d2542c3df0b78f7ef1b610bcc3fa0b678d6
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
libdrm_vigs: Support plane z-pos setting
Change-Id: I2e1418425f1b4a17f49f19fabb8c4a2bdc84e5ef
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
VIGS: Support DP memory
DP memory is used by some of the tizen
gstreamer plugins, TBM and X.Org video driver.
Its main purpose is to share GEM buffers between
media decoding and presentation layers
Change-Id: Ie377119b46d6033355bf6ce00adc01e36096742a
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
VIGS: Implement plane flip/rotate
Planes can now be horizontally/vertically flipped
and rotated by 90, 180 or 270 degrees
Change-Id: I3db7dc3854add2b777e41aed54039a0d2323e0b1
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
VIGS: add PRIME functions
Change-Id: I488c4529c1fb1f52aec9081cb6eb82c40d256dc3
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
VIGS: Add surface convert ioctl
Change-Id: Ic7fcb69be2a2fcc58363647278c0be62ac48766e
Signed-off-by: Vladislav Andresov <v.andresov@partner.samsung.com>
VIGS: fix always to check return of drmIoctl()
Fix to check return value of drmIoctl().
Change-Id: I0aae8953ebcb0b2b580638c1c730e2a4833df9f2
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
vigs: add drm_public macro to vigs api
For visibility, public api should have drm_public macro.
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Conflicts:
meson.build
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
|
|
Add drm_user_hander to handle vendor drm events like ipp events.
Note: From tizen, this is used from libtdm vendor layer.
Change-Id: I23149a08d9f9f66f9929d95dcfe6a96c1c897404
Signed-off-by: Boram Park <boram1288.park@samsung.com>
check if user_handler_list inited
Change-Id: I95abd7e8cc8d0485a7cc06dca54bfa46775eb8aa
Signed-off-by: Boram Park <boram1288.park@samsung.com>
[inki.dae: add omitted patch from tizen libdrm-2.4.75]
Signed-off-by: Inki Dae <inki.dae@samsung.com>
[sw0312.kim: squash user_handler patches]
Signed-off-by: Seung-Woo Kim <sw0312.kim>
|
|
Add kernel header defines for Exynos DRM IPPv2 API.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I1f0e8d957829b85808b5332c4e0e9bf4ddec65df
|
|
Change-Id: Ic2bbde341316924bc3c9bf3af8cd206c6f3f8f6b
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
drm: ipptest: support ipp dynamic color range
This patch supports dynamic range for color space conversion.
COLOR_RANGE_LIMITED: selects narrow -> Y(16 to 235), Cb/Cr(16 to 240)
COLOR_RANGE_FULL: selects wide -> Y/Cb/Cr(0 to 255), Wide default
Change-Id: I94190ac3f3630904d2461e226d34378ac2b82b9d
Signed-off-by: Donghwa Lee <dh09.lee@samsung.com>
libdrm/exynos: add support for IPP blending, dithering, and colorfill
This patch adds the fields for IPP bleding, dithering, and colorfill.
Change-Id: Ib9cd7c7b22ee9f1017d1db3ae34d39dea342ffec
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
ipptest: added M2M to screen on fimc_m2m_set_mode
This patch added for the function outputing the M2M to a screen.
So, you can check for Image Post processing dirver to screen.
Also you can select the degree about (0, 90, 180, 270).
I will briefly explain the process of the function:
- Memory(YUV422) ---> IPP ---> Memory(RGB888) ---> Screen
- Create four DMA memory.
- Draw the image of the YUV422 format on three DMA memories.
- Rotate the relevant image by using IPP driver.
- The rotated image is stored in one DMA memory as the RGB888 format.
- The one DMA memory output screen.
I referred to the modetest code.
Change-Id: I2bf5738d98a457ced274dc8237df8ef108153e61
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
exynos/drm: sync with v4.1.36 rebased tree for exynos_ipp_prop_list
There is a problem using the IPP_GET_RPOPERTY ioctl because the
structure exynos_ipp_prop_list is not synchronized. Synchronize with
exynos_ipp_prop_list structure of tizen kernel v4.1.36
Refer below commit of tizen kernel:
- Commit id: 60f8b78 (drm/exynos/gsc: Add rotation hardware limits of gscaler)
- https://review.tizen.org/git/?p=platform/kernel/linux-exynos.git;a=commit;h=60f8b78ad8b75c5c3a52f2ad66897da628153eec
Change-Id: Id1989f571c989afb2c73bd4d654f560c3be4067c
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
|
|
The commit d41b7a3a745a("exynos: Don't use DRM_EXYNOS_GEM_{MAP_OFFSET/
MMAP} ioctls") removed it same with the ioctl that this patch adds. The
reason that removed DRM_IOCTL_EXYNOS_GEM_MAP_OFFSET was we could use
DRM_IOCTL_MODE_MAP_DUMB. Both did exactly same thing.
Now exynos-drm driver of linux kernel revives it as DRM_EXYNOS_GEM_MAP
because of render node. DRM_IOCTL_MODE_MAP_DUMB isn't permitted in
render node, so this patch also supports DRM_IOCTL_EXYNOS_GEM_MAP.
Change-Id: Ib548dc8a6bea076375465f64ee2fdd658a90e435
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
exynos: fix build warnings
Fix build warnings to exynos_fimg2d module.
This patch fixes below two build warnings,
exynos_fimg2d.c: In function 'g2d_scale_and_blend':
exynos_fimg2d.c:978:3: warning: 'scale_y' may be used uninitialized in this function [-Wmaybe-uninitialized]
g2d_add_cmd(ctx, SRC_YSCALE_REG, scale_y);
^
exynos_fimg2d.c:977:3: warning: 'scale_x' may be used uninitialized in this function [-Wmaybe-uninitialized]
g2d_add_cmd(ctx, SRC_XSCALE_REG, scale_x);
Change-Id: I70908088c61b85570aec6e3ec19b405df4820d37
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Conflicts:
libkms/exynos.c
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
|
|
do not install libdrm_intel on ARM
added baselibs for multi lib supporta for intel drm
Fixed package groups
Fixed groups, dependencies and rpmlint warnings
resetting manifest requested domain to floor
Remove dependency on xorg-macros
libdrm didn't use any macros from xorg-macros, so remove it.
Change-Id: I37cda1f7bc48a2d0f98c9a319c78f8dca6b0f90c
Signed-off-by: Alex Wu <zhiwen.wu@linux.intel.com>
packaging: build using upstream tags
Change-Id: I1587634bfdd59172b7032cd968d0005261f1ad77
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
fixed arch check for libdrm-intel requires.
Currently we have invalid requires for libdrm-intel for non-arm and non-intel arches.
Change-Id: I19c90a272da284f63c6d862a2e67e94f110a2807
Signed-off-by: Andriy Prystupa <andriy.prystupa@globallogic.com>
packaging: add libdrm-tools
This patch adds libdrm-tools package which includes test utilities such
as modetest/modeprint.
Change-Id: Icc10b1c56625af7954823664156cfec8b7b57c3e
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
clean spec file
- allow build for yocto
- improve rpmlint score
Change-Id: I1d563567b30914925e67fd3aebf3a6cc5e65026a
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
packaging: depend on the same release
Change-Id: I02c7ff42eb688c6a6b03532966f2a16daad8910f
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
packaging: add tools-exynos for testing exynos_drm
This patch adds tools-exynos package to test exynos.
Change-Id: I8dbd821f056ac3f7e2a043a97d0c39bec7f75b40
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
remove manifest for security domain policy
Change-Id: I556117f4dca6c11e3477b3404244f5a8c17b1ede
Signed-off-by: Mun, Gwan-gyeong <kk.moon@samsung.com>
Add manifest for security domain policy
Change-Id: I18f14262475041b2f1e919923907f998a8f12d87
packaging: Clean up kmstest
There is no reason to remove kmstest from package.
Change-Id: I772c21ca005f7edb23bb832a2ae3f8b3259d7a08
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Update to 2.4.75
Change-Id: I54ef37f9be4c03a7502b2e0cc8b93e46efe87a8a
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
packaging: notice license of libdrm package
This patch copies license file to /usr/share/licenses/libdrm/.
The licenses of all packages should be noticed when released.
Change-Id: I0224046d19ff73b44ec825c2b2327836e55b44c2
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Update to 2.4.90 / Update to 2.4.97 / Update to 2.4.98 / Update to 2.4.100
Add drmdevice tool packaging.
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
add COPYING file
Add COPYING file with MIT license.
Change-Id: I5ce242bea2bdd74f8c58d30da82e987eeb9a5c55
Signed-off-by: Boram Park <boram1288.park@samsung.com>
[sw0312.kim: replaces xf86free license as proper MIT license copying]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
packaging: spec: Fix to meson build system
Change-Id: Ib1b454a96750600cdcd7c76dbb87f7bde48f54c6
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
package: Fix to enable intel api
Change-Id: I475f56afe71073174f867dc8d13d1d7121672481
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
[sw0312.kim: bump up to v2.4.109]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
Check return value of asprintf() to fix build warning about not
checked return.
Note: fix build warning in upstream.
Change-Id: Iae8da56e7f743aa249869c58f6557148f799bd4c
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
__u64 is always unsigned long long, so print with %llu instead
of PRIu64 for uint64_t.
Note: fix build warning in upstream.
Change-Id: Ic88578b626cb7e05fb5829955e0d10cb77b1be2b
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
Signed-off-by: Simon Ser <contact@emersion.fr>
|
|
Signed-off-by: Simon Ser <contact@emersion.fr>
|
|
Use the same size types as the kernel.
Signed-off-by: Simon Ser <contact@emersion.fr>
|
|
Signed-off-by: Simon Ser <contact@emersion.fr>
|
|
Up until now, DRM clients had to hand-roll their code to create,
destroy and map dumb buffers. This is slightly inconvenient,
a bit error-prone, and not easily discoverable.
Introduce wrappers for these operations, just like we have for
other KMS IOCTLs.
Signed-off-by: Simon Ser <contact@emersion.fr>
|
|
The compiler isn't smart enough to tell that this can't happen:
[30/74] Compiling C object amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_bo.c.o
In file included from ../amdgpu/amdgpu_internal.h:32,
from ../amdgpu/amdgpu_bo.c:39:
../xf86atomic.h: In function ‘amdgpu_find_bo_by_cpu_mapping’:
../xf86atomic.h:47:54: warning: ‘bo’ may be used uninitialized [-Wmaybe-uninitialized]
47 | # define atomic_inc(x) ((void) __sync_fetch_and_add (&(x)->atomic, 1))
| ^
../amdgpu/amdgpu_bo.c:536:27: note: ‘bo’ was declared here
536 | struct amdgpu_bo *bo;
| ^~
Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
|
|
Apparently quite a few apps use this API to get the GPU
name and end up with NULL as the GPU name.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
|
|
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
|
|
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
|
|
So the list is in numeric order.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
|
|
Use two digits for the revision id.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
|
|
This bit can be added to a DRM format to indicate that it's
big endian instead of little endian.
Signed-off-by: Simon Ser <contact@emersion.fr>
|
|
This makes the test utilities work with the i.MX LCDIFv3 driver
without the necessity of using the -M argument.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
|
|
Wire up the pciaccess dep to the intel option. This automatically
skips the dep if intel is explicitly disabled, fails if intel is
explicitly enabled and it's not found, and disables intel if it's
set to auto and the dep is not found.
Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
|
|
Fixes the following warning:
[65/74] Compiling C object intel/libdrm_intel.so.1.0.0.p/intel_bufmgr_gem.c.o
../intel/intel_bufmgr_gem.c: In function âdrm_intel_gem_bo_unreferenceâ:
../intel/intel_bufmgr_gem.c:1388:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
1388 | drm_intel_bufmgr_gem *bufmgr_gem =
| ^~~~~~~~~~~~~~~~~~~~
Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
|
|
Generated from the Linux v6.0-rc7 tag with a sha1 of
f76349cf41451c5c42a99f18a9163377e4b364ff.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
|
|
Generated from the Linux v6.0-rc7 tag with a sha1 of
f76349cf41451c5c42a99f18a9163377e4b364ff.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
|
|
It's not worth even attempting to configure anything on OSes where there
is no DRM to have a userspace library for.
This failure message can be useful in e.g. the case where libdrm is an
optional wrap fallback in another project.
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
|
|
Signed-off-by: Simon Ser <contact@emersion.fr>
|
|
Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
|
|
Same as drmGetFormatModifierName() but for formats.
Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
|
|
In commit 98794e2a0d ("lib: sync i915_pciids.h with kernel") we
resynchronized the PCI header with the kernel to bring in the
definitions for several new platforms. But before those IDs will be
recognized, we still need to hook them up in the libdrm chipset code as
well.
References: https://gitlab.freedesktop.org/drm/intel/-/issues/5416
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
|
|
There is a Vivante GC1000 gpu in LS2K1000 and LS7A1000.
LS7A1000 is a bridge chip made by Loongson corporation
which act as north and/or south bridge of loongson's
desktop and server level processor. It is equivalent
to RS780E or something like that. In fact, the company
use RS780E as bridge of LS3A3000 at its early stage,
but as RS780E is out of stock long long time ago, the
company have to made one by themself. More details can
be read from its user manual[1].
This bridge chip typically use with LS3A3000, LS3A4000
and LS3A5000.
LS3A3000 is 4 core 1.45gHz mips64r2 compatible cpu.
LS3A4000 is 4 core 1.8gHz mips64r5 compatible cpu.
LS3A5000 is 4 core 2.5gHz loongarch cpu, the company
acclaim that loongarch a new archtecture with its
instruction set is released[2].
LS2K1000 is a double core 1.0Ghz mips64r2 compatible SoC[3].
we need to enable it to test and developing driver on above
listed archtecture.
[1] https://loongson.github.io/LoongArch-Documentation/Loongson-7A1000-usermanual-EN.html
[2] https://loongson.github.io/LoongArch-Documentation/Loongson-3A5000-usermanual-EN.html
[3] https://wiki.debian.org/InstallingDebianOn/Lemote/Loongson2K1000
Signed-off-by: Sui Jingfeng <15330273260@189.cn>
[Eric: rebase over meson changes, add ARM & ARC architectures, and drop
"experimental" from the description]
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
|
|
../intel/test_decode.c: In function ‘compare_batch’:
../intel/test_decode.c:109:39: error: dereferencing type-punned pointer might break strict-aliasing rules [-Werror=strict-aliasing]
109 | out = open_memstream((char **)&ptr, &size);
| ^~~~
cc1: some warnings being treated as errors
The fix is simple: just declare `ptr` as a `char *` to begin with.
|
|
According to the kernel documentation:
Returns non-zero if @v was not @u, and zero otherwise.
Fixes: 63fc571863aa64683400 ("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>
|
|
The 3rd parameter is only used with the O_CREAT flag
Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
|
|
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Simon Ser <contact@emersion.fr>
|
|
Allows users to easily enable everything (eg. packagers), or select just
the drivers they want with something like:
-D auto-features=disabled -D amdgpu=enabled
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Simon Ser <contact@emersion.fr>
|
|
Noticed-by: Michel Daenzer <michel@daenzer.net>
|
|
You can't have an error if your driver is requested by you're missing
a dep, but then happily build that driver without the dep in `auto`.
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
|
|
Reviewed-by: Simon Ser <contact@emersion.fr>
|
|
|
|
Reviewed-by: Simon Ser <contact@emersion.fr>
|
|
Reviewed-by: Simon Ser <contact@emersion.fr>
|