kumquat-buildroot/package/libdrm
Thomas Petazzoni 60a8c5c789 libdrm: adjust the ARM patch to work on ARMv4/ARMv5
The ARM patch that was added in commit
94841d87fd ("libdrm: fix support for
xserver with Vivante drivers") makes the assumption that ldrex/strex
is available on ARM. While this is true on ARMv6+, it is not true on
ARMv4/ARMv5. Due to this, we had to make follow-up commits like
7bac31ceea
("package/x11r7/xserver_xorg-server: dri needs arm >= v6") and more is
needed in the reverse dependencies to disable DRI usage on
ARMv4/ARMv5.

In fact, it turns out that the CAS code in libdrm is only an
optimization, and it will gracefully fall back to a system call based
lock/unlock mechanism.

So we simply change the patch to only provide the optimized CAS
implementation on ARMv6+. The original reason for this patch was to
fix Vivante drivers, and Vivante GPUs are only used in ARMv6+ cores,
so we should be fine (famous last words).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-03-26 18:54:21 +01:00
..
0001-Add-ARM-support-into-xf86drm.h.patch libdrm: adjust the ARM patch to work on ARMv4/ARMv5 2016-03-26 18:54:21 +01:00
0002-xf86drm.c-Include-limits.h-to-fix-build-error-on-Sol.patch
Config.in
libdrm.hash
libdrm.mk