diff options
author | Javier Martinez Canillas <javierm@redhat.com> | 2022-02-14 14:37:05 +0100 |
---|---|---|
committer | Javier Martinez Canillas <javierm@redhat.com> | 2022-02-16 13:29:03 +0100 |
commit | 4a564e59bfb7732ec168f66ee77bf1eb81ff9319 (patch) | |
tree | 863a4224d776f2cd7504021098358258f06ec803 /fs | |
parent | b3d9f59f69289569133730e1be019adcd9e06611 (diff) | |
download | linux-4a564e59bfb7732ec168f66ee77bf1eb81ff9319.tar.bz2 |
drm/format-helper: Add drm_fb_xrgb8888_to_gray8_line()
Pull the per-line conversion logic into a separate helper function.
This will allow to do line-by-line conversion in other helpers that
convert to a gray8 format.
Suggested-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220214133710.3278506-2-javierm@redhat.com
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions