search for: convert_lines_toio

Displaying 1 result from an estimated 1 matches for "convert_lines_toio".

2019 Apr 09
0
[PATCH 4/4] drm: add convert_lines_toio() variant, fix cirrus builds on powerpc.
The __io_virt() macro is not available on all architectures, so cirrus can't simply pass a pointer to io memory down to the format conversion helpers. The format conversion helpers must use memcpy_toio() instead. Add a convert_lines_toio() variant which does just that. Switch the drm_fb_*_dstclip() functions used by cirrus to accept a __iomem pointer as destination and pass that down to convert_lines_toio(). Fix the calls in the cirrus driver to not use __io_virt() any more. Signed-off-by: Gerd Hoffmann <kraxel at redhat.com&...