[Freedreno] [v3] drm/bridge: ti-sn65dsi86: ensure bridge suspend happens during PM sleep

2020-06-09 Thread Harigovindan P
ti-sn65dsi86 bridge is enumerated as a runtime device. When suspend is triggered, PM core adds a refcount on all the devices and calls device suspend, since usage count is already incremented, runtime suspend will not be called and it kept the bridge regulators and gpios ON which resulted in platfo

Re: [Freedreno] [PATCH] drm/msm: fix link error without CONFIG_DEBUG_FS

2020-06-09 Thread Linus Walleij
On Tue, May 5, 2020 at 10:27 AM Linus Walleij wrote: > On Wed, Apr 8, 2020 at 9:15 PM Arnd Bergmann wrote: > > > I ran into a randconfig link error with debugfs disabled: > > > > arm-linux-gnueabi-ld: > > drivers/gpu/drm/msm/msm_gpu.o: in function `should_dump': > > msm_gpu.c:(.text+0x1cc): unde

Re: [Freedreno] [PATCH] drm/msm: fix link error without CONFIG_DEBUG_FS

2020-06-09 Thread Rob Clark
On Tue, Jun 9, 2020 at 5:48 AM Linus Walleij wrote: > > On Tue, May 5, 2020 at 10:27 AM Linus Walleij > wrote: > > On Wed, Apr 8, 2020 at 9:15 PM Arnd Bergmann wrote: > > > > > I ran into a randconfig link error with debugfs disabled: > > > > > > arm-linux-gnueabi-ld: > > > drivers/gpu/drm/msm/

Re: [Freedreno] [PATCH] drm/msm: fix link error without CONFIG_DEBUG_FS

2020-06-09 Thread Linus Walleij
On Tue, Jun 9, 2020 at 4:04 PM Rob Clark wrote: > On Tue, Jun 9, 2020 at 5:48 AM Linus Walleij wrote: > > On Tue, May 5, 2020 at 10:27 AM Linus Walleij > > wrote: > > > On Wed, Apr 8, 2020 at 9:15 PM Arnd Bergmann wrote: > > > > > > > I ran into a randconfig link error with debugfs disabled: >

Re: [Freedreno] [PATCH v6 4/5] drm/msm/dp: add support for DP PLL driver

2020-06-09 Thread Stephen Boyd
Quoting Tanmay Shah (2020-06-08 20:46:23) > diff --git a/drivers/gpu/drm/msm/dp/dp_catalog.c > b/drivers/gpu/drm/msm/dp/dp_catalog.c > index d02f4eb..2b982f0 100644 > --- a/drivers/gpu/drm/msm/dp/dp_catalog.c > +++ b/drivers/gpu/drm/msm/dp/dp_catalog.c > @@ -5,6 +5,7 @@ > > #define pr_fmt(fmt)

Re: [Freedreno] [PATCH v6 1/5] dt-bindings: msm/dp: add bindings of DP/DP-PLL driver for Snapdragon

2020-06-09 Thread Stephen Boyd
Quoting Tanmay Shah (2020-06-08 20:38:18) > diff --git a/Documentation/devicetree/bindings/display/msm/dp-sc7180.yaml > b/Documentation/devicetree/bindings/display/msm/dp-sc7180.yaml > new file mode 100644 > index 000..5fdb915 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/m

Re: [Freedreno] [PATCH v6 2/5] drm: add constant N value in helper file

2020-06-09 Thread Stephen Boyd
Quoting Tanmay Shah (2020-06-08 20:40:47) > From: Chandan Uddaraju > > The constant N value (0x8000) is used by i915 DP > driver. Define this value in dp helper header file > to use in multiple Display Port drivers. Change > i915 driver accordingly. > > Change in v6: Change commit message > > S