[PATCH v2 0/3] drm: fix cirrus build failure on powerpc
Gerd Hoffmann
kraxel at redhat.com
Wed Apr 10 06:38:12 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.
v2: drop the drm_format_convert abstraction, its overkill (Noralf Trønnes)
Gerd Hoffmann (3):
drm: switch drm_fb_memcpy_dstclip to accept __iomem dst
drm: switch drm_fb_xrgb8888_to_rgb565_dstclip to accept __iomem dst
drm: switch drm_fb_xrgb8888_to_rgb888_dstclip to accept __iomem dst
include/drm/drm_format_helper.h | 7 +-
drivers/gpu/drm/cirrus/cirrus.c | 6 +-
drivers/gpu/drm/drm_format_helper.c | 215 ++++++++++++++--------------
3 files changed, 114 insertions(+), 114 deletions(-)
--
2.18.1
More information about the dri-devel
mailing list