From: Dom Cobley Date: Mon, 15 Aug 2022 18:42:38 +0000 (+0100) Subject: drm/panel-simple: hack ignore orientation X-Git-Tag: accepted/tizen/unified/20240422.153132~595 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e470e585176ec9ef3ae582ce20d45f8c7d83e710;p=platform%2Fkernel%2Flinux-rpi.git drm/panel-simple: hack ignore orientation downstream removal of orientation plus upstream adding of new function --- diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 8c50251..9154254 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 = {