diff options
| author | Thomas Huth <[email protected]> | 2024-07-02 14:17:37 +0200 | 
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2024-07-08 16:28:00 +0200 | 
| commit | cb31c58e8c294ff31ea842ee1fa2c06c9a9f1cc3 (patch) | |
| tree | ce2f7a1a5cead014e7c404982863e2ff1a4ca7d1 /drivers/pci/controller/dwc/pci-imx6.c | |
| parent | afeea2758b4f1210361ce2a91d8fa3e7df606ad2 (diff) | |
drm/fbdev-dma: Fix framebuffer mode for big endian devices
The drm_mode_legacy_fb_format() function only generates formats suitable
for little endian devices. switch to drm_driver_legacy_fb_format() here
instead to take the device endianness into consideration, too.
Suggested-by: Thomas Zimmermann <[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
Reviewed-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Signed-off-by: Thomas Zimmermann <[email protected]>
Fixes: 6ae2ff23aa43 ("drm/client: Convert drm_client_buffer_addfb() to drm_mode_addfb2()")
Cc: Geert Uytterhoeven <[email protected]>
Cc: Javier Martinez Canillas <[email protected]>
Cc: Hamza Mahfooz <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: <[email protected]> # v6.7+
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/pci/controller/dwc/pci-imx6.c')
0 files changed, 0 insertions, 0 deletions