[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cb9f6d26-b169-1872-7d52-584d3f1daf62@tronnes.org>
Date: Wed, 10 Apr 2019 11:45:00 +0200
From: Noralf Trønnes <noralf@...nnes.org>
To: Gerd Hoffmann <kraxel@...hat.com>, dri-devel@...ts.freedesktop.org
Cc: David Airlie <airlied@...ux.ie>,
open list <linux-kernel@...r.kernel.org>,
"open list:DRM DRIVER FOR QEMU'S CIRRUS DEVICE"
<virtualization@...ts.linux-foundation.org>,
Maxime Ripard <maxime.ripard@...tlin.com>,
Dave Airlie <airlied@...hat.com>, Sean Paul <sean@...rly.run>
Subject: Re: [PATCH v2 3/3] drm: switch drm_fb_xrgb8888_to_rgb888_dstclip to
accept __iomem dst
Den 10.04.2019 08.38, skrev Gerd Hoffmann:
> Not all archs have the __io_virt() macro, so cirrus can't simply convert
> pointers that way. The drm format helpers have to use memcpy_toio()
> instead.
>
> This patch makes drm_fb_xrgb8888_to_rgb888_dstclip() accept a __iomem
> dst pointer and use memcpy_toio() instead of memcpy(). The helper
> function (drm_fb_xrgb8888_to_rgb888_line) has been changed to process a
> single scanline.
>
> Signed-off-by: Gerd Hoffmann <kraxel@...hat.com>
> ---
Reviewed-by: Noralf Trønnes <noralf@...nnes.org>
Powered by blists - more mailing lists