Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/3] libdrm: ARMv4/ARMv5 compatibility fixes
@ 2016-03-22 21:28 Thomas Petazzoni
  2016-03-22 21:28 ` [Buildroot] [PATCH 1/3] libdrm: reformat patch 0001 with Git Thomas Petazzoni
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2016-03-22 21:28 UTC (permalink / raw)
  To: buildroot

Hello,

What prompted me to do this small patch series is this pending patch
from Bernd: http://patchwork.ozlabs.org/patch/559218/. It really
annoyed me to have to propagate this dependency that DRI support is
not available on ARMv4/ARMv5.

So I investigated, and found out that it was caused by one of our
patches on libdrm, which introduces ARMv6+ instructions. Since the CAS
stuff in libdrm is only an optimization, we can safely really on the
slow path for ARMv4/ARMv5. The CAS path is not an optimization for
Vivante GPUs for some reason, but since Vivante GPUs are only found in
ARMv6+ based SoCs anyway, we don't really care.

Fixing this patch allows:

 (1) To revert a former patch done on the X.org server to take into
     account this ARMv6+ dependency.

 (2) Discard Bernd's patch

 (3) Avoid future patches needed to propagate this ARMv6+ dependency.

Best regards,

Thomas

Thomas Petazzoni (3):
  libdrm: reformat patch 0001 with Git
  libdrm: adjust the ARM patch to work on ARMv4/ARMv5
  Revert "package/x11r7/xserver_xorg-server: dri needs arm >= v6"

 .../0001-Add-ARM-support-into-xf86drm.h.patch      | 56 ++++++++++++++++++++++
 package/libdrm/0001-update-arm.patch               | 37 --------------
 .../xserver_xorg-server/xserver_xorg-server.mk     |  3 +-
 3 files changed, 57 insertions(+), 39 deletions(-)
 create mode 100644 package/libdrm/0001-Add-ARM-support-into-xf86drm.h.patch
 delete mode 100644 package/libdrm/0001-update-arm.patch

-- 
2.6.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-03-26 17:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-22 21:28 [Buildroot] [PATCH 0/3] libdrm: ARMv4/ARMv5 compatibility fixes Thomas Petazzoni
2016-03-22 21:28 ` [Buildroot] [PATCH 1/3] libdrm: reformat patch 0001 with Git Thomas Petazzoni
2016-03-22 21:29 ` [Buildroot] [PATCH 2/3] libdrm: adjust the ARM patch to work on ARMv4/ARMv5 Thomas Petazzoni
2016-03-22 21:29 ` [Buildroot] [PATCH 3/3] Revert "package/x11r7/xserver_xorg-server: dri needs arm >= v6" Thomas Petazzoni
2016-03-26 17:54 ` [Buildroot] [PATCH 0/3] libdrm: ARMv4/ARMv5 compatibility fixes Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox