[PATCH v2 04/25] drm: get drm_bridge_panel connector via helper

2019-12-07 Thread Sam Ravnborg
The drm_connector created by drm_panel_bridge was accessed via drm_panel.connector. Avoid the detour around drm_panel by providing a simple get method. This avoids direct access to the connector field in drm_panel in the two users. The change is done in preparation for removal of

[PATCH v2 0/25] drm/panel infrastructure + backlight update

2019-12-07 Thread Sam Ravnborg
This patchset include a couple of different things - all related to panels. - The callbacks are optional - so drop error if callback is not present. - Add support for backlight in drm_panel. This allows us to make much simpler backlight support to most panels. The patchset include

[PATCH v2 03/25] drm/panel: simple: use drm_panel backlight support

2019-12-07 Thread Sam Ravnborg
Use drm_panel infrastructure for backlight. Replace direct calls with drm_panel_*() calls to utilize the drm_panel support. Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart cc: Laurent Pinchart Cc: Thierry Reding Cc: Sam Ravnborg --- drivers/gpu/drm/panel/panel-simple.c | 50

[Bug 204241] amdgpu fails to resume from suspend

2019-12-07 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204241 Frans Skarman (frans.skar...@gmail.com) changed: What|Removed |Added CC|

[Bug 201539] AMDGPU R9 390 automatic fan speed control in Linux 4.19/4.20/5.0

2019-12-07 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201539 --- Comment #46 from Jan Ziak (http://atom-symbol.net) (0xe2.0x9a.0...@gmail.com) --- There is also the possibility to use question marks in the path: /sys/class/drm/card?/device/hwmon/hwmon? -- You are receiving this mail because: You are

[Bug 201539] AMDGPU R9 390 automatic fan speed control in Linux 4.19/4.20/5.0

2019-12-07 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201539 --- Comment #45 from muncrief (rmuncr...@humanavance.com) --- (In reply to MasterCATZ from comment #43) > the file is correct .. and you can tell that because its reading the temp > "current pwm: 76" > > error is because NOTHING is being allowed

[PATCH v2 14/25] drm/panel: osd-osd101t2587-53ts: use drm_panel backlight support

2019-12-07 Thread Sam Ravnborg
Use the backlight support in drm_panel to simplify the driver Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart Cc: Thierry Reding Cc: Sam Ravnborg --- .../drm/panel/panel-osd-osd101t2587-53ts.c| 24 +++ 1 file changed, 9 insertions(+), 15 deletions(-) diff --git

[PATCH v2 23/25] drm/panel: sitronix-st7789v: use drm_panel backlight support

2019-12-07 Thread Sam Ravnborg
Use the backlight support in drm_panel to simplify the driver Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart Cc: Thierry Reding Cc: Sam Ravnborg --- .../gpu/drm/panel/panel-sitronix-st7789v.c| 37 ++- 1 file changed, 4 insertions(+), 33 deletions(-) diff --git

[PATCH v2 24/25] drm/panel: tpo-td028ttec1: use drm_panel backlight support

2019-12-07 Thread Sam Ravnborg
Use the backlight support in drm_panel to simplify the driver Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart Cc: Thierry Reding Cc: Sam Ravnborg --- drivers/gpu/drm/panel/panel-tpo-td028ttec1.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git

[PATCH v2 07/25] drm/panel: drop drm_device from drm_panel

2019-12-07 Thread Sam Ravnborg
The panel drivers used drm_panel.drm for two purposes: 1) Argument to drm_mode_duplicate() 2) drm->dev was used in error messages The first usage is replaced with drm_connector.dev - drm_connector is already connected to a drm_device and we have a valid connector The second usage is replaced

[PATCH v2 05/25] drm/panel: add drm_connector argument to get_modes()

2019-12-07 Thread Sam Ravnborg
Today the bridge creates the drm_connector, but that is planned to be moved to the display drivers. To facilitate this, update drm_panel_funcs.get_modes() to take drm_connector as an argument. All panel drivers implementing get_modes() are updated. v2: - drop accidental change (Laurent) -

[PATCH v2 25/25] drm/panel: tpo-tpg110: use drm_panel backlight support

2019-12-07 Thread Sam Ravnborg
Use the backlight support in drm_panel to simplify the driver Signed-off-by: Sam Ravnborg Reviewed-by: Linus Walleij Reviewed-by: Laurent Pinchart Cc: Linus Walleij Cc: Thierry Reding Cc: Sam Ravnborg --- drivers/gpu/drm/panel/panel-tpo-tpg110.c | 20 ++-- 1 file changed, 6

[PATCH v2 06/25] drm/panel: decouple connector from drm_panel

2019-12-07 Thread Sam Ravnborg
To facilitate moving connector creation to display drivers, decouple the drm_connector from drm_panel. This patch adds a connector argument to drm_panel_get_modes(). All users of drm_panel_get_modes() already had the connector available, so updating users was trivial. With this patch drm_panel

[PATCH v2 12/25] drm/panel: lvds: use drm_panel backlight support

2019-12-07 Thread Sam Ravnborg
Use the backlight support in drm_panel to simplify the driver Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart Cc: Thierry Reding Cc: Sam Ravnborg --- drivers/gpu/drm/panel/panel-lvds.c | 40 -- 1 file changed, 5 insertions(+), 35 deletions(-) diff --git

[PATCH v2 10/25] drm/panel: innolux-p079zca: use drm_panel backlight support

2019-12-07 Thread Sam Ravnborg
Use the backlight support in drm_panel to simplify the driver Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart Cc: Thierry Reding Cc: Sam Ravnborg --- drivers/gpu/drm/panel/panel-innolux-p079zca.c | 28 ++- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git

[PATCH v2 11/25] drm/panel: kingdisplay-kd097d04: use drm_panel backlight support

2019-12-07 Thread Sam Ravnborg
Use the backlight support in drm_panel to simplify the driver Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart Cc: Thierry Reding Cc: Sam Ravnborg --- .../drm/panel/panel-kingdisplay-kd097d04.c| 28 ++- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git

[PATCH v2 02/25] drm/panel: add backlight support

2019-12-07 Thread Sam Ravnborg
Panels often supports backlight as specified in a device tree. Update the drm_panel infrastructure to support this to simplify the drivers. With this the panel driver just needs to add the following to the probe() function: err = drm_panel_of_backlight(panel); if (err) return

[PATCH v2 09/25] drm/panel: ilitek-ili9881c: use drm_panel backlight support

2019-12-07 Thread Sam Ravnborg
Use the backlight support in drm_panel to simplify the driver Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart Cc: Thierry Reding Cc: Sam Ravnborg --- drivers/gpu/drm/panel/panel-ilitek-ili9881c.c | 19 +++ 1 file changed, 3 insertions(+), 16 deletions(-) diff --git

[PATCH v2 13/25] drm/panel: olimex-lcd-olinuxino: use drm_panel backlight support

2019-12-07 Thread Sam Ravnborg
Use the backlight support in drm_panel to simplify the driver Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart Cc: Stefan Mavrodiev Cc: Thierry Reding Cc: Sam Ravnborg --- .../gpu/drm/panel/panel-olimex-lcd-olinuxino.c | 18 ++ 1 file changed, 6 insertions(+), 12

[PATCH v2 08/25] drm/panel: feiyang-fy07024di26a30d: use drm_panel backlight support

2019-12-07 Thread Sam Ravnborg
Use the backlight support in drm_panel to simplify the driver Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart Cc: Jagan Teki Cc: Thierry Reding Cc: Sam Ravnborg --- drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c | 10 +++--- 1 file changed, 3 insertions(+), 7

[PATCH v2 21/25] drm/panel: sharp-ls043t1le01: use drm_panel backlight support

2019-12-07 Thread Sam Ravnborg
Use the backlight support in drm_panel to simplify the driver Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart Cc: Thierry Reding Cc: Sam Ravnborg --- .../gpu/drm/panel/panel-sharp-ls043t1le01.c | 20 +++ 1 file changed, 7 insertions(+), 13 deletions(-) diff --git

[PATCH v2 17/25] drm/panel: rocktech-jh057n00900: use drm_panel backlight support

2019-12-07 Thread Sam Ravnborg
Use the backlight support in drm_panel to simplify the driver. While touching the include files sort them and divide them up in blocks. Signed-off-by: Sam Ravnborg Reviewed-by: Guido Günther Reviewed-by: Laurent Pinchart Cc: "Guido Günther" Cc: Purism Kernel Team Cc: Thierry Reding Cc: Sam

[PATCH v2 16/25] drm/panel: raydium-rm68200: use drm_panel backlight support

2019-12-07 Thread Sam Ravnborg
Use the backlight support in drm_panel to simplify the driver Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart Cc: Thierry Reding Cc: Sam Ravnborg --- drivers/gpu/drm/panel/panel-raydium-rm68200.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git

[PATCH v2 22/25] drm/panel: sitronix-st7701: use drm_panel backlight support

2019-12-07 Thread Sam Ravnborg
Use the backlight support in drm_panel to simplify the driver Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart Cc: Jagan Teki Cc: Thierry Reding Cc: Sam Ravnborg --- drivers/gpu/drm/panel/panel-sitronix-st7701.c | 12 1 file changed, 4 insertions(+), 8 deletions(-)

[PATCH v2 18/25] drm/panel: ronbo-rb070d30: use drm_panel backlight support

2019-12-07 Thread Sam Ravnborg
Use the backlight support in drm_panel to simplify the driver Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart Cc: Thierry Reding Cc: Sam Ravnborg --- drivers/gpu/drm/panel/panel-ronbo-rb070d30.c | 19 +++ 1 file changed, 3 insertions(+), 16 deletions(-) diff --git

[PATCH v2 19/25] drm/panel: seiko-43wvf1g: use drm_panel backlight support

2019-12-07 Thread Sam Ravnborg
Use the backlight support in drm_panel to simplify the driver Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart Cc: Thierry Reding Cc: Sam Ravnborg --- drivers/gpu/drm/panel/panel-seiko-43wvf1g.c | 36 - 1 file changed, 6 insertions(+), 30 deletions(-) diff --git

[PATCH v2 20/25] drm/panel: sharp-lq101r1sx01: use drm_panel backlight support

2019-12-07 Thread Sam Ravnborg
Use the backlight support in drm_panel to simplify the driver Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart Cc: Thierry Reding Cc: Sam Ravnborg --- .../gpu/drm/panel/panel-sharp-lq101r1sx01.c | 21 +++ 1 file changed, 7 insertions(+), 14 deletions(-) diff --git

[PATCH v2 01/25] drm/drm_panel: no error when no callback

2019-12-07 Thread Sam Ravnborg
The callbacks in drm_panel_funcs are optional, so do not return an error just because no callback is assigned. v2: - Document what functions in drm_panel_funcs are optional (Laurent) - Return -EOPNOTSUPP if get_modes() is not assigned (Laurent) (Sam: -EOPNOTSUPP seems to best error code in this

[PATCH v2 15/25] drm/panel: panasonic-vvx10f034n00: use drm_panel backlight support

2019-12-07 Thread Sam Ravnborg
Use the backlight support in drm_panel to simplify the driver Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart Cc: Thierry Reding Cc: Sam Ravnborg --- .../drm/panel/panel-panasonic-vvx10f034n00.c | 45 +++ 1 file changed, 6 insertions(+), 39 deletions(-) diff --git

[Bug 108514] heavy screen flickering with Mobility Radeon X1600 and kernel version 3.15rc2 onward

2019-12-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108514 BugFinder changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #38 from BugFinder

[Bug 201539] AMDGPU R9 390 automatic fan speed control in Linux 4.19/4.20/5.0

2019-12-07 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201539 --- Comment #47 from muncrief (rmuncr...@humanavance.com) --- (In reply to Jan Ziak (http://atom-symbol.net) from comment #46) > There is also the possibility to use question marks in the path: > > /sys/class/drm/card?/device/hwmon/hwmon? Thank

[Bug 201539] AMDGPU R9 390 automatic fan speed control in Linux 4.19/4.20/5.0

2019-12-07 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201539 --- Comment #48 from Jan Ziak (http://atom-symbol.net) (0xe2.0x9a.0...@gmail.com) --- (In reply to muncrief from comment #47) > (In reply to Jan Ziak (http://atom-symbol.net) from comment #46) > > There is also the possibility to use question

Re: [PATCH 1/4] dt-bindings: display: panel: document panel-id

2019-12-07 Thread Rob Clark
On Sat, Dec 7, 2019 at 1:13 PM Sam Ravnborg wrote: > > On Sat, Dec 07, 2019 at 12:35:50PM -0800, Rob Clark wrote: > > From: Rob Clark > > > > For devices that have one of several possible panels installed, the > > panel-id property gives firmware a generic way to locate and enable the > > panel

RE: [PATCH v8 01/17] drm/dp_mst: Add PBN calculation for DSC modes

2019-12-07 Thread Lipski, Mikita
Hi Lyude, Thanks for the review. I’ve updated this patch in a v9 iteration of it, I’ve sent separately from the series this past Monday. The new version has the updated selftest. Thanks, Mikita From: Lyude Paul Sent: December 6, 2019 7:17 PM To: Lipski,

[PATCH 1/4] dt-bindings: display: panel: document panel-id

2019-12-07 Thread Rob Clark
From: Rob Clark For devices that have one of several possible panels installed, the panel-id property gives firmware a generic way to locate and enable the panel node corresponding to the installed panel. Example of how to use this property: ivo_panel { compatible =

[PATCH 0/4] drm+dt: multi panel selection and yoga c630 display

2019-12-07 Thread Rob Clark
From: Rob Clark It is not uncommon for devices to use one of several possible panels. The Lenovo Yoga C630 laptop is one such device. This patchset introduces an optional "panel-id" property which can be used by the firmware to find the correct panel node to enable. The second patch adds

[PATCH 2/4] drm/of: add support to find any enabled endpoint

2019-12-07 Thread Rob Clark
From: Rob Clark To handle the case where there are multiple panel endpoints, only one of which is enabled/installed, add support for a wildcard endpoint value to request finding whichever endpoint is enabled. Signed-off-by: Rob Clark --- drivers/gpu/drm/drm_of.c | 41

[PATCH 4/4] arm64: dts: qcom: c630: Enable display

2019-12-07 Thread Rob Clark
From: Bjorn Andersson Signed-off-by: Bjorn Andersson [Initial patch from Bjorn, I've added some regulator-boot-on's to account for display related regulators enabled by the firmware, and updated to handle the two possible panels that can be installed.] Signed-off-by: Rob Clark ---

[PATCH 3/4] drm/bridge: ti-sn65dsi86: find any enabled endpoint

2019-12-07 Thread Rob Clark
From: Rob Clark This bridge is used on a number of devices that can have one of multiple different panels installed. The firmware will enable the panel driver node for the panel that is actually installed. So the bridge should ask drm_of_find_panel_or_bridge() to find the endpoint for the

[Bug 201539] AMDGPU R9 390 automatic fan speed control in Linux 4.19/4.20/5.0

2019-12-07 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201539 --- Comment #49 from muncrief (rmuncr...@humanavance.com) --- (In reply to Jan Ziak (http://atom-symbol.net) from comment #48) > (In reply to muncrief from comment #47) > > (In reply to Jan Ziak (http://atom-symbol.net) from comment #46) > > >

Re: [PATCH 1/4] dt-bindings: display: panel: document panel-id

2019-12-07 Thread Sam Ravnborg
On Sat, Dec 07, 2019 at 12:35:50PM -0800, Rob Clark wrote: > From: Rob Clark > > For devices that have one of several possible panels installed, the > panel-id property gives firmware a generic way to locate and enable the > panel node corresponding to the installed panel. For display timings

[Bug 204241] amdgpu fails to resume from suspend

2019-12-07 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204241 Ulf Winkelvos (u...@winkelvos.de) changed: What|Removed |Added CC||u...@winkelvos.de

Re: [PATCH] drm/panel: Add Boe Himax8279d MIPI-DSI LCD panel

2019-12-07 Thread kbuild test robot
Hi Jerry, I love your patch! Yet something to improve: [auto build test ERROR on drm-exynos/exynos-drm-next] [also build test ERROR on drm-intel/for-linux-next linus/master v5.4 next-20191202] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system.

[PATCH v6 03/12] drm/mediatek: Use regmap for register access

2019-12-07 Thread matthias . bgg
From: Matthias Brugger The mmsys memory space is shared between the drm and the clk driver. Use regmap to access it. Signed-off-by: Matthias Brugger Reviewed-by: Philipp Zabel --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 4 +- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 50

[PATCH v6 06/12] clk: mediatek: mt2701: switch mmsys to platform device probing

2019-12-07 Thread matthias . bgg
From: Matthias Brugger Switch probing for the MMSYS to support invocation to a plain paltform device. The driver will be probed by the DRM subsystem. Signed-off-by: Matthias Brugger --- drivers/clk/mediatek/clk-mt2701-mm.c | 41 1 file changed, 29 insertions(+),

[PATCH v6 08/12] clk: mediatek: mt6779: switch mmsys to platform device probing

2019-12-07 Thread matthias . bgg
From: Matthias Brugger Switch probing for the MMSYS to support invocation to a plain paltform device. The driver will be probed by the DRM subsystem. Singed-off-by: Matthias Brugger --- drivers/clk/mediatek/clk-mt6779-mm.c | 41 +++- 1 file changed, 28 insertions(+),

[PATCH v6 09/12] clk: mediatek: mt6797: switch to platform device probing

2019-12-07 Thread matthias . bgg
From: Matthias Brugger Switch probing for the MMSYS to support invocation to a plain paltform device. The driver will be probed by the DRM subsystem. Signed-off-by: Matthias Brugger --- drivers/clk/mediatek/clk-mt6797-mm.c | 43 +++- 1 file changed, 29 insertions(+),

[PATCH v6 05/12] media: mtk-mdp: Check return value of of_clk_get

2019-12-07 Thread matthias . bgg
From: Matthias Brugger Check the return value of of_clk_get and print an error message if not EPROBE_DEFER. Signed-off-by: Matthias Brugger --- drivers/media/platform/mtk-mdp/mtk_mdp_comp.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/media/platform/mtk-mdp/mtk_mdp_comp.c

[PATCH v6 00/12] arm/arm64: mediatek: Fix mmsys device probing

2019-12-07 Thread matthias . bgg
From: Matthias Brugger This is version five of the series. It's a long time this wasn't worked on, so as a reminder, version four can be found here: https://patchwork.kernel.org/cover/10686247/ The biggest changes this new version does, is to implement the clock probing through a platform

[PATCH v6 02/12] dt-bindings: mediatek: Add compatible for mt7623

2019-12-07 Thread matthias . bgg
From: Matthias Brugger MediaTek mt7623 uses the mt2701 binings as fallback. Document this in the binding description. Signed-off-by: Matthias Brugger --- .../devicetree/bindings/display/mediatek/mediatek,disp.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v6 01/12] dt-bindings: display: mediatek: Add mmsys binding description

2019-12-07 Thread matthias . bgg
From: Matthias Brugger The MediaTek DRM has a block called mmsys, which sets the routing and enalbes the different blocks. This patch adds one line for the mmsys bindings description. Signed-off-by: Matthias Brugger --- .../display/mediatek/mediatek,disp.txt| 28 ++- 1

[PATCH v6 11/12] clk: mediatek: mt8173: switch mmsys to platform device probing

2019-12-07 Thread matthias . bgg
From: Matthias Brugger Switch probing for the MMSYS to support invocation to a plain paltform device. The driver will be probed by the DRM subsystem. Signed-off-by: Matthias Brugger --- drivers/clk/mediatek/clk-mt8173.c | 51 ++- 1 file changed, 44 insertions(+), 7

[PATCH v6 12/12] drm/mediatek: Add support for mmsys through a pdev

2019-12-07 Thread matthias . bgg
From: Matthias Brugger The MMSYS subsystem includes clocks and drm components. This patch adds an initailization path through a platform device for the clock part, so that both drivers get probed from the same device tree compatible. Signed-off-by: Matthias Brugger ---

[PATCH v6 10/12] clk: mediatek: mt8183: switch mmsys to platform device probing

2019-12-07 Thread matthias . bgg
From: Matthias Brugger Switch probing for the MMSYS to support invocation to a plain paltform device. The driver will be probed by the DRM subsystem. Singed-off-by: Matthias Brugger --- drivers/clk/mediatek/clk-mt8183-mm.c | 39 +++- 1 file changed, 27 insertions(+),

[PATCH v6 04/12] drm: mediatek: Omit warning on probe defers

2019-12-07 Thread matthias . bgg
From: Matthias Brugger It can happen that the mmsys clock drivers aren't probed before the platform driver gets invoked. The platform driver used to print a warning that the driver failed to get the clocks. Omit this error on the defered probe path. Signed-off-by: Matthias Brugger ---

[PATCH v6 07/12] clk: mediatek: mt2712e: switch to platform device probing

2019-12-07 Thread matthias . bgg
From: Matthias Brugger Switch probing for the MMSYS to support invocation to a plain paltform device. The driver will be probed by the DRM subsystem. Signed-off-by: Matthias Brugger --- drivers/clk/mediatek/clk-mt2712-mm.c | 39 +++- 1 file changed, 27 insertions(+),

[resend PATCH v6 05/12] media: mtk-mdp: Check return value of of_clk_get

2019-12-07 Thread matthias . bgg
From: Matthias Brugger Check the return value of of_clk_get and print an error message if not EPROBE_DEFER. Signed-off-by: Matthias Brugger --- drivers/media/platform/mtk-mdp/mtk_mdp_comp.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/media/platform/mtk-mdp/mtk_mdp_comp.c

[resend PATCH v6 02/12] dt-bindings: mediatek: Add compatible for mt7623

2019-12-07 Thread matthias . bgg
From: Matthias Brugger MediaTek mt7623 uses the mt2701 binings as fallback. Document this in the binding description. Signed-off-by: Matthias Brugger --- .../devicetree/bindings/display/mediatek/mediatek,disp.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git

[resend PATCH v6 04/12] drm: mediatek: Omit warning on probe defers

2019-12-07 Thread matthias . bgg
From: Matthias Brugger It can happen that the mmsys clock drivers aren't probed before the platform driver gets invoked. The platform driver used to print a warning that the driver failed to get the clocks. Omit this error on the defered probe path. Signed-off-by: Matthias Brugger ---

[resend PATCH v6 06/12] clk: mediatek: mt2701: switch mmsys to platform device probing

2019-12-07 Thread matthias . bgg
From: Matthias Brugger Switch probing for the MMSYS to support invocation to a plain paltform device. The driver will be probed by the DRM subsystem. Signed-off-by: Matthias Brugger --- drivers/clk/mediatek/clk-mt2701-mm.c | 41 1 file changed, 29 insertions(+),

[resend PATCH v6 00/12] arm/arm64: mediatek: Fix mmsys device probing

2019-12-07 Thread matthias . bgg
From: Matthias Brugger [reseding due to wrong mail of Stephen] This is version five of the series. It's a long time this wasn't worked on, so as a reminder, version four can be found here: https://patchwork.kernel.org/cover/10686247/ The biggest changes this new version does, is to implement

[resend PATCH v6 01/12] dt-bindings: display: mediatek: Add mmsys binding description

2019-12-07 Thread matthias . bgg
From: Matthias Brugger The MediaTek DRM has a block called mmsys, which sets the routing and enalbes the different blocks. This patch adds one line for the mmsys bindings description. Signed-off-by: Matthias Brugger --- .../display/mediatek/mediatek,disp.txt| 28 ++- 1

[resend PATCH v6 12/12] drm/mediatek: Add support for mmsys through a pdev

2019-12-07 Thread matthias . bgg
From: Matthias Brugger The MMSYS subsystem includes clocks and drm components. This patch adds an initailization path through a platform device for the clock part, so that both drivers get probed from the same device tree compatible. Signed-off-by: Matthias Brugger ---

[resend PATCH v6 10/12] clk: mediatek: mt8183: switch mmsys to platform device probing

2019-12-07 Thread matthias . bgg
From: Matthias Brugger Switch probing for the MMSYS to support invocation to a plain paltform device. The driver will be probed by the DRM subsystem. Singed-off-by: Matthias Brugger --- drivers/clk/mediatek/clk-mt8183-mm.c | 39 +++- 1 file changed, 27 insertions(+),

[resend PATCH v6 07/12] clk: mediatek: mt2712e: switch to platform device probing

2019-12-07 Thread matthias . bgg
From: Matthias Brugger Switch probing for the MMSYS to support invocation to a plain paltform device. The driver will be probed by the DRM subsystem. Signed-off-by: Matthias Brugger --- drivers/clk/mediatek/clk-mt2712-mm.c | 39 +++- 1 file changed, 27 insertions(+),

[resend PATCH v6 09/12] clk: mediatek: mt6797: switch to platform device probing

2019-12-07 Thread matthias . bgg
From: Matthias Brugger Switch probing for the MMSYS to support invocation to a plain paltform device. The driver will be probed by the DRM subsystem. Signed-off-by: Matthias Brugger --- drivers/clk/mediatek/clk-mt6797-mm.c | 43 +++- 1 file changed, 29 insertions(+),

[resend PATCH v6 08/12] clk: mediatek: mt6779: switch mmsys to platform device probing

2019-12-07 Thread matthias . bgg
From: Matthias Brugger Switch probing for the MMSYS to support invocation to a plain paltform device. The driver will be probed by the DRM subsystem. Singed-off-by: Matthias Brugger --- drivers/clk/mediatek/clk-mt6779-mm.c | 41 +++- 1 file changed, 28 insertions(+),

[resend PATCH v6 11/12] clk: mediatek: mt8173: switch mmsys to platform device probing

2019-12-07 Thread matthias . bgg
From: Matthias Brugger Switch probing for the MMSYS to support invocation to a plain paltform device. The driver will be probed by the DRM subsystem. Signed-off-by: Matthias Brugger --- drivers/clk/mediatek/clk-mt8173.c | 51 ++- 1 file changed, 44 insertions(+), 7

[resend PATCH v6 03/12] drm/mediatek: Use regmap for register access

2019-12-07 Thread matthias . bgg
From: Matthias Brugger The mmsys memory space is shared between the drm and the clk driver. Use regmap to access it. Signed-off-by: Matthias Brugger Reviewed-by: Philipp Zabel --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 4 +- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 50

[Bug 204241] amdgpu fails to resume from suspend

2019-12-07 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204241 --- Comment #42 from Ulf Winkelvos (u...@winkelvos.de) --- On my System Lenovo ThinkPad T495 (model 20NKS01Y00) the crashes still happen on every 1st to 4th suspend (see above log). --- amdgpu :06:00.0: [drm:amdgpu_ib_ring_tests [amdgpu]]

Re: [PATCH v2 11/14] HID: picoLCD: constify fb ops

2019-12-07 Thread Jiri Kosina
On Thu, 5 Dec 2019, Jani Nikula wrote: > >> Now that the fbops member of struct fb_info is const, we can start > >> making the ops const as well. > >> > >> v2: fixtypo (Christophe de Dinechin) > > > > Fine with me. > > I don't think going through drm-misc would trigger any conflict, but > >