drm/panel-simple: hack ignore orientation
authorDom Cobley <popcornmix@gmail.com>
Mon, 15 Aug 2022 18:42:38 +0000 (19:42 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:23 +0000 (11:33 +0000)
downstream removal of orientation plus upstream adding of new function

drivers/gpu/drm/panel/panel-simple.c

index 8c50251..9154254 100644 (file)
@@ -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 = {