drm: add drm_fb_xrgb8888_to_rgb888_dstclip()
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 5 Apr 2019 09:52:18 +0000 (11:52 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 8 Apr 2019 04:59:27 +0000 (06:59 +0200)
commitec3de7a43e9cac8a2dc1fce069321cb9538f0b34
tree047e9c418f11e6e40e97c8c9396091d84361e8d4
parentbcc4442008aca0e1566b7367f51670143d1ea7bf
drm: add drm_fb_xrgb8888_to_rgb888_dstclip()

Simliar to drm_fb_xrgb8888_to_rgb565_dstclip() but converts to rgb888
instead of rgb565.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20190405095219.9231-5-kraxel@redhat.com
drivers/gpu/drm/drm_format_helper.c
include/drm/drm_format_helper.h