1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-15 04:42:02 +00:00
openmptcprouter/6.6/target/linux/bcm27xx/patches-6.6/0385-drm-panel-simple-hack-ignore-orientation.patch
Ycarus (Yannick Chabanois) 12de1d2995 Add RPI kernel 6.6 support
2024-04-05 20:55:33 +02:00

29 lines
1 KiB
Diff

From 1b2a7364e82f14295137dd64fdecb336c1a3ef7b Mon Sep 17 00:00:00 2001
From: Dom Cobley <popcornmix@gmail.com>
Date: Mon, 15 Aug 2022 19:42:38 +0100
Subject: [PATCH 0385/1002] drm/panel-simple: hack ignore orientation
downstream removal of orientation plus upstream adding of new function
---
drivers/gpu/drm/panel/panel-simple.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 8c50251767b3..91542547f737 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -431,9 +431,9 @@ static int panel_simple_get_timings(struct drm_panel *panel,
static enum drm_panel_orientation panel_simple_get_orientation(struct drm_panel *panel)
{
- struct panel_simple *p = to_panel_simple(panel);
+ //struct panel_simple *p = to_panel_simple(panel);
- return p->orientation;
+ return DRM_MODE_PANEL_ORIENTATION_UNKNOWN;
}
static const struct drm_panel_funcs panel_simple_funcs = {
--
2.44.0