[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAD=FV=X+9+a2EdkpvEneUfcCS=nr34+aGa_ZjvhidF_vfSiLzg@mail.gmail.com>
Date: Fri, 10 Jun 2022 12:55:33 -0700
From: Doug Anderson <dianders@...omium.org>
To: Hsin-Yi Wang <hsinyi@...omium.org>
Cc: Hans de Goede <hdegoede@...hat.com>,
Sam Ravnborg <sam@...nborg.org>,
Stephen Boyd <swboyd@...omium.org>,
Thierry Reding <thierry.reding@...il.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
Philipp Zabel <p.zabel@...gutronix.de>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
dri-devel <dri-devel@...ts.freedesktop.org>,
Rob Clark <robdclark@...omium.org>,
Rob Herring <robh+dt@...nel.org>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v7 8/8] drm: Config orientation property if panel provides it
Hi,
On Thu, Jun 9, 2022 at 12:28 AM Hsin-Yi Wang <hsinyi@...omium.org> wrote:
>
> Panel orientation property should be set before drm_dev_register().
> Some drm driver calls drm_dev_register() in .bind(). However, most
> panels sets orientation property relatively late, mostly in .get_modes()
> callback, since this is when they are able to get the connector and
> binds the orientation property to it, though the value should be known
> when the panel is probed.
>
> In drm_bridge_connector_init(), if a bridge is a panel bridge, use it to
> set the connector's panel orientation property.
>
> Suggested-by: Doug Anderson <dianders@...omium.org>
> Signed-off-by: Hsin-Yi Wang <hsinyi@...omium.org>
> ---
> v6->v7: remove redundant check and fix config issue.
> ---
> drivers/gpu/drm/bridge/panel.c | 34 ++++++++++++++++++++++++++
> drivers/gpu/drm/drm_bridge_connector.c | 8 +++++-
> include/drm/drm_bridge.h | 14 +++++++++++
> 3 files changed, 55 insertions(+), 1 deletion(-)
Reviewed-by: Doug Anderson <dianders@...omium.org>
Powered by blists - more mailing lists