dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] drm: fix cirrus build failure on powerpc
@ 2019-04-09 11:59 Gerd Hoffmann
  2019-04-09 11:59 ` [PATCH 1/4] drm: add generic convert_lines() function for format conversions Gerd Hoffmann
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Gerd Hoffmann @ 2019-04-09 11:59 UTC (permalink / raw)
  To: dri-devel; +Cc: Stephen Rothwell, sam, Gerd Hoffmann

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2019-04-09 19:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-09 11:59 [PATCH 0/4] drm: fix cirrus build failure on powerpc Gerd Hoffmann
2019-04-09 11:59 ` [PATCH 1/4] drm: add generic convert_lines() function for format conversions Gerd Hoffmann
2019-04-09 11:59 ` [PATCH 2/4] drm: use convert_lines() in xrgb8888_to_rgb565 helpers Gerd Hoffmann
2019-04-09 19:40   ` Noralf Trønnes
2019-04-09 11:59 ` [PATCH 3/4] " Gerd Hoffmann
2019-04-09 11:59 ` [PATCH 4/4] drm: add convert_lines_toio() variant, fix cirrus builds on powerpc Gerd Hoffmann

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