Re: [PATCH 07/60] drm/bridge: simple-bridge: Add support for the TI OP362

2019-08-27 Thread Laurent Pinchart
Hi Tomi, On Tue, Aug 27, 2019 at 09:16:42AM +0300, Tomi Valkeinen wrote: > On 07/07/2019 21:18, Laurent Pinchart wrote: > > The TI OP362 is an analog video amplifier controlled through a GPIO. Add > > support for it to the simple-bridge driver. > > > > Signed-off-by: Laurent Pinchart > > --- > >

Re: [PATCH] drm/meson: vclk: use the correct G12A frac max value

2019-08-27 Thread Neil Armstrong
On 27/08/2019 07:40, Martin Blumenstingl wrote: > On Mon, Aug 26, 2019 at 4:47 PM Neil Armstrong > wrote: >> >> When calculating the HDMI PLL settings for a DMT mode PHY frequency, >> use the correct max fractional PLL value for G12A VPU. >> >> With this fix, we can finally setup the 1024x76-60 m

Re: [PATCH v2 09/21] drm/bridge: Introduce drm_bridge_chain_get_next_bridge()

2019-08-27 Thread Neil Armstrong
On 26/08/2019 17:26, Boris Brezillon wrote: > And use it in drivers accessing the bridge->next field directly. > This is part of our attempt to make the bridge chain a double-linked list > based on the generic list helpers. Reviewed-by: Neil Armstrong > > Signed-off-by: Boris Brezillon > --- >

Re: [PATCH v8 5/6] drm/dp_mst: Add new quirk for Synaptics MST hubs

2019-08-27 Thread Jani Nikula
On Mon, 26 Aug 2019, "Francis, David" wrote: > On 2019-08-26 2:05 p.m., David Francis wrote: >>> Synaptics DP1.4 hubs (BRANCH_ID 0x90CC24) do not >>> support virtual DPCD registers, but do support DSC. >>> The DSC caps can be read from the physical aux, >>> like in SST DSC. These hubs have many di

[Bug 111482] Sapphire Pulse RX 5700 XT power consumption

2019-08-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111482 --- Comment #3 from Robert --- Thanks Andrew for you comment! At least now I know that I'm not alone ;-) The funny thing is that one of the users in the Archlinux forum thread (https://bbs.archlinux.org/viewtopic.php?pid=1860353#p1860353) mentio

Re: [PATCH v2 15/21] drm/bridge: Add the drm_bridge_chain_get_prev_bridge() helper

2019-08-27 Thread Neil Armstrong
On 26/08/2019 17:26, Boris Brezillon wrote: > Will be useful for bridge drivers that want to do bus format > negotiation with their neighbours. Reviewed-by: Neil Armstrong > > Signed-off-by: Boris Brezillon > --- > Changes in v2: > * Fix the kerneldoc > * Drop the !bridge || !bridge->encoder c

Re: [PATCH v2 11/21] drm/bridge: Add the drm_for_each_bridge_in_chain() helper

2019-08-27 Thread Neil Armstrong
On 26/08/2019 17:26, Boris Brezillon wrote: > To iterate over all bridges attached to a specific encoder. > > Suggested-by: Laurent Pinchart > Signed-off-by: Boris Brezillon Reviewed-by: Neil Armstrong > --- > Changes in v2: > * New patch > --- > include/drm/drm_bridge.h | 11 +++ >

[PATCH] drm/amd: remove meaningless descending into amd/amdkfd/

2019-08-27 Thread Masahiro Yamada
Since commit 04d5e2765802 ("drm/amdgpu: Merge amdkfd into amdgpu"), drivers/gpu/drm/amd/amdkfd/Makefile does not contain any syntax that is understood by the build system. Signed-off-by: Masahiro Yamada --- drivers/gpu/drm/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/

Re: [PATCH v18 15/15] selftests, arm64: add a selftest for passing tagged pointers to kernel

2019-08-27 Thread Amit Kachhap
Hi, On 8/23/19 11:19 PM, Cristian Marussi wrote: > > Hi > > On 23/08/2019 18:16, Andrey Konovalov wrote: >> On Fri, Aug 23, 2019 at 3:56 PM Cristian Marussi >> wrote: >>> >>> Hi Andrey >>> >>> On 24/06/2019 15:33, Andrey Konovalov wrote: This patch is a part of a series that extends kernel A

Re: [PATCH v3 0/8] panfrost: Locking and runtime PM fixes

2019-08-27 Thread Alyssa Rosenzweig
A-b from me; let's see what others say. On Mon, Aug 26, 2019 at 05:33:09PM -0500, Rob Herring wrote: > With further testing of recent changes with lockdep identified some > locking issues. Avoiding lockdep issues means we need to avoid some > locks in panfrost_mmu_unmap which in turn means avoidin

[PATCH] drm/msm: drop use of drmP.h

2019-08-27 Thread Sidong Yang
Drop use of deprecated drmP.h header file. Remove drmP.h includes and add some include headers for function or struct that used in code. Signed-off-by: Sidong Yang --- drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.c | 1 + drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c | 3 +++ drivers/gpu/

Re: [PATCH v2 13/21] drm/bridge: Patch atomic hooks to take a drm_bridge_state

2019-08-27 Thread Neil Armstrong
On 26/08/2019 17:26, Boris Brezillon wrote: > Instead of a drm_atomic_state. The only driver implementing those hooks > is patched too. > > While at it, adjust the documentation and argument names to clarify the > fact that the state being passed to those functions/hooks is the old > state. > > S

[PATCH -next] drm/amdgpu/display: fix build error without CONFIG_DRM_AMD_DC_DSC_SUPPORT

2019-08-27 Thread YueHaibing
If CONFIG_DRM_AMD_DC_DSC_SUPPORT is not set, build fails: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hwseq.c: In function dcn20_hw_sequencer_construct: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hwseq.c:2099:28: error: dcn20_dsc_pg_control undeclared (first use in this functi

Re: [PATCH v7 1/9] drm_dp_cec: add connector info support.

2019-08-27 Thread Hans Verkuil
On 8/22/19 10:08 AM, Hans Verkuil wrote: > Alex, Ville/Rodrigo, Ben, > > Can you (hopefully) Ack this patch so that I can merge it? Ping! Regards, Hans > > Thank you! > > Hans > > On 8/14/19 12:44 PM, Dariusz Marcinkiewicz wrote: >> Pass the connector info to the CEC adapter.

Re: [PATCH 1/2] mm/hmm: hmm_range_fault() NULL pointer bug

2019-08-27 Thread Jason Gunthorpe
On Mon, Aug 26, 2019 at 11:02:12AM -0700, Ralph Campbell wrote: > > On 8/24/19 3:37 PM, Christoph Hellwig wrote: > > On Fri, Aug 23, 2019 at 03:17:52PM -0700, Ralph Campbell wrote: > > > Although hmm_range_fault() calls find_vma() to make sure that a vma exists > > > before calling walk_page_range

Re: [PATCH v2 18/21] drm/bridge: lvds-encoder: Implement basic bus format negotiation

2019-08-27 Thread Jernej Škrabec
Hi Boris! Dne ponedeljek, 26. avgust 2019 ob 17:26:46 CEST je Boris Brezillon napisal(a): > Some LVDS encoder might support several input/output bus formats. Add > a way to describe the one used on a specific design by adding optional > 'data-mapping' properties to the input/output ports. > > Si

Re: [PATCH 11/60] drm/bridge: Add driver for the TI TPD12S015 HDMI level shifter

2019-08-27 Thread Laurent Pinchart
Hi Tomi, On Tue, Aug 27, 2019 at 09:36:00AM +0300, Tomi Valkeinen wrote: > On 07/07/2019 21:18, Laurent Pinchart wrote: > > The TI TPD12S015 is an HDMI level shifter and ESD protector controlled > > through GPIOs. Add a DRM bridge driver for the device. > > > > Signed-off-by: Laurent Pinchart >

[PATCH 2/3] drm/amd/display: remove unused function setFieldWithMask

2019-08-27 Thread YueHaibing
After commit a9f54ce3c603 ("drm/amd/display: Refactoring VTEM"), there is no caller in tree. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- .../drm/amd/display/modules/info_packet/info_packet.c | 19 --- 1 file changed, 19 deletions(-) diff --git a/drivers/gpu/drm/amd/di

Re: [PATCH v2 00/50] drm/omap: Replace custom display drivers with drm_bridge and drm_panel

2019-08-27 Thread Tomi Valkeinen
On 26/08/2019 16:51, Laurent Pinchart wrote: Hi Tomi, On Mon, Aug 26, 2019 at 03:15:23PM +0300, Tomi Valkeinen wrote: On 20/08/2019 04:16, Laurent Pinchart wrote: The patches can be found at git://linuxtv.org/pinchartl/media.git omapdrm/bridge/devel I took your branch, booted AM5 E

Re: [PATCH v2 15/50] drm/bridge: tfp410: Replace manual connector handling with bridge

2019-08-27 Thread Tomi Valkeinen
On 20/08/2019 04:16, Laurent Pinchart wrote: Now that a driver is available for display connectors, replace the manual connector handling code with usage of the DRM bridge API. The tfp410 driver doesn't deal with the display connector directly anymore, but still delegates drm_connector operations

Re: [PATCH 13/60] drm/bridge: tfp410: Don't include drmP.h

2019-08-27 Thread Laurent Pinchart
Hi Tomi, On Tue, Aug 27, 2019 at 09:38:18AM +0300, Tomi Valkeinen wrote: > On 07/07/2019 21:18, Laurent Pinchart wrote: > > The drmP.h header is deprecated, replace it with the headers > > specifically needed by the tfp410 driver. While at it, replace the DRM > > print macros with dev_info() and d

[Bug 204575] Connect a thunderbolt/usb-c dock hang the laptop after resume

2019-08-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204575 --- Comment #3 from Alessandro Surace (zioa...@gmail.com) --- Opened a new bug https://bugs.freedesktop.org/show_bug.cgi?id=111497 -- You are receiving this mail because: You are watching the assignee of the bug.

Re: [PATCH v2 15/50] drm/bridge: tfp410: Replace manual connector handling with bridge

2019-08-27 Thread Laurent Pinchart
Hi Tomi, On Tue, Aug 27, 2019 at 10:43:15AM +0300, Tomi Valkeinen wrote: > On 20/08/2019 04:16, Laurent Pinchart wrote: > > Now that a driver is available for display connectors, replace the > > manual connector handling code with usage of the DRM bridge API. The > > tfp410 driver doesn't deal wit

Re: [PATCH] drm/bridge: tc358767: Expose test mode functionality via debugfs

2019-08-27 Thread Laurent Pinchart
Hi Andrey, On Mon, Aug 26, 2019 at 09:24:57PM -0700, Andrey Smirnov wrote: > On Mon, Aug 26, 2019 at 3:08 PM Laurent Pinchart wrote: > > On Mon, Aug 26, 2019 at 11:25:24AM -0700, Andrey Smirnov wrote: > > > Presently, the driver code artificially limits test pattern mode to a > > > single pattern

RE: [PATCH v2] video: hyperv: hyperv_fb: Obtain screen resolution from Hyper-V host

2019-08-27 Thread Wei Hu
> -Original Message- > From: Michael Kelley > Sent: Thursday, August 22, 2019 7:49 AM > To: Wei Hu ; b.zolnier...@samsung.com; linux- > hyp...@vger.kernel.org; dri-devel@lists.freedesktop.org; linux- > fb...@vger.kernel.org; linux-ker...@vger.kernel.org; sas...@kernel.org; > Stephen Hemmin

[PATCH RFC v2 8/8] drm/meson: Add YUV420 output support

2019-08-27 Thread Neil Armstrong
This patch adds support for the YUV420 output from the Amlogic Meson SoCs Video Processing Unit to the HDMI Controller. The YUV420 is obtained by generating a YUV444 pixel stream like the classic HDMI display modes, but then the Video Encoder output can be configured to down-sample the YUV444 pixe

[PATCH RFC v2 0/8] drm/bridge: dw-hdmi: implement bus-format negotiation and YUV420 support

2019-08-27 Thread Neil Armstrong
This patchset is based on Boris's v2 "drm: Add support for bus-format negotiation" at [1] patchset to implement full bus-format negotiation for DW-HDMI, including YUV420 support and 10/12/16bit YUV444, YUV422 and RGB. The Color Space Converter support is already implemented. And the counterpart

[PATCH RFC v2 5/8] drm/bridge: dw-hdmi: allow ycbcr420 modes for >= 0x200a

2019-08-27 Thread Neil Armstrong
Now the DW-HDMI Controller supports the HDMI2.0 modes, enable support for these modes in the connector if the platform supports them. We limit these modes to DW-HDMI IP version >= 0x200a which are designed to support HDMI2.0 display modes. Signed-off-by: Neil Armstrong --- drivers/gpu/drm/bridge

[PATCH RFC v2 4/8] drm/meson: dw-hdmi: stop enforcing input_bus_format

2019-08-27 Thread Neil Armstrong
To allow using formats from negociation, stop enforcing input_bus_format in the private dw-plat-data struct. Signed-off-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_dw_hdmi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/meson/meson_dw_hdmi.c b/drivers/gpu/drm/meson/m

[PATCH RFC v2 6/8] drm/meson: venc: add support for YUV420 setup

2019-08-27 Thread Neil Armstrong
This patch adds encoding support for the YUV420 output from the Amlogic Meson SoCs Video Processing Unit to the HDMI Controller. The YUV420 is obtained by generating a YUV444 pixel stream like the classic HDMI display modes, but then the Video Encoder output can be configured to down-sample the YU

[PATCH RFC v2 2/8] drm/meson: meson_dw_hdmi: switch to drm_bridge_funcs

2019-08-27 Thread Neil Armstrong
Switch the dw-hdmi driver to drm_bridge_funcs, and implement the atomic_get_input_bus_fmts/atomic_get_output_bus_fmts. Signed-off-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_dw_hdmi.c | 67 +-- 1 file changed, 54 insertions(+), 13 deletions(-) diff --git a/drivers

[PATCH RFC v2 3/8] drm/bridge: synopsys: dw-hdmi: add bus format negociation

2019-08-27 Thread Neil Armstrong
Add the atomic_get_output_bus_fmts, atomic_get_input_bus_fmts to negociate the possible output and input formats for the current mode and monitor, and use the negociated formats in a basic atomic_check callback. Signed-off-by: Neil Armstrong --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 245 ++

[PATCH RFC v2 7/8] drm/meson: vclk: add support for YUV420 setup

2019-08-27 Thread Neil Armstrong
This patch adds clocking support for the YUV420 output from the Amlogic Meson SoCs Video Processing Unit to the HDMI Controller. The YUV420 is obtained by generating a YUV444 pixel stream like the classic HDMI display modes, but then the Video Encoder output can be configured to down-sample the YU

Re: [PATCH v2 17/21] drm/imx: pd: Use bus format/flags provided by the bridge when available

2019-08-27 Thread Philipp Zabel
Hi Boris, On Mon, 2019-08-26 at 17:26 +0200, Boris Brezillon wrote: > Now that bridges can expose the bus format/flags they expect, we can > use those instead of the relying on the display_info provided by the > connector (which is only valid if the encoder is directly connected > to bridge elemen

[PATCH RFC v2 1/8] drm/meson: venc: make drm_display_mode const

2019-08-27 Thread Neil Armstrong
Before switching to bridge funcs, make sure drm_display_mode is passed as const to the venc functions. Signed-off-by: Neil Armstrong Reviewed-by: Boris Brezillon --- drivers/gpu/drm/meson/meson_venc.c | 2 +- drivers/gpu/drm/meson/meson_venc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletio

Re: [PATCH V2] drm: Add LTTPR defines for DP 1.4a

2019-08-27 Thread Jani Nikula
On Mon, 26 Aug 2019, "Siqueira, Rodrigo" wrote: > DP 1.4a specification defines Link Training Tunable PHY Repeater (LTTPR) > which is required to add support for systems with Thunderbolt or other > repeater devices. > > Changes since V1: > - Adjusts registers names to be aligned with spec and the

Re: [PATCH v2 16/21] drm/bridge: Add the necessary bits to support bus format negotiation

2019-08-27 Thread Neil Armstrong
On 26/08/2019 17:26, Boris Brezillon wrote: > This takes the form of various helpers, plus the addition of 2 new > structs: > * drm_bus_caps: describe the bus capabilities of a bridge/encoder. For > bridges we have one for the input port and one for the output port. > Encoders just have one out

[Bug 111498] [amdgpu, Ryzen 7 Pro 3700U] freeze when suspending shortly after wakeup

2019-08-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111498 Bug ID: 111498 Summary: [amdgpu, Ryzen 7 Pro 3700U] freeze when suspending shortly after wakeup Product: DRI Version: unspecified Hardware: x86-64 (AMD64)

Re: [PATCH v2 2/3] fbdev: fbmem: allow overriding the number of bootup logos

2019-08-27 Thread Geert Uytterhoeven
Hi Peter, On Mon, Aug 26, 2019 at 10:46 PM Peter Rosin wrote: > Probably most useful if you only want one logo regardless of how many > CPU cores you have. > > Signed-off-by: Peter Rosin Thanks for your patch! > --- a/Documentation/fb/fbcon.rst > +++ b/Documentation/fb/fbcon.rst > @@ -174,6 +1

Re: [PATCH v2 17/21] drm/imx: pd: Use bus format/flags provided by the bridge when available

2019-08-27 Thread Boris Brezillon
On Tue, 27 Aug 2019 10:15:19 +0200 Philipp Zabel wrote: > Hi Boris, > > On Mon, 2019-08-26 at 17:26 +0200, Boris Brezillon wrote: > > Now that bridges can expose the bus format/flags they expect, we can > > use those instead of the relying on the display_info provided by the > > connector (which

Re: [PATCH RFC v2 2/8] drm/meson: meson_dw_hdmi: switch to drm_bridge_funcs

2019-08-27 Thread Boris Brezillon
On Tue, 27 Aug 2019 10:14:19 +0200 Neil Armstrong wrote: > Switch the dw-hdmi driver to drm_bridge_funcs, and implement the > atomic_get_input_bus_fmts/atomic_get_output_bus_fmts. > > Signed-off-by: Neil Armstrong > --- > drivers/gpu/drm/meson/meson_dw_hdmi.c | 67 +-- >

Re: [PATCH v2 2/3] fbdev: fbmem: allow overriding the number of bootup logos

2019-08-27 Thread Peter Rosin
On 2019-08-27 10:36, Geert Uytterhoeven wrote: > Hi Peter, > > On Mon, Aug 26, 2019 at 10:46 PM Peter Rosin wrote: >> Probably most useful if you only want one logo regardless of how many >> CPU cores you have. >> >> Signed-off-by: Peter Rosin > > Thanks for your patch! > >> --- a/Documentatio

Re: [PATCH RFC v2 3/8] drm/bridge: synopsys: dw-hdmi: add bus format negociation

2019-08-27 Thread Boris Brezillon
On Tue, 27 Aug 2019 10:14:20 +0200 Neil Armstrong wrote: > Add the atomic_get_output_bus_fmts, atomic_get_input_bus_fmts to negociate ^negotiate > the possible output and input formats for the current mode and monitor, > and use

Re: [PATCH RFC v2 4/8] drm/meson: dw-hdmi: stop enforcing input_bus_format

2019-08-27 Thread Boris Brezillon
On Tue, 27 Aug 2019 10:14:21 +0200 Neil Armstrong wrote: > To allow using formats from negociation, stop enforcing input_bus_format ^ negotiation > in the private dw-plat-data struct. > > Signed-off-by: Neil Armstrong Reviewed-by: Boris Brezillon > --- > driv

Re: [PATCH v2 44/50] drm/omap: dpi: Register a drm_bridge

2019-08-27 Thread Hans Verkuil
Hi Laurent, I tried this series with my Pandaboard, but it broke my Pandaboard. After doing a git bisect it ended up with this patch as the culprit. If I boot my Pandaboard I get this: [3.271881] omapdss_dss 5800.dss: 5800.dss supply vdda_video not found, using dummy regulator [

Re: [PATCH v2 2/3] fbdev: fbmem: allow overriding the number of bootup logos

2019-08-27 Thread Geert Uytterhoeven
Hi Peter, On Tue, Aug 27, 2019 at 10:54 AM Peter Rosin wrote: > On 2019-08-27 10:36, Geert Uytterhoeven wrote: > > On Mon, Aug 26, 2019 at 10:46 PM Peter Rosin wrote: > >> Probably most useful if you only want one logo regardless of how many > >> CPU cores you have. > >> > >> Signed-off-by: Pete

Re: [PATCH v2 17/21] drm/imx: pd: Use bus format/flags provided by the bridge when available

2019-08-27 Thread Philipp Zabel
On Tue, 2019-08-27 at 10:43 +0200, Boris Brezillon wrote: [...] > > > +static void > > > +imx_pd_bridge_atomic_get_output_bus_fmts(struct drm_bridge *bridge, > > > + struct drm_bridge_state *bridge_state, > > > + struct drm_crtc_stat

Re: [PATCH v2 00/50] drm/omap: Replace custom display drivers with drm_bridge and drm_panel

2019-08-27 Thread Laurent Pinchart
Hi Tomi, On Tue, Aug 27, 2019 at 10:34:59AM +0300, Tomi Valkeinen wrote: > On 26/08/2019 16:51, Laurent Pinchart wrote: > > On Mon, Aug 26, 2019 at 03:15:23PM +0300, Tomi Valkeinen wrote: > >> On 20/08/2019 04:16, Laurent Pinchart wrote: > >> > >>> The patches can be found at > >>> > >>> git://l

Re: [PATCH v2 00/50] drm/omap: Replace custom display drivers with drm_bridge and drm_panel

2019-08-27 Thread Tomi Valkeinen
On 27/08/2019 12:29, Laurent Pinchart wrote: Hi Tomi, On Tue, Aug 27, 2019 at 10:34:59AM +0300, Tomi Valkeinen wrote: On 26/08/2019 16:51, Laurent Pinchart wrote: On Mon, Aug 26, 2019 at 03:15:23PM +0300, Tomi Valkeinen wrote: On 20/08/2019 04:16, Laurent Pinchart wrote: The patches can be

Re: [PATCH v2 00/50] drm/omap: Replace custom display drivers with drm_bridge and drm_panel

2019-08-27 Thread Laurent Pinchart
Hi Tomi, On Tue, Aug 27, 2019 at 12:32:46PM +0300, Tomi Valkeinen wrote: > On 27/08/2019 12:29, Laurent Pinchart wrote: > > On Tue, Aug 27, 2019 at 10:34:59AM +0300, Tomi Valkeinen wrote: > >> On 26/08/2019 16:51, Laurent Pinchart wrote: > >>> On Mon, Aug 26, 2019 at 03:15:23PM +0300, Tomi Valkein

Re: [PATCH v3 2/4] backlight: Expose brightness curve type through sysfs

2019-08-27 Thread Lee Jones
[...] > > IIUC the conclusion is that there is no need for a string attribute > > because we only need to distinguish between 'perceptual' and > > 'non-perceptual'. If that is correct, do you have any preference for > > the attribute name ('perceptual_scale', 'perceptual', ...)? > > More a summar

Re: [PATCH v2 44/50] drm/omap: dpi: Register a drm_bridge

2019-08-27 Thread Laurent Pinchart
Hi Hans, On Tue, Aug 27, 2019 at 11:07:56AM +0200, Hans Verkuil wrote: > Hi Laurent, > > I tried this series with my Pandaboard, but it broke my Pandaboard. After > doing a git bisect it ended up with this patch as the culprit. > > If I boot my Pandaboard I get this: > > [3.271881] omapdss_

Re: [PATCH v3 03/14] arm64: dts: renesas: r8a7796: Add CMM units

2019-08-27 Thread Jacopo Mondi
Hi Laurent, On Tue, Aug 27, 2019 at 01:43:37AM +0300, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > Should you squash this with the patches that add CMM units to the other > SoCs ? I don't know, I guess it depends on Geert's preferences. Geert? > > On Sun, Aug 25, 2019 a

Re: [PATCH v2 17/21] drm/imx: pd: Use bus format/flags provided by the bridge when available

2019-08-27 Thread Boris Brezillon
On Tue, 27 Aug 2019 11:23:02 +0200 Philipp Zabel wrote: > On Tue, 2019-08-27 at 10:43 +0200, Boris Brezillon wrote: > [...] > > > > +static void > > > > +imx_pd_bridge_atomic_get_output_bus_fmts(struct drm_bridge *bridge, > > > > +struct drm_bridge_state >

[PATCH 1/2] drm/meson: dw_hdmi: add resume/suspend hooks

2019-08-27 Thread Neil Armstrong
Add the suspens and resume hooks to: - reset the whole HDMI glue and HDMI controller on suspend - re-init the HDMI glue and HDMI controller on resume The HDMI glue init is refactored to be re-used from the resume hook. It makes usage of dw_hdmi_resume() to recover a functionnal DDC bus. Signed-o

[PATCH 2/2] drm/meson: add resume/suspend hooks

2019-08-27 Thread Neil Armstrong
Add the suspend and resume hooks to: - save and disable the entire DRM driver on suspend - re-init the entire VPU subsystem on resume, to recover CRTC and pixel generator functionnal usage after DDR suspend, then recover DRM driver state Signed-off-by: Neil Armstrong --- drivers/gpu/drm/meson/me

[PATCH 0/2] drm/meson: add resume/suspend hooks

2019-08-27 Thread Neil Armstrong
This serie adds the resume/suspend hooks in the Amlogic Meson VPU main driver and the DW-HDMI Glue driver to correctly save state and disable HW before suspend, and succesfully re-init the HW to recover functionnal display after resume. This serie has been tested on Amlogic G12A based SEI510 board

Re: [PATCH v9 6/6] drm/i915/hdcp: Enable HDCP 1.4 and 2.2 on Gen12+

2019-08-27 Thread Sharma, Shashank
Regards Shashank On 8/22/2019 8:49 PM, Ramalingam C wrote: From Gen12 onwards, HDCP HW block is implemented within transcoders. Till Gen11 HDCP HW block was part of DDI. Hence required changes in HW programming is handled here. As ME FW needs the transcoder detail on which HDCP is enabled on

Re: [PATCH RFC v2 3/8] drm/bridge: synopsys: dw-hdmi: add bus format negociation

2019-08-27 Thread Neil Armstrong
On 27/08/2019 11:03, Boris Brezillon wrote: > On Tue, 27 Aug 2019 10:14:20 +0200 > Neil Armstrong wrote: > >> Add the atomic_get_output_bus_fmts, atomic_get_input_bus_fmts to negociate > > ^negotiate > >> the possible output and i

Re: [PATCH v3 03/14] arm64: dts: renesas: r8a7796: Add CMM units

2019-08-27 Thread Geert Uytterhoeven
Hi Jacopo, On Tue, Aug 27, 2019 at 11:53 AM Jacopo Mondi wrote: > On Tue, Aug 27, 2019 at 01:43:37AM +0300, Laurent Pinchart wrote: > > Should you squash this with the patches that add CMM units to the other > > SoCs ? > > I don't know, I guess it depends on Geert's preferences. Geert? If you ad

Re: [PATCH 2/2] drm/nouveau: Add HD-audio component notifier support

2019-08-27 Thread Takashi Iwai
On Mon, 22 Jul 2019 16:38:15 +0200, Takashi Iwai wrote: > > This patch adds the support for the notification of HD-audio hotplug > via the already existing drm_audio_component framework. This allows > us more reliable hotplug notification and ELD transfer without > accessing HD-audio bus; it's mo

[Bug 111498] [amdgpu, Ryzen 7 Pro 3700U] freeze when suspending shortly after wakeup

2019-08-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111498 Rohan Lean changed: What|Removed |Added Priority|not set |high --- Comment #1 from Rohan Lean --- I

Re: [PATCH v2 44/50] drm/omap: dpi: Register a drm_bridge

2019-08-27 Thread Laurent Pinchart
Hi Hans, On Tue, Aug 27, 2019 at 12:51:08PM +0300, Laurent Pinchart wrote: > On Tue, Aug 27, 2019 at 11:07:56AM +0200, Hans Verkuil wrote: > > Hi Laurent, > > > > I tried this series with my Pandaboard, but it broke my Pandaboard. After > > doing a git bisect it ended up with this patch as the cu

[PATCH v10 5/6] drm/i915/hdcp: update current transcoder into intel_hdcp

2019-08-27 Thread Ramalingam C
On gen12+ platforms, HDCP HW is associated to the transcoder. Hence on every modeset update associated transcoder into the intel_hdcp of the port. v2: s/trans/cpu_transcoder [Jani] v3: comment is added for fw_ddi init for gen12+ [Shashank] only hdcp capable transcoder is translated into fw_t

[PATCH v10 3/6] drm: Extend I915 mei interface for transcoder info

2019-08-27 Thread Ramalingam C
I915 needs to send the index of the transcoder as per ME FW. To support this, define enum mei_fw_tc and add as a member into the struct hdcp_port_data. v2: Typo in commit msg is fixed [Shashank] Signed-off-by: Ramalingam C Acked-by: Jani Nikula --- include/drm/i915_mei_hdcp_interface.h | 13

[PATCH v10 0/6] drm/i915: Enable HDCP 1.4 and 2.2 on Gen12+

2019-08-27 Thread Ramalingam C
Enabling the HDCP1.4 and 2.2 on TGL by supporting the HW block movement from DDI into transcoder. v10: Review comments from shashank addressed Ramalingam C (6): drm/i915: mei_hdcp: I915 sends ddi index as per ME FW drm: Move port definition back to i915 header drm: Extend I915 mei interfa

[PATCH v10 2/6] drm: Move port definition back to i915 header

2019-08-27 Thread Ramalingam C
We dont need the definition of the enum port outside I915, anymore. Hence move enum port definition into I915 driver itself. v2: intel_display.h is included in intel_hdcp.h v3: enum port is declared in headers. v4: commit msg is rephrased. Signed-off-by: Ramalingam C Reviewed-by: Jani Niku

[PATCH v10 4/6] misc/mei/hdcp: Fill transcoder index in port info

2019-08-27 Thread Ramalingam C
For gen12+ platform we need to pass the transcoder info as part of the port info into ME FW. This change fills the payload for ME FW from hdcp_port_data. Signed-off-by: Ramalingam C Acked-by: Jani Nikula Reviewed-by: Shashank Sharma --- drivers/misc/mei/hdcp/mei_hdcp.c | 11 +++ drive

[PATCH v10 1/6] drm/i915: mei_hdcp: I915 sends ddi index as per ME FW

2019-08-27 Thread Ramalingam C
I915 converts it's port value into ddi index defiend by ME FW and pass it as a member of hdcp_port_data structure. Hence expose the enum mei_fw_ddi to I915 through i915_mei_interface.h. Signed-off-by: Ramalingam C Acked-by: Jani Nikula Reviewed-by: Shashank Sharma --- drivers/gpu/drm/i915/dis

[PATCH v10 6/6] drm/i915/hdcp: Enable HDCP 1.4 and 2.2 on Gen12+

2019-08-27 Thread Ramalingam C
>From Gen12 onwards, HDCP HW block is implemented within transcoders. Till Gen11 HDCP HW block was part of DDI. Hence required changes in HW programming is handled here. As ME FW needs the transcoder detail on which HDCP is enabled on Gen12+ platform, we are populating the detail in hdcp_port_dat

Re: [PATCH v3 1/8] drm/panfrost: Rework runtime PM initialization

2019-08-27 Thread Robin Murphy
On 26/08/2019 23:33, Rob Herring wrote: There's a few issues with the runtime PM initialization. The documentation states pm_runtime_set_active() should be called before pm_runtime_enable(). The pm_runtime_put_autosuspend() could suspend the GPU before panfrost_perfcnt_init() is called which tou

Re: [PATCH v3 3/8] drm/panfrost: Remove unnecessary mmu->lock mutex

2019-08-27 Thread Robin Murphy
On 26/08/2019 23:33, Rob Herring wrote: There's no need to serialize io-pgtable calls and the as_lock is sufficient to serialize flush operations, so we can remove the per page table lock. Reviewed-by: Robin Murphy Fixes: 7282f7645d06 ("drm/panfrost: Implement per FD address spaces") Suggest

Re: [PATCH v3 4/8] drm/panfrost: Rework page table flushing and runtime PM interaction

2019-08-27 Thread Robin Murphy
On 26/08/2019 23:33, Rob Herring wrote: There is no point in resuming the h/w just to do flush operations and doing so takes several locks which cause lockdep issues with the shrinker. Rework the flush operations to only happen when the h/w is already awake. This avoids taking any locks associate

[PATCH v3 0/3] Add possibility to specify the number of displayed logos

2019-08-27 Thread Peter Rosin
Hi! The first patch fixes the fact that there are two items numbered "4" in the list of fbcon options. This bug is a teenager... The second patch extends that list with a new option that allows the user to display any number of logos (that fits on the screen). I need it to limit the display to on

[PATCH v3 3/3] fbdev: fbmem: avoid exporting fb_center_logo

2019-08-27 Thread Peter Rosin
The variable is only ever used from fbcon.c which is linked into the same module. Therefore, the export is not needed. Signed-off-by: Peter Rosin --- drivers/video/fbdev/core/fbmem.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/core/fbmem.c b/drivers/video/fbdev/core/fb

[PATCH v3 2/3] fbdev: fbmem: allow overriding the number of bootup logos

2019-08-27 Thread Peter Rosin
Probably most useful if you want no logo at all, or if you only want one logo regardless of how many CPU cores you have. Signed-off-by: Peter Rosin --- Documentation/fb/fbcon.rst | 5 + drivers/video/fbdev/core/fbcon.c | 7 +++ drivers/video/fbdev/core/fbmem.c | 12 +---

[PATCH v3 1/3] fbdev: fix numbering of fbcon options

2019-08-27 Thread Peter Rosin
Three shall be the number thou shalt count, and the number of the counting shall be three. Four shalt thou not count... One! Two! Five! Fixes: efb985f6b265 ("[PATCH] fbcon: Console Rotation - Add framebuffer console documentation") Signed-off-by: Peter Rosin --- Documentation/fb/fbcon.rst | 8

Re: [PATCH v3 7/8] drm/panfrost: Flush and disable address space when freeing page tables

2019-08-27 Thread Robin Murphy
On 26/08/2019 23:33, Rob Herring wrote: Currently, page tables are freed without disabling the address space first. This probably is fine as we'll switch to new page tables when the address space is allocated again and runtime PM suspend will reset the GPU clearing the registers. However, it's be

Re: [PATCH v3 1/3] fbdev: fix numbering of fbcon options

2019-08-27 Thread Geert Uytterhoeven
On Tue, Aug 27, 2019 at 1:09 PM Peter Rosin wrote: > Three shall be the number thou shalt count, and the number of the > counting shall be three. Four shalt thou not count... > > One! Two! Five! > > Fixes: efb985f6b265 ("[PATCH] fbcon: Console Rotation - Add framebuffer > console documentation")

[PATHC v2] video: hyperv: hyperv_fb: Support deferred IO for Hyper-V frame buffer driver

2019-08-27 Thread Wei Hu
Without deferred IO support, hyperv_fb driver informs the host to refresh the entire guest frame buffer at fixed rate, e.g. at 20Hz, no matter there is screen update or not. This patch supports deferred IO for screens in graphics mode and also enables the frame buffer on-demand refresh. The highest

Re: [PATCH v3 2/3] fbdev: fbmem: allow overriding the number of bootup logos

2019-08-27 Thread Geert Uytterhoeven
On Tue, Aug 27, 2019 at 1:09 PM Peter Rosin wrote: > Probably most useful if you want no logo at all, or if you only want one > logo regardless of how many CPU cores you have. > > Signed-off-by: Peter Rosin Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert --

Re: [PATCH v3 6/8] drm/panfrost: Add cache/TLB flush before switching address space

2019-08-27 Thread Robin Murphy
On 26/08/2019 23:33, Rob Herring wrote: It's not entirely clear if this is required, but add a flush of GPU caches and TLBs before we change an address space to new page tables. This might work out to be partially redundant with some of the revamped flushing in #7, but unless it proves to be a

Re: [PATCH v3 3/3] fbdev: fbmem: avoid exporting fb_center_logo

2019-08-27 Thread Geert Uytterhoeven
Hi Peter, On Tue, Aug 27, 2019 at 1:09 PM Peter Rosin wrote: > The variable is only ever used from fbcon.c which is linked into the > same module. Therefore, the export is not needed. > > Signed-off-by: Peter Rosin Reviewed-by: Geert Uytterhoeven But note that the same is true for fb_class, s

Re: [PATCH 1/9] dma-buf: fix dma_fence_array_signaled

2019-08-27 Thread Chris Wilson
Quoting Christian König (2019-08-26 15:57:23) > The function is supposed to give a hint even if signaling is not enabled. > > Signed-off-by: Christian König > --- > drivers/dma-buf/dma-fence-array.c | 12 +++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --git a/drivers/dm

Re: Display-Port HPD handling, link status, and bandwidth checks

2019-08-27 Thread Tomi Valkeinen
On 25/08/2019 23:23, Ilia Mirkin wrote: You'll probably get a more detailed reply during the week, but for now have a look at the "link-status" property, which was made for precisely this situation. I think basically the idea is to ignore link training as part of the modeset, and just return the

[PATCH 1/4] drm/modes: Add a switch to differentiate free standing options

2019-08-27 Thread Maxime Ripard
From: Maxime Ripard Some extra command line options can be either specified without anything else on the command line (basically all the force connection options), but some other are only relevant when matched with a resolution (margin and interlace). Let's add a switch to restrict if needed the

[PATCH 2/4] drm/modes: Fix the command line parser to take force options into account

2019-08-27 Thread Maxime Ripard
From: Maxime Ripard The command line parser when it has been rewritten introduced a regression when the only thing on the command line is an option to force the detection of a connector (such as video=HDMI-A-1:d), which are completely valid. It's been further broken by the support for the named

[PATCH 3/4] drm/modes: Introduce a whitelist for the named modes

2019-08-27 Thread Maxime Ripard
From: Maxime Ripard The named modes support has introduced a number of glitches that were in part due to the fact that the parser will take any string as a named mode. Since we shouldn't have a lot of options there (and they should be pretty standard), let's introduce a whitelist of the availabl

[PATCH 4/4] drm/selftests: modes: Add more unit tests for the cmdline parser

2019-08-27 Thread Maxime Ripard
From: Maxime Ripard Let's add some unit tests for the recent bugs we just fixed. Signed-off-by: Maxime Ripard --- .../gpu/drm/selftests/drm_cmdline_selftests.h | 7 + .../drm/selftests/test-drm_cmdline_parser.c | 130 ++ 2 files changed, 137 insertions(+) diff --git a/driv

Re: [PATCH v3 1/2] dt-bindings: display/bridge: Add binding for NWL mipi dsi host controller

2019-08-27 Thread Rob Herring
On Thu, Aug 22, 2019 at 5:44 AM Guido Günther wrote: > > The Northwest Logic MIPI DSI IP core can be found in NXPs i.MX8 SoCs. > > Signed-off-by: Guido Günther > --- > .../bindings/display/bridge/nwl-dsi.yaml | 155 ++ > 1 file changed, 155 insertions(+) > create mode 10064

Re: [PATCH v7 2/7] dt-bindings: display: msm: gmu: add optional ocmem property

2019-08-27 Thread Rob Herring
On Fri, Aug 23, 2019 at 7:16 AM Brian Masney wrote: > > Some A3xx and A4xx Adreno GPUs do not have GMEM inside the GPU core and > must use the On Chip MEMory (OCMEM) in order to be functional. Add the > optional ocmem property to the Adreno Graphics Management Unit bindings. > > Signed-off-by: Bri

Re: dma-buf: Add selftests for dma-fence

2019-08-27 Thread Geert Uytterhoeven
Hi Chris, When running the new dmabuf-selftests on two different systems, I get: dma-buf: Running sanitycheck dma-buf: Running dma_fence sizeof(dma_fence)=48 dma-buf: Running dma_fence/sanitycheck dma-buf: Running dma_fence/test_signaling dma-buf: Running dma_fence/test_ad

Re: [LKP] [drm/mgag200] 90f479ae51: vm-scalability.median -18.8% regression

2019-08-27 Thread Chen, Rong A
Hi Thomas, On 8/26/2019 6:50 PM, Thomas Zimmermann wrote: Hi Feng Am 24.08.19 um 07:16 schrieb Feng Tang: Hi Thomas, On Thu, Aug 22, 2019 at 07:25:11PM +0200, Thomas Zimmermann wrote: Hi I was traveling and could reply earlier. Sorry for taking so long. No problem! I guessed so :) Am 13.

Re: dma-buf: Add selftests for dma-fence

2019-08-27 Thread Chris Wilson
Quoting Geert Uytterhoeven (2019-08-27 13:30:04) > Hi Chris, > > When running the new dmabuf-selftests on two different systems, I get: > > dma-buf: Running sanitycheck > dma-buf: Running dma_fence > sizeof(dma_fence)=48 > dma-buf: Running dma_fence/sanitycheck > dma-buf: Runn

Re: [PATCH v2 17/21] drm/imx: pd: Use bus format/flags provided by the bridge when available

2019-08-27 Thread Philipp Zabel
On Tue, 2019-08-27 at 11:57 +0200, Boris Brezillon wrote: > On Tue, 27 Aug 2019 11:23:02 +0200 > Philipp Zabel wrote: > > On Tue, 2019-08-27 at 10:43 +0200, Boris Brezillon wrote: [...] > > Absolutely. This was just a cosmetic remark. I'm suggesting to put this > > branch below the other two, to i

[Bug 111502] Dell XPS15 (HD530 & GeForce 950) external screen via dock/HDMI no text display & gdm freeze

2019-08-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111502 Bug ID: 111502 Summary: Dell XPS15 (HD530 & GeForce 950) external screen via dock/HDMI no text display & gdm freeze Product: DRI Version: unspecified Hardware: x86-64 (AMD

Re: [PATCH 1/2] drm/radeon: Add HD-audio component notifier support

2019-08-27 Thread Alex Deucher
On Mon, Jul 22, 2019 at 10:38 AM Takashi Iwai wrote: > > This patch adds the support for the notification of HD-audio hotplug > via the already existing drm_audio_component framework to radeon > driver. This allows us more reliable hotplug notification and ELD > transfer without accessing HD-audi

RE: [PATCH v10 0/6] drm/i915: Enable HDCP 1.4 and 2.2 on Gen12+

2019-08-27 Thread Winkler, Tomas
> Enabling the HDCP1.4 and 2.2 on TGL by supporting the HW block movement > from DDI into transcoder. In some files needs to bump the copyright to 2019. > > v10: > Review comments from shashank addressed > > Ramalingam C (6): > drm/i915: mei_hdcp: I915 sends ddi index as per ME FW > drm

Re: [PATCH v2 2/4] x86/vmware: Add a header file for hypercall definitions

2019-08-27 Thread Borislav Petkov
On Fri, Aug 23, 2019 at 10:13:14AM +0200, Thomas Hellström (VMware) wrote: > From: Thomas Hellstrom > > The new header is intended to be used by drivers using the backdoor. > Follow the kvm example using alternatives self-patching to > choose between vmcall, vmmcall and io instructions. > > Also

[Bug 204227] Visual artefacts and crash from suspend on amdgpu

2019-08-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204227 --- Comment #5 from Alex Deucher (alexdeuc...@gmail.com) --- This issue should be fixed with this patch: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=98f58ada2d37e68125c056f1fc005748251879c2 -- You are receiving

  1   2   >