Re: linux-next: Tree for Aug 19 (amdgpu)

2019-08-20 Thread Randy Dunlap
On 8/19/19 2:18 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20190816: > on x86_64: ../drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c: In function ‘amdgpu_exit’: ../drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:1471:2: error: implicit declaration of function ‘mmu_notifier_synchronize’; did you

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

2019-08-20 Thread Ramalingam C
Enabling the HDCP1.4 and 2.2 on TGL by supporting the HW block movement from DDI into transcoder. v6: Extending the I915-MEI HDCP interface to include the transcoder. For register programming, transcoder is used instead of PIPE. Just readability improvement pipe and transcoder

[PATCHv2 2/2] i915: do not leak module ref counter

2019-08-20 Thread Sergey Senozhatsky
Always put_filesystem() in i915_gemfs_init(). Signed-off-by: Sergey Senozhatsky --- - v2: rebased (i915 does not remount gemfs anymore) drivers/gpu/drm/i915/gem/i915_gemfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/i915/gem/i915_gemfs.c

Re: [PATCH v7 0/9] drm: cec: convert DRM drivers to the new notifier API

2019-08-20 Thread Hans Verkuil
On 8/19/19 4:48 PM, Neil Armstrong wrote: > Hi Dariusz, Hans, > > I can apply the dw-hdmi patches if necessary. I'd appreciate it if you can do that. Thanks, Hans > > Neil > > On 19/08/2019 11:38, Hans Verkuil wrote: >> Hi all, >> >> The patches in this series can be applied

Re: [PATCH ARM] selftests, arm64: fix uninitialized symbol in tags_test.c

2019-08-20 Thread Andrey Konovalov
On Mon, Aug 19, 2019 at 3:14 PM Andrey Konovalov wrote: > > Fix tagged_ptr not being initialized when TBI is not enabled. > > Dan Carpenter > Signed-off-by: Andrey Konovalov > --- > tools/testing/selftests/arm64/tags_test.c | 8 +--- > 1 file changed, 5 insertions(+), 3 deletions(-) > >

Re: [v5,05/12] drm/modes: Rewrite the command line parser

2019-08-20 Thread Thomas Graichen
On Mon, Aug 19, 2019 at 8:54 PM Jernej Škrabec wrote: > > +CC: Thomas Graichen > > Dne ponedeljek, 17. junij 2019 ob 16:51:32 CEST je Maxime Ripard napisal(a): > > From: Maxime Ripard > > > > Rewrite the command line parser in order to get away from the state machine > > parsing the video mode

Re: [PATCH v7 0/9] drm: cec: convert DRM drivers to the new notifier API

2019-08-20 Thread Dariusz Marcinkiewicz
On Mon, Aug 19, 2019 at 11:38 AM Hans Verkuil wrote: > > Hi all, > Hi Hans. > The patches in this series can be applied independently from each other. > > If you maintain one of these drivers and you want to merge it for v5.4 > yourself, then please do so and let me know. If you prefer I commit

[PATCH v6 1/3] drm/i915: enum transcoder and pipe are moved into i915_drm.h

2019-08-20 Thread Ramalingam C
For the reusability of the enum transcoder and enum pipe in other driver modules (like mei_hdcp), enum port definition is moved from I915 local header intel_display.h to drm/i915_drm.h Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/display/intel_display.h | 44 ---

[PATCH ARM] selftests, arm64: fix uninitialized symbol in tags_test.c

2019-08-20 Thread Andrey Konovalov
Fix tagged_ptr not being initialized when TBI is not enabled. Dan Carpenter Signed-off-by: Andrey Konovalov --- tools/testing/selftests/arm64/tags_test.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/testing/selftests/arm64/tags_test.c

Re: [PATCH ARM] selftests, arm64: fix uninitialized symbol in tags_test.c

2019-08-20 Thread Andrey Konovalov
On Mon, Aug 19, 2019 at 5:39 PM Will Deacon wrote: > > On Mon, Aug 19, 2019 at 05:16:37PM +0200, Andrey Konovalov wrote: > > On Mon, Aug 19, 2019 at 5:03 PM Will Deacon wrote: > > > > > > On Mon, Aug 19, 2019 at 03:14:42PM +0200, Andrey Konovalov wrote: > > > > Fix tagged_ptr not being

[PATCH v6 2/3] misc/mei_hdcp: Adding the transcoder detail in payload input

2019-08-20 Thread Ramalingam C
ME FW takes the transcoder details for Gen12+ platforms, as HDCP HW block is moved to transcoders. hdcp_port_data is extended with enum transcoder. Payload structure is modified and populated from the hdcp_port_data. Signed-off-by: Ramalingam C --- drivers/misc/mei/hdcp/mei_hdcp.c | 27

Re: linux-next: Tree for Aug 19 (gpu/drm/amd/display/)

2019-08-20 Thread Randy Dunlap
On 8/19/19 2:18 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20190816: > on i386: ld: drivers/gpu/drm/amd/display/dc/core/dc_link.o: in function `wait_for_alt_mode': dc_link.c:(.text+0x1f38): undefined reference to `__udivdi3' ld: dc_link.c:(.text+0x1f71): undefined reference to

