diff options
| author | Geert Uytterhoeven <[email protected]> | 2023-05-23 15:31:35 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2023-05-24 12:00:47 +0000 |
| commit | 5afe82398ffe5eac5678e74ed2bc24fc95edc2b5 (patch) | |
| tree | 596708d2cabcfd7e7155435e450fc4c65597bf79 /drivers/fpga/microchip-spi.c | |
| parent | drm: shmobile: Add support for DRM_FORMAT_XRGB8888 (diff) | |
| download | kernel-5afe82398ffe5eac5678e74ed2bc24fc95edc2b5.tar.gz kernel-5afe82398ffe5eac5678e74ed2bc24fc95edc2b5.zip | |
drm: shmobile: Switch to drm_crtc_init_with_planes()
The SH-Mobile DRM driver uses the legacy drm_crtc_init(), which
advertizes only the formats in safe_modeset_formats[] (XR24 and AR24) as
being supported.
Switch to drm_crtc_init_with_planes(), and advertize all supported
(A)RGB modes, so we can use RGB565 as the default mode for the console.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Thomas Zimmermann <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/2098de3d33bc479a8569da7dcbafdb685ff0a13a.1684854992.git.geert+renesas@glider.be
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions
