[PATCH v3 2/3] dt-bindings: display: panel: Add binding document for Leadtek LTK500HD1829

2019-12-21 Thread Heiko Stuebner
From: Heiko Stuebner The LTK500HD1829 is a 5.0" 720x1280 DSI display. changes in v2: - fix id (Maxime) - drop port (Maxime) Signed-off-by: Heiko Stuebner --- .../display/panel/leadtek,ltk500hd1829.yaml | 47 +++ 1 file changed, 47 insertions(+) create mode 100644 Documenta

[PATCH v3 1/3] dt-bindings: Add vendor prefix for Leadtek Technology

2019-12-21 Thread Heiko Stuebner
From: Heiko Stuebner Shenzhen Leadtek Technology Co., Ltd. produces for example display and touch panels. Signed-off-by: Heiko Stuebner --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-pref

[PATCH v3 3/3] drm/panel: add panel driver for Leadtek LTK500HD1829

2019-12-21 Thread Heiko Stuebner
From: Heiko Stuebner The LTK500HD1829 is 5.5" DSI display. changes in v3: - drop one more overlooked panel->drm access Signed-off-by: Heiko Stuebner --- drivers/gpu/drm/panel/Kconfig | 11 + drivers/gpu/drm/panel/Makefile| 1 + .../drm/panel/panel-leadtek-lt

Re: [PATCH v11 00/25] mm/gup: track dma-pinned pages: FOLL_PIN

2019-12-21 Thread John Hubbard
On 12/21/19 2:08 AM, Leon Romanovsky wrote: On Fri, Dec 20, 2019 at 03:54:55PM -0800, John Hubbard wrote: On 12/20/19 10:29 AM, Leon Romanovsky wrote: ... $ ./build.sh $ build/bin/run_tests.py If you get things that far I think Leon can get a reproduction for you I'm not so optimistic about

Re: [RFC PATCH v3 7/7] drm: exynos: mixer: Add interconnect support

2019-12-21 Thread Chanwoo Choi
Hi, On Fri, Dec 20, 2019 at 9:03 PM Artur Świgoń wrote: > > From: Marek Szyprowski > > This patch adds interconnect support to exynos-mixer. The mixer works > the same as before when CONFIG_INTERCONNECT is 'n'. The patch description doesn't include why interconnect is required and what to do.

Re: [RFC PATCH v3 6/7] arm: dts: exynos: Add interconnects to Exynos4412 mixer

2019-12-21 Thread Chanwoo Choi
Hi, On Fri, Dec 20, 2019 at 9:02 PM Artur Świgoń wrote: > > This patch adds an 'interconnects' property to Exynos4412 DTS in order to > declare the interconnect path used by the mixer. Please note that the > 'interconnect-names' property is not needed when there is only one path in > 'interconnec

Re: [RFC PATCH v3 4/7] arm: dts: exynos: Add interconnect bindings for Exynos4412

2019-12-21 Thread Chanwoo Choi
Hi, On Fri, Dec 20, 2019 at 9:02 PM Artur Świgoń wrote: > > This patch adds the following properties to the Exynos4412 DT: > - exynos,interconnect-parent-node: to declare connections between > nodes in order to guarantee PM QoS requirements between nodes; > - #interconnect-cells: required

Re: [RFC PATCH v3 0/7] PM / devfreq: Simple QoS for exynos-bus using interconnect

2019-12-21 Thread Chanwoo Choi
Hi Artur, I agree this approach. On next version, please update exynos-bus dt-binding document with example. On Fri, Dec 20, 2019 at 9:01 PM Artur Świgoń wrote: > > The following patchset adds interconnect[1][2] framework support to the > exynos-bus devfreq driver. Extending the devfreq driver w

Re: [RFC PATCH v3 5/7] devfreq: exynos-bus: Add interconnect functionality to exynos-bus

2019-12-21 Thread Chanwoo Choi
On Sun, Dec 22, 2019 at 4:53 AM Chanwoo Choi wrote: > > Hi, > > On Fri, Dec 20, 2019 at 9:02 PM Artur Świgoń wrote: > > > > This patch adds interconnect functionality to the exynos-bus devfreq > > driver. > > > > The SoC topology is a graph (or, more specifically, a tree) and its > > edges are sp

Re: [RFC PATCH v3 5/7] devfreq: exynos-bus: Add interconnect functionality to exynos-bus

2019-12-21 Thread Chanwoo Choi
Hi, On Fri, Dec 20, 2019 at 9:02 PM Artur Świgoń wrote: > > This patch adds interconnect functionality to the exynos-bus devfreq > driver. > > The SoC topology is a graph (or, more specifically, a tree) and its > edges are specified using the 'exynos,interconnect-parent-node' in the > DT. Due to

Re: [RFC PATCH v3 2/7] interconnect: Relax requirement in of_icc_get_from_provider()

2019-12-21 Thread Chanwoo Choi
Hi, On Fri, Dec 20, 2019 at 9:03 PM Artur Świgoń wrote: > > This patch relaxes the condition in of_icc_get_from_provider() so that it > is no longer required to set #interconnect-cells = <1> in the DT. In case > of the devfreq driver for exynos-bus, #interconnect-cells is always zero. It doesn't

Re: [PATCH v13 4/7] drm/sun4i: dsi: Handle bus clock via regmap_mmio_attach_clk

2019-12-21 Thread Maxime Ripard
On Sat, Dec 21, 2019 at 05:11:00PM +0530, Jagan Teki wrote: > On Thu, Dec 19, 2019 at 3:35 AM Maxime Ripard wrote: > > > > On Thu, Dec 19, 2019 at 12:40:14AM +0530, Jagan Teki wrote: > > > regmap has special API to enable the controller bus clock while > > > initializing register space, and curren

Re: [PATCH v1 6/8] drm/print: add drm_dev_* logging functions

2019-12-21 Thread Sam Ravnborg
Hi Joe. > > +#define __drm_dev_cat_printk(dev, cat, type, fmt, ...) > > \ > > +({ \ > > + if (drm_debug_enabled(cat)) \ > > + dev_dbg##type((dev), "[drm] " fmt, ##__

Re: [PATCH v1 6/8] drm/print: add drm_dev_* logging functions

2019-12-21 Thread Joe Perches
On Sat, 2019-12-21 at 10:55 +0100, Sam Ravnborg wrote: > There are a lot of cases where we have a device * but no drm_device *. > Add drm_dev_* variants of the logging functions to cover these cases. [] > diff --git a/include/drm/drm_print.h b/include/drm/drm_print.h [] > @@ -468,6 +511,60 @@ stati

Re: [PATCH v2 9/9] drm/bridge: ti-sn65dsi86: Avoid invalid rates

2019-12-21 Thread kbuild test robot
-base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Douglas-Anderson/drm-bridge-ti-sn65dsi86-Improve-support-for-AUO-B116XAK01-other-DP/20191221-083448 base: https://git.kernel.org/pub/scm/li

[PATCH 05/10] drm/framebuffer: Format modifier for Intel Gen-12 render compression

2019-12-21 Thread Imre Deak
From: Dhinakaran Pandiyan Gen-12 has a new compression format, add a new modifier to indicate that. Cc: Ville Syrjälä Cc: Matt Roper Cc: Nanley G Chery Cc: Jason Ekstrand Cc: Mika Kahola Cc: dri-devel@lists.freedesktop.org Signed-off-by: Dhinakaran Pandiyan Signed-off-by: Lucas De Marchi

Re: [PATCH v13 4/7] drm/sun4i: dsi: Handle bus clock via regmap_mmio_attach_clk

2019-12-21 Thread Jagan Teki
On Thu, Dec 19, 2019 at 3:35 AM Maxime Ripard wrote: > > On Thu, Dec 19, 2019 at 12:40:14AM +0530, Jagan Teki wrote: > > regmap has special API to enable the controller bus clock while > > initializing register space, and current driver is using > > devm_regmap_init_mmio_clk which require to speci

Re: [PATCH v11 00/25] mm/gup: track dma-pinned pages: FOLL_PIN

2019-12-21 Thread Leon Romanovsky
On Fri, Dec 20, 2019 at 03:54:55PM -0800, John Hubbard wrote: > On 12/20/19 10:29 AM, Leon Romanovsky wrote: > ... > >> $ ./build.sh > >> $ build/bin/run_tests.py > >> > >> If you get things that far I think Leon can get a reproduction for you > > > > I'm not so optimistic about that. > > > > OK, I

[PATCH v1 6/8] drm/print: add drm_dev_* logging functions

2019-12-21 Thread Sam Ravnborg
There are a lot of cases where we have a device * but no drm_device *. Add drm_dev_* variants of the logging functions to cover these cases. Include brief documentation. Signed-off-by: Sam Ravnborg Cc: Jani Nikula Cc: Sean Paul Cc: Daniel Vetter --- include/drm/drm_print.h | 99 +

[PATCH v1 2/8] drm/print: move new style logging functions

2019-12-21 Thread Sam Ravnborg
Move the new style logging function up right after the documentation of their usage. And note that remaining logging functions are legacy. While moving, drop some extra lines. Signed-off-by: Sam Ravnborg Cc: Jani Nikula Cc: Sean Paul Cc: Daniel Vetter --- include/drm/drm_print.h | 117 ++

[PATCH v1 1/8] drm/print: document logging functions

2019-12-21 Thread Sam Ravnborg
This is the documentation I have missed when I looked for help how to do proper logging. Hopefully it can help others. Signed-off-by: Sam Ravnborg Cc: Jani Nikula Cc: Sean Paul Cc: Daniel Vetter --- Documentation/gpu/drm-internals.rst | 6 ++ include/drm/drm_print.h | 91

[PATCH v1 4/8] drm/print: add kernel-doc for drm_debug_enabled

2019-12-21 Thread Sam Ravnborg
Signed-off-by: Sam Ravnborg Cc: Jani Nikula Cc: Sean Paul Cc: Daniel Vetter --- include/drm/drm_print.h | 15 +++ 1 file changed, 15 insertions(+) diff --git a/include/drm/drm_print.h b/include/drm/drm_print.h index c1d333bb7534..c9fa06b517cc 100644 --- a/include/drm/drm_print.h +

[PATCH v1 3/8] drm/print: add new logging helper for drm logging

2019-12-21 Thread Sam Ravnborg
Add new helper so logging can use the standard logging functions without an extra helper function. Signed-off-by: Sam Ravnborg Cc: Jani Nikula Cc: Sean Paul Cc: Daniel Vetter --- include/drm/drm_print.h | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff -

[PATCH v1 8/8] drm/print: let legacy logging use new style functions

2019-12-21 Thread Sam Ravnborg
Update the legacy logging functions to use the new style logging functions. This will help people when transition to the new style as they can just go and see what new style logging function to use. This also makes logging look a bit more consistent as the same base is now used for logging. While

[PATCH v1 5/8] drm/print: rename drm_dev_dbg

2019-12-21 Thread Sam Ravnborg
Rename drm_dev_dbg to the internal name __drm_dev_dbg. This will make room for a new logging macro with the same name. Signed-off-by: Sam Ravnborg Cc: Jani Nikula Cc: Sean Paul Cc: Daniel Vetter --- drivers/gpu/drm/drm_print.c | 6 +++--- include/drm/drm_print.h | 20 ++--

[RFC PATCH 0/9] drm: add more new-style logging functions

2019-12-21 Thread Sam Ravnborg
Jani Nikula introduced the new nice drm_* logging functions. I looked at updating drm/panel/* to use these, but was quickly faced with the fact that in many cases there was a device * but no drm_device *. And in some cases not even a device *. So we would end up with a mixture of different type of

[PATCH v1 7/8] drm/print: add drm_pr_ logging

2019-12-21 Thread Sam Ravnborg
Add standard logging functions that can be used when no struct device *, nor struct drm_device * is available. Include brief documentation. Signed-off-by: Sam Ravnborg Cc: Jani Nikula Cc: Sean Paul Cc: Daniel Vetter --- include/drm/drm_print.h | 88 -