Re: [PATCH v6 1/8] drm/panel: Add an API to allow drm to set orientation from panel

2022-06-08 Thread Stephen Boyd
Quoting Hsin-Yi Wang (2022-06-08 02:48:09) > index 1c48d162c77e..859165a1c8f1 100644 > --- a/drivers/gpu/drm/drm_connector.c > +++ b/drivers/gpu/drm/drm_connector.c > @@ -2389,6 +2393,34 @@ int drm_connector_set_panel_orientation_with_quirk( > } > EXPORT_SYMBOL(drm_connector_set_panel_orientation

[PATCH v6 1/8] drm/panel: Add an API to allow drm to set orientation from panel

2022-06-08 Thread Hsin-Yi Wang
Panels usually call drm_connector_set_panel_orientation(), which is later than drm/kms driver calling drm_dev_register(). This leads to a WARN(). The orientation property is known earlier. For example, some panels parse the property through device tree during probe. Add an API to return the prope