From: Gerd Hoffmann <kraxel@redhat.com>
To: dri-devel@lists.freedesktop.org
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
sam@ravnborg.org, Gerd Hoffmann <kraxel@redhat.com>
Subject: [PATCH 0/4] drm: fix cirrus build failure on powerpc
Date: Tue, 9 Apr 2019 13:59:09 +0200 [thread overview]
Message-ID: <20190409115913.3468-1-kraxel@redhat.com> (raw)
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
next reply other threads:[~2019-04-09 11:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-09 11:59 Gerd Hoffmann [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190409115913.3468-1-kraxel@redhat.com \
--to=kraxel@redhat.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=sam@ravnborg.org \
--cc=sfr@canb.auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox