[PATCH 0/4] drm: fix cirrus build failure on powerpc

Gerd Hoffmann kraxel at redhat.com
Tue Apr 9 11:59:09 UTC 2019


Turned out to be a bit more difficuilt than just adding the "asm/io.h"
header files.  Not all architectures actually have a __io_virt() macro,
so cirrus can't depend on that.  The drm format helpers have to call
memcpy_toio instead.  So this little series add support for that.

Gerd Hoffmann (4):
  drm: add generic convert_lines() function for format conversions.
  drm: use convert_lines() in xrgb8888_to_rgb565 helpers.
  drm: use convert_lines() in xrgb8888_to_rgb565 helpers.
  drm: add convert_lines_toio() variant, fix cirrus builds on powerpc.

 include/drm/drm_format_helper.h     |   9 +-
 drivers/gpu/drm/cirrus/cirrus.c     |   6 +-
 drivers/gpu/drm/drm_format_helper.c | 329 +++++++++++++++++-----------
 3 files changed, 215 insertions(+), 129 deletions(-)

-- 
2.18.1



More information about the dri-devel mailing list