mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
27 lines
829 B
Diff
27 lines
829 B
Diff
From bea6640cf697b0ed3aa501cbf433366025f3522a Mon Sep 17 00:00:00 2001
|
|
From: hzy <hzyitc@outlook.com>
|
|
Date: Sat, 18 Nov 2023 01:22:03 +0800
|
|
Subject: [PATCH 2/3] meson8/meson8b/meson8m2: drm: Forcefully enable XRGB format
|
|
|
|
Signed-off-by: hzy <hzyitc@outlook.com>
|
|
---
|
|
drivers/gpu/drm/meson/meson_plane.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/drivers/gpu/drm/meson/meson_plane.c b/drivers/gpu/drm/meson/meson_plane.c
|
|
index 27e39577..027b2fe7 100644
|
|
--- a/drivers/gpu/drm/meson/meson_plane.c
|
|
+++ b/drivers/gpu/drm/meson/meson_plane.c
|
|
@@ -483,6 +483,8 @@ static const struct drm_plane_funcs meson_plane_funcs = {
|
|
static const uint32_t supported_drm_formats_m8[] = {
|
|
DRM_FORMAT_ARGB8888,
|
|
DRM_FORMAT_ABGR8888,
|
|
+ DRM_FORMAT_XRGB8888,
|
|
+ DRM_FORMAT_XBGR8888,
|
|
DRM_FORMAT_RGB888,
|
|
DRM_FORMAT_RGB565,
|
|
};
|
|
--
|
|
2.34.1
|
|
|