diff options
author | Guido Günther <agx@sigxcpu.org> | 2021-10-11 15:41:27 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2021-10-12 11:18:17 +0200 |
commit | 1db060509903b29d63fe2e39c14fd0f99c4a447e (patch) | |
tree | 9057509191c94a0da61d42d8d03da54d5ee379fc /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | e2e0ee7e2c2b062e27ca0dd597793a56a5761865 (diff) |
drm: mxsfb: Set fallback bus format when the bridge doesn't provide one
If a bridge doesn't do any bus format handling MEDIA_BUS_FMT_FIXED is
returned. Fallback to a reasonable default (MEDIA_BUS_FMT_RGB888_1X24) in
that case.
This unbreaks e.g. using mxsfb with the nwl bridge and mipi dsi panels.
Reported-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Stefan Agner <stefan@agner.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/781f0352052cc50c823c199ef5f53c84902d0580.1633959458.git.agx@sigxcpu.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions