diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2022-09-05 17:16:48 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2022-09-12 10:15:49 +0300 |
commit | 4a85b0b51e211fba03c081e1e47f8871e4b3088f (patch) | |
tree | 8ec874f553d839f2aef97a910124949de95eaf3e /mm/page_reporting.c | |
parent | 385d1bba890f9b94322ca7fdfa778311f1ea0813 (diff) | |
download | linux-4a85b0b51e211fba03c081e1e47f8871e4b3088f.tar.xz |
drm/format-helper: Add drm_fb_build_fourcc_list() helper
Add drm_fb_build_fourcc_list() function that builds a list of supported
formats from native and emulated ones. Helpful for all drivers that do
format conversion as part of their plane updates. Update current caller.
v3:
* improve warnings on ignored formats (Sam)
v2:
* use u32 instead of uint32_t (Sam)
* print a warning if output array is too small (Sam)
* comment fixes (Sam)
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220905141648.22013-5-tzimmermann@suse.de
Diffstat (limited to 'mm/page_reporting.c')
0 files changed, 0 insertions, 0 deletions