Re: [PATCH v7 0/9] drm: cec: convert DRM drivers to the new notifier API

2019-08-20 Thread Hans Verkuil
On 8/19/19 1:28 PM, Dariusz Marcinkiewicz wrote: > On Mon, Aug 19, 2019 at 11:38 AM Hans Verkuil > wrote: >> >> Hi all, >> > Hi Hans. >> The patches in this series can be applied independently from each other. >> >> If you maintain one of these drivers and you want to merge it for v5.4 >>

Re: [PATCH 0/6] drm+dma: cache support for arm, etc

2019-08-20 Thread Rob Clark
On Sun, Aug 18, 2019 at 10:23 PM Christoph Hellwig wrote: > > On Fri, Aug 16, 2019 at 02:04:35PM -0700, Rob Clark wrote: > > I don't disagree about needing an API to get uncached memory (or > > ideally just something outside of the linear map). But I think this > > is a separate problem. > > > >

Re: [v5,05/12] drm/modes: Rewrite the command line parser

2019-08-20 Thread Jernej Škrabec
+CC: Thomas Graichen Dne ponedeljek, 17. junij 2019 ob 16:51:32 CEST je Maxime Ripard napisal(a): > From: Maxime Ripard > > Rewrite the command line parser in order to get away from the state machine > parsing the video mode lines. > > Hopefully, this will allow to extend it more easily to

Re: [PATCH ARM] selftests, arm64: fix uninitialized symbol in tags_test.c

2019-08-20 Thread Andrey Konovalov
On Mon, Aug 19, 2019 at 5:03 PM Will Deacon wrote: > > On Mon, Aug 19, 2019 at 03:14:42PM +0200, Andrey Konovalov wrote: > > Fix tagged_ptr not being initialized when TBI is not enabled. > > > > Dan Carpenter > > Guessing this was Reported-by, or has Dan introduced his own tag now? ;) Oops,

Re: [PATCH v7 3/9] dw-hdmi-cec: use cec_notifier_cec_adap_(un)register

2019-08-20 Thread Neil Armstrong
On 19/08/2019 16:35, Neil Armstrong wrote: > On 14/08/2019 12:45, Dariusz Marcinkiewicz wrote: >> Use the new cec_notifier_cec_adap_(un)register() functions to >> (un)register the notifier for the CEC adapter. >> >> Also adds CEC_CAP_CONNECTOR_INFO capability to the adapter. >> >> Changes since

Re: [PATCH v2 01/19] dt-bindings: display: renesas,cmm: Add R-Car CMM documentation

2019-08-20 Thread Jacopo Mondi
Hi Geert, sorry for the delayed response.. On Mon, Aug 19, 2019 at 03:45:54PM +0200, Geert Uytterhoeven wrote: > Hi Jacopo, > > On Mon, Jul 8, 2019 at 9:58 AM Geert Uytterhoeven > wrote: > > On Sat, Jul 6, 2019 at 4:07 PM Jacopo Mondi > > wrote: > > > Add device tree bindings documentation

Re: [PATCH] drm/kms: Catch mode_object lifetime errors

2019-08-20 Thread Daniel Vetter
On Sat, Aug 17, 2019 at 12:42 AM Souza, Jose wrote: > On Sat, 2019-06-29 at 17:39 +0200, Daniel Vetter wrote: > > On Fri, Jun 28, 2019 at 7:24 PM Sean Paul wrote: > > > On Fri, Jun 14, 2019 at 08:17:23AM +0200, Daniel Vetter wrote: > > > > Only dynamic mode objects, i.e. those which are

Re: [PATCH v2 01/19] dt-bindings: display: renesas,cmm: Add R-Car CMM documentation

2019-08-20 Thread Jacopo Mondi
Hi Geert, On Tue, Aug 20, 2019 at 09:53:44AM +0200, Geert Uytterhoeven wrote: > Hi Jacopo, > > On Tue, Aug 20, 2019 at 9:47 AM Jacopo Mondi wrote: > > On Mon, Aug 19, 2019 at 03:45:54PM +0200, Geert Uytterhoeven wrote: > > > On Mon, Jul 8, 2019 at 9:58 AM Geert Uytterhoeven > > > wrote: > > >

Re: [PATCH] drm/qxl: fix a memory leak bug

2019-08-20 Thread Gerd Hoffmann
On Mon, Aug 19, 2019 at 01:08:18PM -0500, Wenwen Wang wrote: > In qxl_bo_create(), the temporary 'bo' is allocated through kzalloc(). > However, it is not deallocated in the following execution if ttm_bo_init() > fails, leading to a memory leak bug. To fix this issue, free 'bo' before > returning

[PATCH v6 3/3] drm/i915: Enable HDCP 1.4 and 2.2 on Gen12+

2019-08-20 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

Re: [PATCH v7 8/9] drm: dw-hdmi: use cec_notifier_conn_(un)register

2019-08-20 Thread Neil Armstrong
On 19/08/2019 16:47, Neil Armstrong wrote: > On 19/08/2019 16:41, Hans Verkuil wrote: >> On 8/19/19 4:38 PM, Neil Armstrong wrote: >>> Hi Hans, >>> >>> On 19/08/2019 16:05, Hans Verkuil wrote: On 8/19/19 11:32 AM, Hans Verkuil wrote: > On 8/14/19 12:45 PM, Dariusz Marcinkiewicz wrote:

