summaryrefslogtreecommitdiffstats
path: root/package/qt5/qt5script/qt5script.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-03-22 22:29:00 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-03-26 18:54:21 +0100
commit60a8c5c7894ae034ace50f5f5f231f7bdbe0e203 (patch)
tree1b77dffd13cffbb35693f67e8a71bfddb9f19211 /package/qt5/qt5script/qt5script.mk
parent3c955d784bfbcd632be4ca2065875bd9da847822 (diff)
downloadbuildroot-60a8c5c7894ae034ace50f5f5f231f7bdbe0e203.tar.gz
buildroot-60a8c5c7894ae034ace50f5f5f231f7bdbe0e203.zip
libdrm: adjust the ARM patch to work on ARMv4/ARMv5
The ARM patch that was added in commit 94841d87fd2ff8ebf7af84d49e5095074958febf ("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 7bac31ceea1b52986b1773a1bd4841110672f923 ("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>
Diffstat (limited to 'package/qt5/qt5script/qt5script.mk')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud