1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Fix RPI5 support

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-11-17 17:31:36 +01:00
parent 57beb2ec60
commit 3743692973
1017 changed files with 232368 additions and 4124 deletions

View file

@ -0,0 +1,24 @@
From 7436b304e604b417c7134647ba7c1a8c8430d364 Mon Sep 17 00:00:00 2001
From: Dom Cobley <popcornmix@gmail.com>
Date: Mon, 15 Aug 2022 19:42:38 +0100
Subject: [PATCH] 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(-)
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -434,9 +434,9 @@ static int panel_simple_get_timings(stru
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 = {