Re: [PATCH v6 2/3] misc/mei_hdcp: Adding the transcoder detail in payload input

2019-08-20 Thread Ramalingam C
On 2019-08-20 at 14:15:47 +0530, Winkler, Tomas wrote: > > > > > ME FW takes the transcoder details for Gen12+ platforms, as HDCP HW block is > > moved to transcoders. > > > > hdcp_port_data is extended with enum transcoder. Payload structure is > > modified and populated from the

Re: [PATCH v2.1] drm/komeda: Add support for 'memory-region' DT node property

2019-08-20 Thread Ayan Halder
On Mon, Aug 05, 2019 at 10:13:35AM +, james qian wang (Arm Technology China) wrote: > On Mon, Aug 05, 2019 at 05:56:25PM +0800, Mihail Atanassov wrote: > > The 'memory-region' property of the komeda display driver DT binding > > allows the use of a 'reserved-memory' node for buffer

Re: [PATCH 1/2] video: omapfb2: Make standard and custom panel drivers mutually exclusive

2019-08-20 Thread Sam Ravnborg
Hi Daniel > > > > Ohh, and dim came to my rescue. My Fixes: syntax was wrong but it was > > caught in my "dim push" - nice. > > Aside: dim fixes and dim cite should generate conformant commit citations. Maybe I should invest more time in the wonders of dim. So far my use is limited to:

Re: [PATCH v2 13/50] drm/bridge: panel: Implement bridge connector operations

2019-08-20 Thread Sam Ravnborg
Hi Laurent. On Tue, Aug 20, 2019 at 04:16:44AM +0300, Laurent Pinchart wrote: > Implement the newly added bridge connector operations, allowing the > usage of drm_bridge_panel with drm_bridge_connector. > > Signed-off-by: Laurent Pinchart > --- > drivers/gpu/drm/bridge/panel.c | 18

[Bug 111261] Screen remains black when 2 monitors are connected

2019-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111261 --- Comment #6 from Fab Stz --- The issue seems to be related to these calls in file amdgpu-19.30-855429/amd/display/amdgpu_dm/amdgpu_dm.c twice: kcl_drm_dp_cec_unset_edid(>dm_dp_aux.aux); once: kcl_drm_dp_cec_set_edid(>dm_dp_aux.aux,

Re: [PATCH] drm/kms: Catch mode_object lifetime errors

2019-08-20 Thread Jani Nikula
On Tue, 20 Aug 2019, Daniel Vetter wrote: > On Sat, Aug 17, 2019 at 12:42 AM Souza, Jose wrote: >> On Sat, 2019-06-29 at 17:39 +0200, Daniel Vetter wrote: >> > On Fri, Jun 28, 2019 at 7:24 PM Sean Paul wrote: >> > > On Fri, Jun 14, 2019 at 08:17:23AM +0200, Daniel Vetter wrote: >> > > > Only

Re: [PATCH] drm/kms: Catch mode_object lifetime errors

2019-08-20 Thread Daniel Vetter
On Tue, Aug 20, 2019 at 11:28 AM Jani Nikula wrote: > > On Tue, 20 Aug 2019, Daniel Vetter wrote: > > On Sat, Aug 17, 2019 at 12:42 AM Souza, Jose wrote: > >> On Sat, 2019-06-29 at 17:39 +0200, Daniel Vetter wrote: > >> > On Fri, Jun 28, 2019 at 7:24 PM Sean Paul wrote: > >> > > On Fri, Jun

Re: [PATCH 1/3] video: fbdev: mmp: remove duplicated MMP_DISP dependency

2019-08-20 Thread Andrzej Hajda
On 27.06.2019 16:07, Bartlomiej Zolnierkiewicz wrote: > This dependency is already present in higher level Kconfig file > (drivers/video/fbdev/mmp/Kconfig). > > Signed-off-by: Bartlomiej Zolnierkiewicz Reviewed-by: Andrzej Hajda  -- Regards Andrzej > --- >

Re: [PATCH 2/3] video: fbdev: mmp: add COMPILE_TEST support

2019-08-20 Thread Andrzej Hajda
On 27.06.2019 16:07, Bartlomiej Zolnierkiewicz wrote: > Add COMPILE_TEST support to mmp display subsystem for better compile > testing coverage. > > Signed-off-by: Bartlomiej Zolnierkiewicz Reviewed-by: Andrzej Hajda  -- Regards Andrzej > --- > drivers/video/fbdev/mmp/Kconfig|2 +-

[PATCH] drm/vgem: Added page prefaulting

2019-08-20 Thread Szymon Andrzejuk
Page fault handler inside vgem driver now preallocates pages in advance when fault occurs for the first time. Pages can be allocated in direction of increasing/decreasing addresses, depending on memory access profile. In case of random access no preallocation occurs. Synthetic benchmark showed

Re: [PATCH v2 01/19] dt-bindings: display: renesas,cmm: Add R-Car CMM documentation

2019-08-20 Thread Geert Uytterhoeven
Hi Jacopo, On Tue, Aug 20, 2019 at 9:47 AM Jacopo Mondi wrote: > On Mon, Aug 19, 2019 at 03:45:54PM +0200, Geert Uytterhoeven wrote: > > On Mon, Jul 8, 2019 at 9:58 AM Geert Uytterhoeven > > wrote: > > > On Sat, Jul 6, 2019 at 4:07 PM Jacopo Mondi > > > wrote: > > > > Add device tree

Re: [PATCH 2/5] kernel.h: Add non_block_start/end()

2019-08-20 Thread Michal Hocko
On Fri 16-08-19 11:31:45, Jason Gunthorpe wrote: > On Fri, Aug 16, 2019 at 02:26:25PM +0200, Michal Hocko wrote: [...] > > I believe I have given some examples when introducing __GFP_NOLOCKDEP. > > Okay, I think that is 7e7844226f10 ("lockdep: allow to disable reclaim > lockup detection") Hmm,

Re: [PATCH 09/60] drm/bridge: Add connector-related bridge operations and data

2019-08-20 Thread Daniel Vetter
On Tue, Aug 20, 2019 at 01:32:09AM +0300, Laurent Pinchart wrote: > Hi Daniel, > > On Wed, Aug 14, 2019 at 02:35:10PM +0200, Daniel Vetter wrote: > > On Thu, Aug 08, 2019 at 10:32:14PM +0300, Laurent Pinchart wrote: > > > On Tue, Jul 16, 2019 at 03:57:21PM +0200, Andrzej Hajda wrote: > > >> On

RE: [PATCH v6 1/3] drm/i915: enum transcoder and pipe are moved into i915_drm.h

2019-08-20 Thread Winkler, Tomas
> > For the reusability of the enum transcoder and enum pipe in other driver > modules (like mei_hdcp), enum port definition is moved from I915 local header > intel_display.h to drm/i915_drm.h Don't you need to name space those definitions in the global space, I guess there are a lot of

Re: [PATCH v2 2/2] drm: bridge: adv7511: Add support for ADV7535

2019-08-20 Thread Daniel Vetter
On Mon, Aug 19, 2019 at 12:46:16PM +0200, Sam Ravnborg wrote: > Hi Bogdan. > > > > > adv7533_detach_dsi(adv7511); > > > > i2c_unregister_device(adv7511->i2c_cec); > > > > if (adv7511->cec_clk) > > > > @@ -1266,8 +1278,9 @@ static const struct i2c_device_id > > > >

[PATCH 0/4] mmu notifier debug annotations/checks

2019-08-20 Thread Daniel Vetter
Hi all, Here's the respin. Changes: - 2 patches for checking return values of callbacks dropped, they landed - move the lockdep annotations ahead, since I think that part is less contentious. lockdep map now also annotates invalidate_range_end, as requested by Jason. - add a patch to prime

[PATCH 1/4] mm, notifier: Add a lockdep map for invalidate_range_start/end

2019-08-20 Thread Daniel Vetter
This is a similar idea to the fs_reclaim fake lockdep lock. It's fairly easy to provoke a specific notifier to be run on a specific range: Just prep it, and then munmap() it. A bit harder, but still doable, is to provoke the mmu notifiers for all the various callchains that might lead to them.

[PATCH 3/4] kernel.h: Add non_block_start/end()

2019-08-20 Thread Daniel Vetter
In some special cases we must not block, but there's not a spinlock, preempt-off, irqs-off or similar critical section already that arms the might_sleep() debug checks. Add a non_block_start/end() pair to annotate these. This will be used in the oom paths of mmu-notifiers, where blocking is not

[PATCH 4/4] mm, notifier: Catch sleeping/blocking for !blockable

2019-08-20 Thread Daniel Vetter
We need to make sure implementations don't cheat and don't have a possible schedule/blocking point deeply burried where review can't catch it. I'm not sure whether this is the best way to make sure all the might_sleep() callsites trigger, and it's a bit ugly in the code flow. But it gets the job

[PATCH 2/4] mm, notifier: Prime lockdep

2019-08-20 Thread Daniel Vetter
We want to teach lockdep that mmu notifiers can be called from direct reclaim paths, since on many CI systems load might never reach that level (e.g. when just running fuzzer or small functional tests). Motivated by a discussion with Jason. I've put the annotation into mmu_notifier_register

[RFC 08/11] drm/bridge: synopsys: dw-hdmi: add 420 mode format negociation

2019-08-20 Thread Neil Armstrong
Add special negociation case for 420 HDMI2.0 format. In this case the DW-HDMI CSC cannot handle 420 data, and must be in passthrought, thus input_bus_cfg must be output_bus_cfg. Add support for handling a specific 8/10/12/16 variant in the connector bus_formats if specified. Signed-off-by: Neil

Re: [PATCH 09/60] drm/bridge: Add connector-related bridge operations and data

2019-08-20 Thread Daniel Vetter
On Mon, Aug 19, 2019 at 05:37:36AM +0300, Laurent Pinchart wrote: > Hi Daniel, > > On Sat, Aug 17, 2019 at 03:14:56AM +0300, Laurent Pinchart wrote: > > On Sat, Aug 17, 2019 at 02:30:08AM +0300, Laurent Pinchart wrote: > > > On Wed, Aug 14, 2019 at 07:02:29PM +0200, Daniel Vetter wrote: > > >> On

[RFC 04/11] drm/bridge: synopsys: dw-hdmi: add basic bridge_atomic_check

2019-08-20 Thread Neil Armstrong
Add all the supported input and output formats to the bridge input_bus_caps and output_bus_caps, and add a very simple atomic check implementation to negociate output and input bus formats. Signed-off-by: Neil Armstrong --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 53 +++

[RFC 03/11] drm/meson: meson_dw_hdmi: switch to drm_bridge_funcs

2019-08-20 Thread Neil Armstrong
Switch the dw-hdmi driver to drm_bridge_funcs, and add the default supported YUV444 bus format to the encoder output_bus_caps. Signed-off-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_dw_hdmi.c | 37 +-- 1 file changed, 24 insertions(+), 13 deletions(-) diff --git

[RFC 07/11] drm/bridge: dw-hdmi: allow ycbcr420 modes for >= 0x200a

2019-08-20 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 ---

[RFC 01/11] fixup! drm/bridge: Add the necessary bits to support bus format negotiation

2019-08-20 Thread Neil Armstrong
> + } else if (b->num_supported_fmts > 1 && b->supported_fmts) { > + *selected_bus_fmt = b->supported_fmts[0]; > + return 0; Here, `!a->num_supported_fmts &&` is missing otherwise this code will select b->supported_fmts[0] whatever the supported formats of a. > +

[RFC 09/11] drm/meson: venc: add support for YUV420 setup

2019-08-20 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

[RFC 10/11] drm/meson: vclk: add support for YUV420 setup

2019-08-20 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

[RFC 02/11] drm/meson: venc: make drm_display_mode const

2019-08-20 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 --- drivers/gpu/drm/meson/meson_venc.c | 2 +- drivers/gpu/drm/meson/meson_venc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[RFC 00/11] drm/bridge: dw-hdmi: implement bus-format negotiation and YUV420 support

2019-08-20 Thread Neil Armstrong
This patchset is based on Boris's "drm: Add support for bus-format negotiation" RFC at [1] patchset to implement : - basic bus-format negotiation for DW-HDMI - advanced HDMI2.0 YUV420 bus-format negotiation for DW-HDMI And the counterpart implementation in the Amlogic Meson VPU dw-hdmi glue : -

[RFC 06/11] drm/meson: dw-hdmi: stop enforcing input_bus_format

2019-08-20 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

[RFC 11/11] drm/meson: Add YUV420 output support

2019-08-20 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

[RFC 05/11] drm/bridge: synopsys: dw-hdmi: use negociated bus formats

2019-08-20 Thread Neil Armstrong
Use the negociated bus formats from the atomic check function if the input and output formats are non NULL, otherwise fallback to the plat_data->input_bus_format or the default MEDIA_BUS_FMT_RGB888_1X24 bus format. Signed-off-by: Neil Armstrong --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 11

RE: [PATCH v6 2/3] misc/mei_hdcp: Adding the transcoder detail in payload input

2019-08-20 Thread Winkler, Tomas
> > ME FW takes the transcoder details for Gen12+ platforms, as HDCP HW block is > moved to transcoders. > > hdcp_port_data is extended with enum transcoder. Payload structure is > modified and populated from the hdcp_port_data. > > Signed-off-by: Ramalingam C > --- >

Re: [PATCH 1/2] video: omapfb2: Make standard and custom panel drivers mutually exclusive

2019-08-20 Thread Daniel Vetter
On Fri, Aug 16, 2019 at 09:11:31PM +0200, Sam Ravnborg wrote: > Hi Laurent. > > On Fri, Aug 16, 2019 at 09:39:05PM +0300, Laurent Pinchart wrote: > > Hi Sam, > > > > On Fri, Aug 16, 2019 at 07:31:05PM +0200, Sam Ravnborg wrote: > > > Hi Laurent > > > > > > Thanks for beating me on this! > > >

Re: [PATCH v6 1/3] drm/i915: enum transcoder and pipe are moved into i915_drm.h

2019-08-20 Thread Ramalingam C
On 2019-08-20 at 14:14:03 +0530, Winkler, Tomas wrote: > > > > > > For the reusability of the enum transcoder and enum pipe in other driver > > modules (like mei_hdcp), enum port definition is moved from I915 local > > header > > intel_display.h to drm/i915_drm.h > > Don't you need to name

Re: [PATCH] dma-buf: Use %zu for printing sizeof

2019-08-20 Thread Daniel Vetter
On Mon, Aug 19, 2019 at 08:57:40PM +0100, Chris Wilson wrote: > Use the %zu format specifier for a size_t returned by sizeo. > > Reported-by: kbuild-...@01.org > Signed-off-by: Chris Wilson Reviewed-by: Daniel Vetter > --- > drivers/dma-buf/st-dma-fence.c | 2 +- > 1 file changed, 1

Re: [PATCH 2/4] drm/shmem: Use mutex_trylock in drm_gem_shmem_purge

2019-08-20 Thread Daniel Vetter
On Mon, Aug 19, 2019 at 11:12:02AM -0500, Rob Herring wrote: > Lockdep reports a circular locking dependency with pages_lock taken in > the shrinker callback. The deadlock can't actually happen with current > users at least as a BO will never be purgeable when pages_lock is held. > To be safe,

[Bug 111441] sajal

2019-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111441 Bug ID: 111441 Summary: sajal Product: DRI Version: XOrg git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium

Re: [PATCH 3/3] video: fbdev: mmp: fix sparse warnings about using incorrect types

2019-08-20 Thread Andrzej Hajda
On 27.06.2019 16:08, Bartlomiej Zolnierkiewicz wrote: > Use ->screen_buffer instead of ->screen_base in mmpfb driver. > > [ Please see commit 17a7b0b4d974 ("fb.h: Provide alternate screen_base > pointer") for details. ] > > Also fix all other sparse warnings about using incorrect types in > mmp

Re: [PATCH v2 01/50] video: hdmi: Change return type of hdmi_avi_infoframe_init() to void

2019-08-20 Thread Bartlomiej Zolnierkiewicz
On 8/20/19 3:16 AM, Laurent Pinchart wrote: > The hdmi_avi_infoframe_init() never needs to return an error, change its > return type to void. > > Signed-off-by: Laurent Pinchart > Reviewed-by: Andrzej Hajda Acked-by: Bartlomiej Zolnierkiewicz Best regards, -- Bartlomiej Zolnierkiewicz

Re: [PATCH 1/2] video: omapfb2: Make standard and custom panel drivers mutually exclusive

2019-08-20 Thread Bartlomiej Zolnierkiewicz
On 8/19/19 5:17 PM, Sam Ravnborg wrote: > Hi Bartlomiej Hi Sam, > On Mon, Aug 19, 2019 at 04:16:26PM +0200, Bartlomiej Zolnierkiewicz wrote: >> >> On 8/16/19 3:32 PM, Laurent Pinchart wrote: >>> On Fri, Aug 16, 2019 at 04:20:46PM +0300, Tomi Valkeinen wrote: On 16/08/2019 15:22, Laurent

Re: [PATCH v2 18/19] drm: rcar-du: crtc: Register GAMMA_LUT properties

2019-08-20 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Sat, Jul 06, 2019 at 04:07:45PM +0200, Jacopo Mondi wrote: > Enable the GAMMA_LUT KMS property using the framework helpers to > register the proeprty and the associated gamma table size maximum size. s/proeprty/property/ "and set the associated gamme table

Re: [PATCH RFC 01/19] drm: Stop including drm_bridge.h from drm_crtc.h

2019-08-20 Thread Laurent Pinchart
Hi Boris, Thank you for the patch. On Thu, Aug 08, 2019 at 05:11:32PM +0200, Boris Brezillon wrote: > We are about to add a drm_bridge_state that inherits from > drm_private_state which is defined in drm_atomic.h. Problem is, > drm_atomic.h includes drm_crtc.h which in turn includes

[PATCH v2 14/14] drm/amd/display: Trigger modesets on MST DSC connectors

2019-08-20 Thread David Francis
Whenever a connector on an MST network is attached, detached, or undergoes a modeset, the DSC configs for each stream on that topology will be recalculated. This can change their required bandwidth, requiring a full reprogramming, as though a modeset was performed, even if that stream did not

[PATCH v2 03/14] Revert "drm/amd/display: add global master update lock for DCN2"

2019-08-20 Thread David Francis
This reverts commit 55a6f5bbcf00a49565946c0a9b8c716313dc6c05. This commit was accidentally promoted twice Signed-off-by: David Francis Reviewed-by: Roman Li Reviewed-by: Harry Wentland Reviewed-by: Nicholas Kazlauskas --- .../drm/amd/display/dc/dcn20/dcn20_hwseq.c| 4 --

[PATCH v2 13/14] drm/amd/display: MST DSC compute fair share

2019-08-20 Thread David Francis
If there is limited link bandwidth on a MST network, it must be divided fairly between the streams on that network Implement an algorithm to determine the correct DSC config for each stream The algorithm: This [ ] ( ) represents the range of bandwidths possible

[PATCH v2 04/14] Revert "drm/amd/display: Fix underscan not using proper scaling"

2019-08-20 Thread David Francis
This reverts commit 80e80ec817f161560b4159608fb41bd289abede3. This commit fixed an issue with underscan commits not updating all needed timing values, but through various refactors it is no longer necessary. It causes corruption on odm combine by overwriting the halved h_active in the stream

[PATCH v2 09/14] drm/dp-mst: Export symbols for dpcd read/write

2019-08-20 Thread David Francis
To use these functions in drm driver directories, they must be exported Signed-off-by: David Francis --- drivers/gpu/drm/drm_dp_mst_topology.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/drm_dp_mst_topology.c b/drivers/gpu/drm/drm_dp_mst_topology.c index

[PATCH v2 07/14] drm/amd/display: Initialize DSC PPS variables to 0

2019-08-20 Thread David Francis
For DSC MST, sometimes monitors would break out in full-screen static. The issue traced back to the PPS generation code, where these variables were being used uninitialized and were picking up garbage. memset to 0 to avoid this Signed-off-by: David Francis Reviewed-by: Nicholas Kazlauskas ---

[PATCH v2 00/14] Display Stream Compression (DSC) for AMD Navi

2019-08-20 Thread David Francis
This patchset enables Display Stream Compression (DSC) on DP connectors on Navi ASICs, both SST and DSC. 8k60 and 4k144 support requires ODM combine, an AMD internal feature that may be a bit buggy right now. Patches 1 through 5 enable DSC for SST. Most of the work was already done in the Navi

Re: [PATCH] backlight: add include guards to platform_lcd.h and ili9320.h

2019-08-20 Thread Daniel Thompson
On Sun, Jul 21, 2019 at 04:39:40PM +0900, Masahiro Yamada wrote: > Add header include guards just in case. > > Signed-off-by: Masahiro Yamada Reviewed-by: Daniel Thompson > --- > > include/video/ili9320.h | 4 > include/video/platform_lcd.h | 4 > 2 files changed, 8

Re: [PATCH v4 00/25] drm: Kirin driver cleanups to prep for Kirin960 support

2019-08-20 Thread John Stultz
On Tue, Aug 20, 2019 at 1:01 PM Sam Ravnborg wrote: > > Hi John. > > On Mon, Aug 19, 2019 at 11:02:56PM +, John Stultz wrote: > > Sending this out again, to get it based on drm-misc-next. > > > > This patchset contains one fix (in the front, so its easier to > > eventually backport), and a

Re: [PATCH v2 01/19] dt-bindings: display: renesas,cmm: Add R-Car CMM documentation

2019-08-20 Thread Laurent Pinchart
Hi Geert, On Tue, Aug 20, 2019 at 09:53:44AM +0200, Geert Uytterhoeven wrote: > On Tue, Aug 20, 2019 at 9:47 AM Jacopo Mondi wrote: > > On Mon, Aug 19, 2019 at 03:45:54PM +0200, Geert Uytterhoeven wrote: > >> On Mon, Jul 8, 2019 at 9:58 AM Geert Uytterhoeven > >> wrote: > >>> On Sat, Jul 6,

Re: [PATCH v2 16/19] drm: rcar-du: kms: Collect CMM instances

2019-08-20 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Sat, Jul 06, 2019 at 04:07:43PM +0200, Jacopo Mondi wrote: > Implement device tree parsing to collect the available CMM instances > described by the 'cmms' property. Associate CMMs with CRTCs and store a > mask of active CMMs in the DU group for later

Re: [PATCH v2 19/19] drm: rcar-du: kms: Update CMM in atomic commit tail

2019-08-20 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Sat, Jul 06, 2019 at 04:07:46PM +0200, Jacopo Mondi wrote: > Update CMM settings at in the atomic commit tail helper method. > > The CMM is updated with new gamma values provided to the driver > in the GAMMA_LUT blob property. > > Signed-off-by: Jacopo

Re: [PATCH v2 08/14] drm/dp-mst: Parse FEC capability on MST ports

2019-08-20 Thread Lyude Paul
Reviewed-by: Lyude Paul On Tue, 2019-08-20 at 15:11 -0400, David Francis wrote: > As of DP1.4, ENUM_PATH_RESOURCES returns a bit indicating > if FEC can be supported up to that point in the MST network. > > The bit is the first byte of the ENUM_PATH_RESOURCES ack reply, > bottom-most bit (refer

Re: [PATCH v13 00/18] kunit: introduce KUnit, the Linux kernel unit testing framework

2019-08-20 Thread Brendan Higgins
On Tue, Aug 20, 2019 at 12:08 PM shuah wrote: > > On 8/20/19 12:24 PM, Brendan Higgins wrote: > > On Tue, Aug 20, 2019 at 11:24:45AM -0600, shuah wrote: > >> On 8/13/19 11:50 PM, Brendan Higgins wrote: > >>> ## TL;DR > >>> > >>> This revision addresses comments from Stephen and Bjorn Helgaas.

Re: [PATCH v2 09/14] drm/dp-mst: Export symbols for dpcd read/write

2019-08-20 Thread Li, Sun peng (Leo)
On 2019-08-20 5:02 p.m., Lyude Paul wrote: > [Added Leo Li here, since they did the auxdev work that introduced these > functions] > > Since it seems we'll actually be doing remote DPCD read/writes in DRM drivers > and not just from auxdev, maybe we should combine drm_dp_dpcd_read() with >

[Bug 111414] [REGRESSION] [BISECTED] Segmentation fault in si_bind_blend_state after removal of the blend state NULL check

2019-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111414 --- Comment #5 from Dieter Nützel --- Hello Edmondo, thank you for your comment. Now, I get this: mpv -hwdec /data/Filme/test.mkv Playing: /data/Filme/test.mkv (+) Video --vid=1 (*) 'OceanWorld.2D.2009.BluRay.1080p.AC3.x264-CHD' (h264

[PATCH v5 09/25] drm: kirin: Move request irq handle in ade hw ctx alloc

2019-08-20 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch modifies the initialization routines so the devm_request_irq() function is called as part of the allocation function. This will be needed in the future when we will have different

[PATCH v5 12/25] drm: kirin: Reanme dc_ops to kirin_drm_data

2019-08-20 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch renames the struct kirin_dc_ops to struct kirin_drm_data and cleans up the related variable names. Cc: Rongrong Zou Cc: Xinliang Liu Cc: David Airlie Cc: Daniel Vetter Cc:

[PATCH v5 17/25] drm: kirin: Move config max_width and max_height to driver data

2019-08-20 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch moves the max_width and max_height values used in kirin_drm_mode_config_inita to hardware specific driver data. This will make it easier to add support for new devices via a new

[PATCH v5 18/25] drm: kirin: Move drm driver to driver data

2019-08-20 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch moves the drm_driver structure to be under device specific driver data. This will allow us to more easily add support for kirin960 hardware with later patches. Cc: Rongrong Zou

[PATCH v5 11/25] drm: kirin: Move kirin_crtc, kirin_plane, kirin_format to kirin_drm_drv.h

2019-08-20 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch moves some shared structures and helpers to the common kirin_drm_drv.h These structures will later used by both kirin620 and future kirin960 driver Cc: Rongrong Zou Cc: Xinliang

[PATCH v5 06/25] drm: kirin: Rename ade_plane to kirin_plane

2019-08-20 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch renames the struct ade_plane to kirin_plane. The struct kirin_plane will later used by both kirin620 and future kirin960 driver, and will be moved to a common kirin_drm_drv.h in a

[PATCH v5 02/25] drm: kirin: Remove HISI_KIRIN_DW_DSI config option

2019-08-20 Thread John Stultz
The CONFIG_HISI_KIRIN_DW_DSI option is only used w/ kirin driver, so cut out the middleman and condense the config logic down. Cc: Rongrong Zou Cc: Xinliang Liu Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel Cc: Sam Ravnborg Acked-by: Xinliang Liu Reviewed-by: Sam Ravnborg

[PATCH v5 05/25] drm: kirin: Remove out_format from ade_crtc

2019-08-20 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch removes the out_format field in the struct ade_crtc, which was only ever set to LDI_OUT_RGB_888. Thus this patch removes the field and instead directly uses LDI_OUT_RGB_888. Cc:

[PATCH v5 00/25] drm: Kirin driver cleanups to prep for Kirin960 support

2019-08-20 Thread John Stultz
Sending this out again (apologies!), to address a few issues Sam found. This patchset contains one fix (in the front, so its easier to eventually backport), and a series of changes from YiPing to refactor the kirin drm driver so that it can be used on both kirin620 based devices (like the

[PATCH v5 10/25] drm: kirin: Move workqueue to ade_hw_ctx structure

2019-08-20 Thread John Stultz
The workqueue used to reset the display when we hit an LDI underflow error is ADE specific, so since this patch series works to make the kirin_crtc structure more generic, move the workqueue to the ade_hw_ctx structure instead. Cc: Rongrong Zou Cc: Xinliang Liu Cc: David Airlie Cc: Daniel

[PATCH v5 07/25] drm: kirin: Rename ade_crtc to kirin_crtc

2019-08-20 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch renames the struct ade_crtc to kirin_crtc. The struct kirin_crtc will later used by both kirin620 and future kirin960 driver, and will be moved to a common kirin_drm_drv.h in a

[PATCH v5 03/25] drm: kirin: Remove unreachable return

2019-08-20 Thread John Stultz
The 'return 0' in kirin_drm_platform_probe() is unreachable code, so remove it. Cc: Rongrong Zou Cc: Xinliang Liu Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel Cc: Sam Ravnborg Acked-by: Xinliang Liu Reviewed-by: Sam Ravnborg Suggested by: Xu YiPing Signed-off-by: John Stultz ---

[PATCH v5 20/25] drm: kirin: Rename plane_init and crtc_init

2019-08-20 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch renames ade_crtc/plane_init kirin_plane/crtc_init, as they will later be moved to kirin drm drv and shared with the kirin960 hardware support. Cc: Rongrong Zou Cc: Xinliang Liu

[PATCH v5 21/25] drm: kirin: Fix dev->driver_data setting

2019-08-20 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch changes the dev->driver_data to point to a drm_device, not ade_data. Thus we set the driver data to drm device after alloc. Cc: Rongrong Zou Cc: Xinliang Liu Cc: David Airlie

[PATCH v5 24/25] drm: kirin: Pass driver data to crtc init and plane init

2019-08-20 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch changes the code via a passed in driver_data pointer, rather than hardcoding them via ade_driver_data variable. This will allow those funcitons to be later moved to the generic

[PATCH v5 14/25] drm: kirin: Move channel formats to driver data

2019-08-20 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch moves the channel format arrays into the kirin_drm_data structure. This will make it easier to add support for new devices via a new kirin_drm_data structure. Cc: Rongrong Zou

[PATCH v5 13/25] drm: kirin: Move ade crtc/plane help functions to driver_data

2019-08-20 Thread John Stultz
From: Xu YiPing As part of refactoring the kirin driver to better support different hardware revisions, this patch moves the crtc and plane funcs/helper_funcs to the struct kirin_drm_data. This will make it easier to add support for new devices via a new kirin_drm_data structure. Cc: Rongrong

  1   2   3   >