diff options
| author | Thomas Zimmermann <[email protected]> | 2022-09-05 16:16:48 +0200 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2022-09-12 09:15:49 +0200 |
| commit | 4a85b0b51e211fba03c081e1e47f8871e4b3088f (patch) | |
| tree | 8ec874f553d839f2aef97a910124949de95eaf3e /drivers/gpu/drm/tiny/st7735r.c | |
| parent | 385d1bba890f9b94322ca7fdfa778311f1ea0813 (diff) | |
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 <[email protected]>
Reviewed-by: Sam Ravnborg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/tiny/st7735r.c')
0 files changed, 0 insertions, 0 deletions