Skip to content

Commit

Permalink
drm/panel-simple: hack ignore orientation
Browse files Browse the repository at this point in the history
downstream removal of orientation plus upstream adding of new function
  • Loading branch information
popcornmix committed Mar 5, 2024
1 parent 9c7ea3d commit 1b2a736
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/panel/panel-simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 1b2a736

Please sign in to comment.