[Bug 209225] [AMDGPU] oops each boot: dc_link_set_backlight_level

2020-09-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209225 Arthur Borsboom (arthurborsb...@gmail.com) changed: What|Removed |Added See Also|

Re: [PATCH v4] gpu/drm: ingenic: Add option to mmap GEM buffers cached

2020-09-10 Thread Sam Ravnborg
Hi Paul. On Wed, Sep 09, 2020 at 03:26:52PM +0200, Paul Cercueil wrote: > Any love for my patch? I have more pending :) I have looked through the patch a few times. And I did not find any spelling errors. But the memory magic was beyond me so I hope someone more knowledgeable can chime in here.

[PATCH v5 4/5] drm/msm/dp: signal the hotplug disconnect in the event handler

2020-09-10 Thread Abhinav Kumar
Signal the hotplug disconnect event to the audio side in the event handler so that they are notified earlier and have more time to process the disconnect event. Changes in v2: none Changes in v3: none Changes in v4: rebase on top of latest patchset of dependency Changes in v5: rebase on top of

Re: [PATCH v2 10/18] drm/dp: Add drm_dp_downstream_{min,max}_tmds_clock()

2020-09-10 Thread Lyude Paul
On Thu, 2020-09-10 at 16:55 +0300, Ville Syrjälä wrote: > On Tue, Sep 08, 2020 at 02:08:17PM -0400, Lyude Paul wrote: > > On Fri, 2020-09-04 at 14:53 +0300, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > > > Add helpers to get the TMDS clock limits for HDMI/DVI downstream > > >

Re: per-plane LUTs and CSCs?

2020-09-10 Thread Vitaly Prosyak
On 2020-09-10 1:51 p.m., Laurent Pinchart wrote: Hi Vitaly, On Thu, Sep 10, 2020 at 01:09:03PM -0400, Vitaly Prosyak wrote: On 2020-09-10 6:56 a.m., Laurent Pinchart wrote: On Thu, Sep 10, 2020 at 01:28:03PM +0300, Pekka Paalanen wrote: On Thu, 10 Sep 2020 12:30:09 +0300 Laurentiu Palcu

Re: [PATCH 4/4] drm/ttm: nuke memory type flags

2020-09-10 Thread Dave Airlie
I like it, For all 4, Reviewed-by: Dave Airlie On Thu, 10 Sep 2020 at 21:49, Christian König wrote: > > It's not supported to specify more than one of those flags. > So it never made sense to make this a flag in the first place. > > Nuke the flags and specify directly which memory type to

Re: [PATCH -next] drm/amd/display: Create trigger_hotplug entry

2020-09-10 Thread Harry Wentland
On 2020-09-09 11:13 p.m., YueHaibing wrote: Add trigger_hotplug debugfs entry. Fixes: 6f77b2ac6280 ("drm/amd/display: Add connector HPD trigger debugfs entry") Signed-off-by: YueHaibing Reviewed-by: Harry Wentland Harry --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 1

Re: [PATCH -next] drm/amd/display: Fix possible memleak in dp_trigger_hotplug()

2020-09-10 Thread Harry Wentland
On 2020-09-09 11:26 p.m., YueHaibing wrote: If parse_write_buffer_into_params() fails, we should free wr_buf before return. Fixes: 6f77b2ac6280 ("drm/amd/display: Add connector HPD trigger debugfs entry") Signed-off-by: YueHaibing Reviewed-by: Harry Wentland Harry ---

Re: [PATCH] drm: xlnx: remove defined but not used 'scaling_factors_666'

2020-09-10 Thread Hyun Kwon
Hi Jason, On Thu, Sep 10, 2020 at 07:06:30AM -0700, Jason Yan wrote: > This addresses the following gcc warning with "make W=1": > > drivers/gpu/drm/xlnx/zynqmp_disp.c:245:18: warning: > ‘scaling_factors_666’ defined but not used [-Wunused-const-variable=] > 245 | static const u32

Re: per-plane LUTs and CSCs?

2020-09-10 Thread Vitaly Prosyak
On 2020-09-10 2:07 p.m., Vitaly Prosyak wrote: On 2020-09-10 1:51 p.m., Laurent Pinchart wrote: Hi Vitaly, On Thu, Sep 10, 2020 at 01:09:03PM -0400, Vitaly Prosyak wrote: On 2020-09-10 6:56 a.m., Laurent Pinchart wrote: On Thu, Sep 10, 2020 at 01:28:03PM +0300, Pekka Paalanen wrote: On

Re: per-plane LUTs and CSCs?

2020-09-10 Thread Vitaly Prosyak
On 2020-09-10 6:56 a.m., Laurent Pinchart wrote: Hi Pekka, On Thu, Sep 10, 2020 at 01:28:03PM +0300, Pekka Paalanen wrote: On Thu, 10 Sep 2020 12:30:09 +0300 Laurentiu Palcu wrote: On Thu, Sep 10, 2020 at 11:50:26AM +0300, Pekka Paalanen wrote: On Thu, 10 Sep 2020 09:52:26 +0200 Daniel

Re: [PATCH] V2: Currently, DRM get the capability of the mst hub only from DP_DPCD_REV and get the slower speed even the mst hub can run in the faster speed.

2020-09-10 Thread Lyude Paul
The commit message should be shorter and follow the format other commits for drm usually do, in this case something like: drm/dp_mst: Retrieve extended DPCD caps for topology manager On Thu, 2020-09-10 at 14:36 +0800, Koba Ko wrote: > As per DP-1.3, First check

[PATCH v5 1/5] drm/msm/dp: store dp_display in the driver data

2020-09-10 Thread Abhinav Kumar
Store the dp_display in the platform driver data instead of the dp_display_private. This is required to allow other sub-modules to reuse the platform driver data. Changes in v3: none Changes in v4: none Changes in v5: none Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_display.c |

Re: per-plane LUTs and CSCs?

2020-09-10 Thread Laurent Pinchart
Hi Vitaly, On Thu, Sep 10, 2020 at 01:09:03PM -0400, Vitaly Prosyak wrote: > On 2020-09-10 6:56 a.m., Laurent Pinchart wrote: > > On Thu, Sep 10, 2020 at 01:28:03PM +0300, Pekka Paalanen wrote: > >> On Thu, 10 Sep 2020 12:30:09 +0300 Laurentiu Palcu wrote: > >>> On Thu, Sep 10, 2020 at 11:50:26AM

Re: [PATCH v9 0/5] Add support for iMX8MQ Display Controller Subsystem

2020-09-10 Thread Sam Ravnborg
Hi Laurentiu > > > I've tested this together with a hacked up eDP bridge driver stack on > > > my boards. The testing hasn't been really in-depth, but things seem to > > > work fine. I have now pushed the whole series into drm-misc-next. > > > > Something doesn't compile too well > > > > ERROR:

[PATCH v5 0/5] Add audio support for MSM DisplayPort driver

2020-09-10 Thread Abhinav Kumar
This series adds audio support for DP on MSM chipsets. It leverages the hdmi-codec interface [1] to communicate between the Display Port driver and the audio subsystem. These changes depend on the series [2] which adds Display Port support to MSM chipsets. [1]

[PATCH v5 3/5] drm/msm/dp: add hook_plugged_cb hdmi-codec op for MSM DP driver

2020-09-10 Thread Abhinav Kumar
Add the hook_plugged_cb op for the MSM DP driver to signal connect and disconnect events to the hdmi-codec driver which in-turn shall notify the audio subsystem to start a new or teardown an existing session. Changes in v2: none Changes in v3: none Changes in v4: rebase on top of latest patchset

[PATCH v5 5/5] drm/msm/dp: wait for audio notification before disabling clocks

2020-09-10 Thread Abhinav Kumar
In the current implementation, there is a very small window for the audio side to safely signal the hdmi_code_shutdown() before the clocks are disabled. Add some synchronization between the DP display and DP audio module to safely disable the clocks to avoid unclocked access from audio side. In

[PATCH v5 2/5] drm/msm/dp: add audio support for Display Port on MSM

2020-09-10 Thread Abhinav Kumar
Introduce audio support for Display Port on MSM chipsets. This change integrates DP audio sub-module with the main Display Port platform driver. In addition, this change leverages hdmi_codec_ops to expose the operations to the audio driver. Changes in v2: fix up a compilation issue on drm-next

[Bug 209225] [AMDGPU] oops each boot: dc_link_set_backlight_level

2020-09-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209225 --- Comment #1 from Arthur Borsboom (arthurborsb...@gmail.com) --- Possibly related to this fix: https://bugzilla.kernel.org/show_bug.cgi?id=203905 If I looked well at kernel.org, it seemed that this fix is included in kernel 5.7.8 (the one in

RE: [PATCH v3 6/7] drm: Validate encoder->possible_crtcs

2020-09-10 Thread Deucher, Alexander
[AMD Public Use] > -Original Message- > From: amd-gfx On Behalf Of > Daniel Vetter > Sent: Monday, September 7, 2020 3:15 AM > To: Jan Kiszka ; amd-gfx list g...@lists.freedesktop.org>; Wentland, Harry ; > Kazlauskas, Nicholas > Cc: dri-devel ; intel-gfx g...@lists.freedesktop.org>;

Re: [PATCH v7 2/4] drm/kmb: Add support for KeemBay Display

2020-09-10 Thread Sam Ravnborg
Hi Daniel. > > + } > > + > > + /* Initialize MIPI DSI */ > > + ret = kmb_dsi_init(drm, adv_bridge); > > Split up isn't correct here, this won't compile since the dsi code isn't > in this patch yet. So you need to have this ordered the other way round. I have explicit asked for a simple

Re: [PATCH v2 07/18] drm/dp: Pimp drm_dp_downstream_max_bpc()

2020-09-10 Thread Lyude Paul
On Thu, 2020-09-10 at 17:46 +0300, Ville Syrjälä wrote: > On Tue, Sep 08, 2020 at 01:51:56PM -0400, Lyude Paul wrote: > > On Fri, 2020-09-04 at 14:53 +0300, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > > > Deal with more cases in drm_dp_downstream_max_bpc(): > > > - DPCD 1.0 ->

Re: [PATCH v2 07/10] arm64: dts: renesas: r8a77961: Add DU device nodes

2020-09-10 Thread Laurent Pinchart
Hi Morimoto-san, On Fri, Sep 11, 2020 at 08:20:56AM +0900, Kuninori Morimoto wrote: > > > From: Kuninori Morimoto > > > > > > This patch adds DU device nodes for R-Car M3-W+ (r8a77961) SoC. > > > This patch was tested on R-Car M3-W+ Salvator-XS board. > > > > > > Signed-off-by: Kuninori Morimoto

Re: [PATCH v2 05/10] arm64: dts: renesas: r8a77961: Add FCP device nodes

2020-09-10 Thread Kuninori Morimoto
Hi Geert > > From: Kuninori Morimoto > > > > This patch adds FCP device nodes for R-Car M3-W+ (r8a77961) SoC. > > This patch was tested on R-Car M3-W+ Salvator-XS board. > > > > Signed-off-by: Kuninori Morimoto (snip) > Missing "iommus = <_vc0 16>;" (snip) > Missing "iommus = <_vi0 5>;" As I

Re: [PATCH 2/3] arm64: dts: sc7180: add bus clock to mdp node for sc7180 target

2020-09-10 Thread Rob Clark
On Thu, Sep 10, 2020 at 3:00 PM Bjorn Andersson wrote: > > On Thu 16 Jul 11:35 UTC 2020, Kalyan Thota wrote: > > > From: Krishna Manikandan > > > > Move the bus clock to mdp device node,in order > > to facilitate bus band width scaling on sc7180 > > target. > > > > The parent device MDSS will

RE: [PATCH v7 0/4] Add support for KeemBay DRM driver

2020-09-10 Thread Chrisanthus, Anitha
Hi Daniel, Thanks for your review. I have requested drm-next access here https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/291 Will address your comments in next emails. thanks, Anitha > -Original Message- > From: Daniel Vetter > Sent: Thursday, September 10, 2020 1:42 AM

Re: [PATCH v2 07/10] arm64: dts: renesas: r8a77961: Add DU device nodes

2020-09-10 Thread Kuninori Morimoto
Hi Geert > > From: Kuninori Morimoto > > > > This patch adds DU device nodes for R-Car M3-W+ (r8a77961) SoC. > > This patch was tested on R-Car M3-W+ Salvator-XS board. > > > > Signed-off-by: Kuninori Morimoto > > --- (snip) > > du: display@feb0 { > > +

Re: [RFC PATCH 1/2] drm/hyperv: Add DRM driver for hyperv synthetic video device

2020-09-10 Thread Deepak Rawat
On Thu, 2020-09-10 at 08:19 +, Tang, Shaofeng wrote: > Hi Deepak, > > Do you have a new version of this patch now? > I take a try with it. and meet some typo and “incompatible pointer” > error. > If you have a new version, could you share it with us? > Hi Shaofeng, It seems you are

[Bug 209015] Clocks are no longer reported for R9 390 GPU

2020-09-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209015 HenryJiM (henryjm11...@gmail.com) changed: What|Removed |Added Status|NEW |RESOLVED

Re: [trivial PATCH] treewide: Convert switch/case fallthrough; to break;

2020-09-10 Thread Joe Perches
On Thu, 2020-09-10 at 15:21 +0100, Robin Murphy wrote: > On 2020-09-09 21:06, Joe Perches wrote: > > fallthrough to a separate case/default label break; isn't very readable. > > > > Convert pseudo-keyword fallthrough; statements to a simple break; when > > the next label is case or default and

Re: [Intel-gfx][PATCH v2] drm/i915/gvt: Prevent NULL pointer dereference in intel_vgpu_reg_rw_edid()

2020-09-10 Thread Zhenyu Wang
On 2020.09.08 20:11:21 +0200, Alejandro Sior wrote: > In the function intel_vgpu_reg_rw_edid of kvmgt.c, pos can be equal > to NULL for GPUs that do not properly support EDID. In those cases, when > pos gets passed to the handle_edid functions, it gets added a short offset > then it's dereferenced

[RFC PATCH 2/3] drm/atomic-helper: add REQUIRE_MATCHING_FB flag

2020-09-10 Thread Stefan Agner
Add flag which checks that the framebuffer size matches the plane size exactly. This is useful for display controller which can't handle framebuffers other than the plane/CRTC size. Signed-off-by: Stefan Agner --- drivers/gpu/drm/drm_atomic_helper.c | 7 +++

[RFC PATCH 1/3] drm: use flags instead of boolean in plane check

2020-09-10 Thread Stefan Agner
To improve readability and make it easier to add further optional checks replace the boolean parameters with a single flag bitfield as parameter of drm_atomic_helper_check_plane_state. The regular call sites have been converted using a simple coccinelle patch. virtual patch @@ expression e1,

Re: [PATCH 5/9] arm64: dts: renesas: r8a77961: Add VSP device nodes

2020-09-10 Thread Geert Uytterhoeven
On Mon, Sep 7, 2020 at 4:59 AM Kuninori Morimoto wrote: > From: Kuninori Morimoto > > This patch adds VSP device nodes for R-Car M3-W+ (r8a77961) SoC. > This patch is test on R-Car M3-W+ Salvator-XS board. > > Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven

Re: [PATCH] drm/imx/dcss: fix compilation issue on 32bit

2020-09-10 Thread Daniel Vetter
On Thu, Sep 10, 2020 at 11:53 AM Laurentiu Palcu wrote: > > When compiling for 32bit platforms, the compilation fails with: > > ERROR: modpost: "__aeabi_ldivmod" > [drivers/gpu/drm/imx/dcss/imx-dcss.ko] undefined! > ERROR: modpost: "__aeabi_uldivmod" > [drivers/gpu/drm/imx/dcss/imx-dcss.ko]

[PATCH][next] drm/i915: Fix inconsistent IS_ERR and PTR_ERR

2020-09-10 Thread Gustavo A. R. Silva
Fix inconsistent IS_ERR and PTR_ERR in i915_gem_object_copy_blt(). The proper pointer to be passed as argument to PTR_ERR() is vma[1]. This bug was detected with the help of Coccinelle. Fixes: 6b05030496f7 ("drm/i915: Convert i915_gem_object/client_blt.c to use ww locking as well, v2.")

Re: per-plane LUTs and CSCs?

2020-09-10 Thread Laurentiu Palcu
Hi Pekka, On Thu, Sep 10, 2020 at 01:28:03PM +0300, Pekka Paalanen wrote: > On Thu, 10 Sep 2020 12:30:09 +0300 > Laurentiu Palcu wrote: > > > Hi Pekka, > > > > On Thu, Sep 10, 2020 at 11:50:26AM +0300, Pekka Paalanen wrote: > > > On Thu, 10 Sep 2020 09:52:26 +0200 > > > Daniel Vetter wrote: >

[RFC PATCH 3/3] drm: mxsfb: enforce framebuffer size matches plane size

2020-09-10 Thread Stefan Agner
The plane size must match the CRTC already (enforced by not setting the CAN_POSTION flag). However, the controller also requires the framebuffer to be exactly the CRTC size. Make use of the new flag DRM_PLANE_REQUIRE_MATCHING_FB to match the plane size. Signed-off-by: Stefan Agner ---

Re: [PATCH v7 2/4] drm/kmb: Add support for KeemBay Display

2020-09-10 Thread Neil Armstrong
On 31/08/2020 22:02, Anitha Chrisanthus wrote: > This is a basic KMS atomic modesetting display driver for KeemBay family of > SOCs. Driver has no 2D or 3D graphics.It calls into the ADV bridge > driver at the connector level. > > Single CRTC with LCD controller->mipi DSI-> ADV bridge > > Only

Re: [PATCH v2 07/10] arm64: dts: renesas: r8a77961: Add DU device nodes

2020-09-10 Thread Geert Uytterhoeven
Hi Morimoto-san, On Tue, Sep 8, 2020 at 2:35 AM Kuninori Morimoto wrote: > From: Kuninori Morimoto > > This patch adds DU device nodes for R-Car M3-W+ (r8a77961) SoC. > This patch was tested on R-Car M3-W+ Salvator-XS board. > > Signed-off-by: Kuninori Morimoto > --- >

Re: [PATCH v2 07/10] arm64: dts: renesas: r8a77961: Add DU device nodes

2020-09-10 Thread Geert Uytterhoeven
On Tue, Sep 8, 2020 at 2:35 AM Kuninori Morimoto wrote: > From: Kuninori Morimoto > > This patch adds DU device nodes for R-Car M3-W+ (r8a77961) SoC. > This patch was tested on R-Car M3-W+ Salvator-XS board. > > Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven

[PATCH] drm/vc4: hdmi: Fix off by ones in vc4_hdmi_read/write()

2020-09-10 Thread Dan Carpenter
The variant->registers[] has ->num_registers elements so the > comparison needs to be changes to >= to prevent an out of bounds access. Fixes: 311e305fdb4e ("drm/vc4: hdmi: Implement a register layout abstraction") Signed-off-by: Dan Carpenter --- drivers/gpu/drm/vc4/vc4_hdmi_regs.h | 4 ++-- 1

[PATCH] drm/vc4: hdmi: Fix NULL vs IS_ERR() checks in vc5_hdmi_init_resources()

2020-09-10 Thread Dan Carpenter
The devm_ioremap() function never returns error pointers, it returns NULL. Fixes: 8323989140f3 ("drm/vc4: hdmi: Support the BCM2711 HDMI controllers") Signed-off-by: Dan Carpenter --- drivers/gpu/drm/vc4/vc4_hdmi.c | 32 1 file changed, 16 insertions(+), 16

Re: [PATCH] drm/imx/dcss: fix compilation issue on 32bit

2020-09-10 Thread Lucas Stach
On Do, 2020-09-10 at 13:21 +0300, Laurentiu Palcu wrote: > On Thu, Sep 10, 2020 at 11:57:10AM +0200, Daniel Vetter wrote: > > On Thu, Sep 10, 2020 at 11:53 AM Laurentiu Palcu > > wrote: > > > When compiling for 32bit platforms, the compilation fails with: > > > > > > ERROR: modpost:

Re: per-plane LUTs and CSCs?

2020-09-10 Thread Ville Syrjälä
On Thu, Sep 10, 2020 at 10:18:36AM +0200, Daniel Vetter wrote: > On Thu, Sep 10, 2020 at 07:50:59AM +, Simon Ser wrote: > > On Wednesday, September 9, 2020 12:57 PM, Laurentiu Palcu > > wrote: > > > > > Hi all, > > > > > > I was wondering whether you could give me an advise on how to

Re: [PATCH v2 05/10] arm64: dts: renesas: r8a77961: Add FCP device nodes

2020-09-10 Thread Geert Uytterhoeven
Hi Morimoto-san, On Tue, Sep 8, 2020 at 2:34 AM Kuninori Morimoto wrote: > From: Kuninori Morimoto > > This patch adds FCP device nodes for R-Car M3-W+ (r8a77961) SoC. > This patch was tested on R-Car M3-W+ Salvator-XS board. > > Signed-off-by: Kuninori Morimoto > ---

Re: [PATCH 5/9] arm64: dts: renesas: r8a77961: Add VSP device nodes

2020-09-10 Thread Geert Uytterhoeven
Hi Kieran, On Mon, Sep 7, 2020 at 5:55 PM Kieran Bingham wrote: > On 07/09/2020 03:59, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > > > This patch adds VSP device nodes for R-Car M3-W+ (r8a77961) SoC. > > This patch is test on R-Car M3-W+ Salvator-XS board. > > > > Signed-off-by:

[PATCH] drm/imx/dcss: fix compilation issue on 32bit

2020-09-10 Thread Laurentiu Palcu
When compiling for 32bit platforms, the compilation fails with: ERROR: modpost: "__aeabi_ldivmod" [drivers/gpu/drm/imx/dcss/imx-dcss.ko] undefined! ERROR: modpost: "__aeabi_uldivmod" [drivers/gpu/drm/imx/dcss/imx-dcss.ko] undefined! This patch adds a dependency on ARM64 since no 32bit SoCs have

Re: [PATCH v2 08/10] arm64: dts: renesas: r8a77961: Add HDMI device nodes

2020-09-10 Thread Geert Uytterhoeven
On Tue, Sep 8, 2020 at 2:35 AM Kuninori Morimoto wrote: > From: Kuninori Morimoto > > This patch adds HDMI device nodes for R-Car M3-W+ (r8a77961) SoC. > This patch was tested on R-Car M3-W+ Salvator-XS board. > > Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven

Re: [PATCH] drm/imx/dcss: fix compilation issue on 32bit

2020-09-10 Thread Laurentiu Palcu
On Thu, Sep 10, 2020 at 11:57:10AM +0200, Daniel Vetter wrote: > On Thu, Sep 10, 2020 at 11:53 AM Laurentiu Palcu > wrote: > > > > When compiling for 32bit platforms, the compilation fails with: > > > > ERROR: modpost: "__aeabi_ldivmod" > > [drivers/gpu/drm/imx/dcss/imx-dcss.ko] undefined! > >

Re: [PATCH] drm/imx/dcss: fix compilation issue on 32bit

2020-09-10 Thread Laurentiu Palcu
Hi Lucas, On Thu, Sep 10, 2020 at 12:24:44PM +0200, Lucas Stach wrote: > On Do, 2020-09-10 at 13:21 +0300, Laurentiu Palcu wrote: > > On Thu, Sep 10, 2020 at 11:57:10AM +0200, Daniel Vetter wrote: > > > On Thu, Sep 10, 2020 at 11:53 AM Laurentiu Palcu > > > wrote: > > > > When compiling for

Re: per-plane LUTs and CSCs?

2020-09-10 Thread Pekka Paalanen
On Thu, 10 Sep 2020 12:30:09 +0300 Laurentiu Palcu wrote: > Hi Pekka, > > On Thu, Sep 10, 2020 at 11:50:26AM +0300, Pekka Paalanen wrote: > > On Thu, 10 Sep 2020 09:52:26 +0200 > > Daniel Vetter wrote: > > > > > On Thu, Sep 10, 2020 at 10:25:43AM +0300, Pekka Paalanen wrote: > > > > On

Re: per-plane LUTs and CSCs?

2020-09-10 Thread Laurent Pinchart
Hi Pekka, On Thu, Sep 10, 2020 at 01:28:03PM +0300, Pekka Paalanen wrote: > On Thu, 10 Sep 2020 12:30:09 +0300 Laurentiu Palcu wrote: > > On Thu, Sep 10, 2020 at 11:50:26AM +0300, Pekka Paalanen wrote: > > > On Thu, 10 Sep 2020 09:52:26 +0200 Daniel Vetter wrote: > > > > On Thu, Sep 10, 2020 at

Re: [PATCH 5/9] arm64: dts: renesas: r8a77961: Add VSP device nodes

2020-09-10 Thread Geert Uytterhoeven
Hi Kieran, On Thu, Sep 10, 2020 at 12:34 PM Kieran Bingham wrote: > On 10/09/2020 10:44, Geert Uytterhoeven wrote: > > On Mon, Sep 7, 2020 at 5:55 PM Kieran Bingham > > wrote: > >> On 07/09/2020 03:59, Kuninori Morimoto wrote: > >>> From: Kuninori Morimoto > >>> > >>> This patch adds VSP

[PATCH 3/4] drm/vmwgfx: stop setting multiple domain flags

2020-09-10 Thread Christian König
Setting more than one placement flag is illegal. Fix this by using the current flags. Signed-off-by: Christian König --- drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_bo.c

[PATCH 1/4] drm/vram-helper: stop using TTM placement flags

2020-09-10 Thread Christian König
Those are going to be removed, stop using them here. Instead define separate flags for the helper. Signed-off-by: Christian König --- drivers/gpu/drm/drm_gem_vram_helper.c | 14 +- include/drm/drm_gem_vram_helper.h | 7 +++ 2 files changed, 12 insertions(+), 9 deletions(-)

[PATCH 2/4] drm/nouveau: stop using TTM placement flags

2020-09-10 Thread Christian König
Those are going to be removed, stop using them here. Instead use the GEM flags from the UAPI. Signed-off-by: Christian König --- drivers/gpu/drm/nouveau/dispnv04/crtc.c| 9 ++- drivers/gpu/drm/nouveau/dispnv04/disp.c| 5 +- drivers/gpu/drm/nouveau/dispnv04/overlay.c | 4 +-

[PATCH 4/4] drm/ttm: nuke memory type flags

2020-09-10 Thread Christian König
It's not supported to specify more than one of those flags. So it never made sense to make this a flag in the first place. Nuke the flags and specify directly which memory type to use. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 24 +++---

Re: per-plane LUTs and CSCs?

2020-09-10 Thread Laurentiu Palcu
Hi Pekka, On Thu, Sep 10, 2020 at 11:50:26AM +0300, Pekka Paalanen wrote: > On Thu, 10 Sep 2020 09:52:26 +0200 > Daniel Vetter wrote: > > > On Thu, Sep 10, 2020 at 10:25:43AM +0300, Pekka Paalanen wrote: > > > On Wed, 9 Sep 2020 13:57:28 +0300 > > > Laurentiu Palcu wrote: > > > > > > > Hi

Re: [PATCH v10 30/30] videobuf2: use sgtable-based scatterlist wrappers

2020-09-10 Thread Tomasz Figa
On Thu, Sep 10, 2020 at 11:17 AM Hans Verkuil wrote: > > On 04/09/2020 15:17, Marek Szyprowski wrote: > > Use recently introduced common wrappers operating directly on the struct > > sg_table objects and scatterlist page iterators to make the code a bit > > more compact, robust, easier to follow

Re: [PATCH v2 09/10] arm64: dts: renesas: r8a77961-salvator-xs: add HDMI Display support

2020-09-10 Thread Geert Uytterhoeven
On Tue, Sep 8, 2020 at 2:35 AM Kuninori Morimoto wrote: > From: Kuninori Morimoto > > This patch enables HDMI Display on R-Car M3-W+ Salvator-XS board. > > Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert

Re: [trivial PATCH] treewide: Convert switch/case fallthrough; to break;

2020-09-10 Thread Matthias Brugger
On 09/09/2020 22:06, Joe Perches wrote: diff --git a/drivers/net/wireless/mediatek/mt7601u/dma.c b/drivers/net/wireless/mediatek/mt7601u/dma.c index 09f931d4598c..778be26d329f 100644 --- a/drivers/net/wireless/mediatek/mt7601u/dma.c +++ b/drivers/net/wireless/mediatek/mt7601u/dma.c @@

Re: [PATCH 5/9] arm64: dts: renesas: r8a77961: Add VSP device nodes

2020-09-10 Thread Kieran Bingham
Hi Geert, On 10/09/2020 10:44, Geert Uytterhoeven wrote: > Hi Kieran, > > On Mon, Sep 7, 2020 at 5:55 PM Kieran Bingham > wrote: >> On 07/09/2020 03:59, Kuninori Morimoto wrote: >>> From: Kuninori Morimoto >>> >>> This patch adds VSP device nodes for R-Car M3-W+ (r8a77961) SoC. >>> This patch

Re: per-plane LUTs and CSCs?

2020-09-10 Thread Laurent Pinchart
Hi Pekka, On Thu, Sep 10, 2020 at 11:50:26AM +0300, Pekka Paalanen wrote: > On Thu, 10 Sep 2020 09:52:26 +0200 Daniel Vetter wrote: > > > On Thu, Sep 10, 2020 at 10:25:43AM +0300, Pekka Paalanen wrote: > > > On Wed, 9 Sep 2020 13:57:28 +0300 Laurentiu Palcu wrote: > > > > > > > Hi all, > > >

[PATCH v5 1/2] dt-bindings: display: himax, hx8837: Add Himax HX8837 bindings

2020-09-10 Thread Lubomir Rintel
Himax HX8837 is a secondary display controller used to drive the panel on OLPC platforms. Signed-off-by: Lubomir Rintel Reviewed-by: Rob Herring --- Changes since v4: - Rob's Reviewed-by Changes since v3: - Moved to bindings/display/ - Added the ports - Converted to YAML - Removed Pavel's

[PATCH -next] drm/amdkfd: Fix -Wunused-const-variable warning

2020-09-10 Thread YueHaibing
If KFD_SUPPORT_IOMMU_V2 is not set, gcc warns: drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c:121:37: warning: ‘raven_device_info’ defined but not used [-Wunused-const-variable=] static const struct kfd_device_info raven_device_info = { ^

Re: [PATCH v4] gpu/drm: ingenic: Add option to mmap GEM buffers cached

2020-09-10 Thread Paul Cercueil
Any love for my patch? I have more pending :) Thanks, -Paul Le sam. 22 août 2020 à 18:42, Paul Cercueil a écrit : Ingenic SoCs are most notably used in cheap chinese handheld gaming consoles. There, the games and applications generally render in software directly into GEM buffers.

Re: [PATCH] drm/panfrost: Ensure GPU quirks are always initialised

2020-09-10 Thread Alyssa Rosenzweig
Reviewed-by: Alyssa Rosenzweig > diff --git a/drivers/gpu/drm/panfrost/panfrost_gpu.c > b/drivers/gpu/drm/panfrost/panfrost_gpu.c > index e0f190e43813..6d17d3cbd1df 100644 > --- a/drivers/gpu/drm/panfrost/panfrost_gpu.c > +++ b/drivers/gpu/drm/panfrost/panfrost_gpu.c > @@ -305,6 +305,8 @@ void

Re: [PATCH RFC v6 1/6] dt-bindings: exynos-bus: Add documentation for interconnect properties

2020-09-10 Thread Georgi Djakov
Hi Sylwester, On 8/28/20 17:49, Sylwester Nawrocki wrote: > On 30.07.2020 14:28, Sylwester Nawrocki wrote: >> On 09.07.2020 23:04, Rob Herring wrote: >>> On Thu, Jul 02, 2020 at 06:37:19PM +0200, Sylwester Nawrocki wrote: Add documentation for new optional properties in the exynos bus nodes:

[PATCH] V2: Currently, DRM get the capability of the mst hub only from DP_DPCD_REV and get the slower speed even the mst hub can run in the faster speed.

2020-09-10 Thread Koba Ko
As per DP-1.3, First check DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT. If DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT is 1, read the DP_DP13_DPCD_REV to get the faster capability. If DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT is 0, read DP_DPCD_REV. Signed-off-by: Koba Ko --- ChangeLog: 1. use

[PATCH -next 5/8] drm/amd/amdgpu: fix comparison pointer to bool warning in si.c

2020-09-10 Thread Zheng Bin
Fixes coccicheck warning: drivers/gpu/drm/amd/amdgpu/si.c:1342:5-10: WARNING: Comparison to bool Signed-off-by: Zheng Bin --- drivers/gpu/drm/amd/amdgpu/si.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/si.c b/drivers/gpu/drm/amd/amdgpu/si.c

[PATCH -next 3/8] drm/amd/amdgpu: fix comparison pointer to bool warning in sdma_v5_0.c

2020-09-10 Thread Zheng Bin
Fixes coccicheck warning: drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c:619:5-11: WARNING: Comparison to bool Signed-off-by: Zheng Bin --- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c

Re: [PATCH v5 30/36] memory: tegra20-emc: Register as interconnect provider

2020-09-10 Thread Georgi Djakov
On 8/14/20 03:06, Dmitry Osipenko wrote: > Now memory controller is a memory interconnection provider. This allows us > to use interconnect API in order to change memory configuration. > > Signed-off-by: Dmitry Osipenko Acked-by: Georgi Djakov ___

Re: [PATCH v5 27/36] memory: tegra-mc: Register as interconnect provider

2020-09-10 Thread Dmitry Osipenko
09.09.2020 11:31, Georgi Djakov пишет: > On 8/14/20 03:06, Dmitry Osipenko wrote: >> Now memory controller is a memory interconnection provider. This allows us >> to use interconnect API in order to change memory configuration. >> >> Signed-off-by: Dmitry Osipenko > > Thanks Dmitry! Looks good

Re: [PATCH v2 04/23] virtio: Add get_shm_region method

2020-09-10 Thread Miklos Szeredi
On Wed, Sep 9, 2020 at 9:04 AM Gerd Hoffmann wrote: > > On Wed, Sep 02, 2020 at 05:00:25PM -0700, Gurchetan Singh wrote: > > On Wed, Sep 2, 2020 at 3:15 PM Vivek Goyal wrote: > > > > > Hi Gurchetan, > > > > > > Now Miklos has queued, these tree virtio patches for shared memory > > > region in

[PULL] drm-intel-fixes

2020-09-10 Thread Jani Nikula
Hi Dave & Daniel - drm-intel-fixes-2020-09-10: drm/i915 fixes for v5.9-rc5: - Fix regression leading to audio probe failure BR, Jani. The following changes since commit f4d51dffc6c01a9e94650d95ce0104964f8ae822: Linux 5.9-rc4 (2020-09-06 17:11:40 -0700) are available in the Git repository

Re: [PATCH v9 0/5] Add support for iMX8MQ Display Controller Subsystem

2020-09-10 Thread Laurentiu Palcu
Hi Daniel, On Thu, Sep 10, 2020 at 08:47:34AM +0200, Daniel Vetter wrote: > On Wed, Sep 9, 2020 at 5:03 PM Lucas Stach wrote: > > > > Hi Laurentiu, > > > > On Mo, 2020-08-31 at 14:24 +0300, Laurentiu Palcu wrote: > > > Hi Lucas, Sam, > > > > > > On Mon, Aug 31, 2020 at 12:37:23PM +0200, Lucas

[PULL] scatterlists related fixes

2020-09-10 Thread Marek Szyprowski
Hi Dave & Daniel, Please pull a set of fixes for various DRM drivers that finally resolve incorrect usage of the scatterlists (struct sg_table nents and orig_nents entries), what causes issues when IOMMU is used. Best regards Marek Szyprowski, PhD Samsung R Institute Poland The following

Re: [RFC PATCH 1/2] drm/hyperv: Add DRM driver for hyperv synthetic video device

2020-09-10 Thread Tang, Shaofeng
Hi Deepak, Do you have a new version of this patch now? I take a try with it. and meet some typo and "incompatible pointer" error. If you have a new version, could you share it with us? BR, Shaofeng ___ dri-devel mailing list

Re: [PATCH v7 3/4] drm/kmb: Mipi DSI part of the display driver

2020-09-10 Thread Daniel Vetter
On Mon, Aug 31, 2020 at 01:02:51PM -0700, Anitha Chrisanthus wrote: > Initializes Mipi DSI and sets up connects to ADV bridge > > v2: removed license text > upclassed dev_private, removed HAVE_IRQ. (Sam) > > v3: Squashed all 59 commits to one > > v4: review changes from Sam Ravnborg >

Re: [trivial PATCH] treewide: Convert switch/case fallthrough; to break;

2020-09-10 Thread Felipe Balbi
Hi, Joe Perches writes: > drivers/usb/dwc3/core.c | 2 +- > drivers/usb/gadget/legacy/inode.c | 2 +- > drivers/usb/gadget/udc/pxa25x_udc.c | 4 ++-- > drivers/usb/phy/phy-fsl-usb.c |

Re: [PATCH] drm/mm: prevent a potential null-pointer dereference

2020-09-10 Thread Christian König
Am 10.09.20 um 04:38 schrieb Jing Xiangfeng: The macro 'DECLARE_NEXT_HOLE_ADDR' may hit a potential null-pointer dereference. So use 'entry' after checking it. I don't see a potential null-pointer dereference here. Where should that be? Christian. Fixes: 5fad79fd66ff ("drm/mm: cleanup and

[PULL] drm-misc-fixes

2020-09-10 Thread Maarten Lankhorst
drm-misc-fixes-2020-09-09: drm-misc-fixes for v5.9-rc5: - Fix double free in virtio. - Add missing put_device in sun4i, and other fixes. - Small ingenic fixes. - Handle sun4i alpha on lowest plane correctly. - Remove output->enabled from virtio, as it should use crtc_state. - Fix tve200

Re: per-plane LUTs and CSCs?

2020-09-10 Thread Pekka Paalanen
On Wed, 9 Sep 2020 13:57:28 +0300 Laurentiu Palcu wrote: > Hi all, > > I was wondering whether you could give me an advise on how to proceed further > with the following issue as I'm preparing to upstream the next set of patches > for the iMX8MQ display controller(DCSS). The display controller

Re: [PATCH 2/3] backlight: pwm_bl: Artificially add 0% during interpolation

2020-09-10 Thread Daniel Vetter
On Wed, Sep 09, 2020 at 05:03:37PM +0200, Daniel Vetter wrote: > On Wed, Sep 9, 2020 at 4:45 PM Daniel Thompson > wrote: > > > > On Mon, Sep 07, 2020 at 09:50:18AM +0200, Daniel Vetter wrote: > > > On Fri, Sep 04, 2020 at 12:38:22PM +0100, Daniel Thompson wrote: > > > > On Mon, Jul 20, 2020 at

Re: [PATCH v7 2/4] drm/kmb: Add support for KeemBay Display

2020-09-10 Thread Daniel Vetter
On Mon, Aug 31, 2020 at 01:02:50PM -0700, Anitha Chrisanthus wrote: > This is a basic KMS atomic modesetting display driver for KeemBay family of > SOCs. Driver has no 2D or 3D graphics.It calls into the ADV bridge > driver at the connector level. > > Single CRTC with LCD controller->mipi DSI->

[Bug 209163] amdgpu: The CS has been cancelled because the context is lost

2020-09-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209163 --- Comment #9 from Christian König (christian.koe...@amd.com) --- Try amdgpu.vramlimit=512 on the kernel command line to limit the available VRAM to 512MB. The problem is certainly some kind of memory leak. You need to test an up to date

Re: [PATCH v10 30/30] videobuf2: use sgtable-based scatterlist wrappers

2020-09-10 Thread Hans Verkuil
On 04/09/2020 15:17, Marek Szyprowski wrote: > Use recently introduced common wrappers operating directly on the struct > sg_table objects and scatterlist page iterators to make the code a bit > more compact, robust, easier to follow and copy/paste safe. > > No functional change, because the code

Re: [PATCH -next] drm/panel: s6e63m0: Add missing MODULE_LICENSE

2020-09-10 Thread Daniel Vetter
On Wed, Sep 09, 2020 at 09:41:37PM +0800, YueHaibing wrote: > Kbuild warns when this file is built as a loadable module: > > WARNING: modpost: missing MODULE_LICENSE() in > drivers/gpu/drm/panel/panel-samsung-s6e63m0.o > > Add the missing license/author/description tags. > > Fixes:

Re: per-plane LUTs and CSCs?

2020-09-10 Thread Simon Ser
On Wednesday, September 9, 2020 12:57 PM, Laurentiu Palcu wrote: > Hi all, > > I was wondering whether you could give me an advise on how to proceed further > with the following issue as I'm preparing to upstream the next set of patches > for the iMX8MQ display controller(DCSS). The display

Re: [PATCH v7 0/4] Add support for KeemBay DRM driver

2020-09-10 Thread Daniel Vetter
On Mon, Aug 31, 2020 at 01:02:48PM -0700, Anitha Chrisanthus wrote: > This is a new DRM driver for Intel's KeemBay SOC. > The SoC couples an ARM Cortex A53 CPU with an Intel > Movidius VPU. > > This driver is tested with the KMB EVM board which is the refernce baord > for Keem Bay SOC. The SOC's

Re: per-plane LUTs and CSCs?

2020-09-10 Thread Pekka Paalanen
On Thu, 10 Sep 2020 09:52:26 +0200 Daniel Vetter wrote: > On Thu, Sep 10, 2020 at 10:25:43AM +0300, Pekka Paalanen wrote: > > On Wed, 9 Sep 2020 13:57:28 +0300 > > Laurentiu Palcu wrote: > > > > > Hi all, > > > > > > I was wondering whether you could give me an advise on how to proceed > >

Re: [PATCH v9 0/5] Add support for iMX8MQ Display Controller Subsystem

2020-09-10 Thread Daniel Vetter
On Wed, Sep 9, 2020 at 5:03 PM Lucas Stach wrote: > > Hi Laurentiu, > > On Mo, 2020-08-31 at 14:24 +0300, Laurentiu Palcu wrote: > > Hi Lucas, Sam, > > > > On Mon, Aug 31, 2020 at 12:37:23PM +0200, Lucas Stach wrote: > > > Hi Laurentiu, > > > > > > On Fr, 2020-08-28 at 11:36 +0300, Laurentiu

[PATCH] drm/mediatek: add exception handing in mtk_drm_probe() if component init fail

2020-09-10 Thread Yu Kuai
mtk_ddp_comp_init() is called in a loop in mtk_drm_probe(), if it fail, previous successive init component is not proccessed. Thus uninitialize valid component and put their device if component init failed. Fixes: 119f5173628a ("drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.")

[PATCH] drm/vc4: Remove unused variables

2020-09-10 Thread Tian Tao
Fixes the following W=1 kernel build warning(s): vc4_plane.c: In function ‘vc4_plane_init’: vc4_plane.c:1340:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Signed-off-by: Tian Tao --- drivers/gpu/drm/vc4/vc4_plane.c | 3 +-- 1 file changed, 1 insertion(+), 2

[PATCH v5] drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets

2020-09-10 Thread Kuogee Hsieh
add event thread to execute events serially from event queue. Also timeout mode is supported which allow an event be deferred to be executed at later time. Both link and phy compliant tests had been done successfully. Changes in v2: - Fix potential deadlock by removing redundant connect_mutex -

[PATCH -next 0/8] drm/amd/amdgpu: fix comparison pointer to bool warning

2020-09-10 Thread Zheng Bin
Zheng Bin (8): drm/amd/amdgpu: fix comparison pointer to bool warning in gfx_v9_0.c drm/amd/amdgpu: fix comparison pointer to bool warning in gfx_v10_0.c drm/amd/amdgpu: fix comparison pointer to bool warning in sdma_v5_0.c drm/amd/amdgpu: fix comparison pointer to bool warning in

[PATCH -next] drm/ttm/agp: Fix Wunused-variable warning

2020-09-10 Thread YueHaibing
If CONFIG_AGP is not set, gcc warns: drivers/gpu/drm/radeon/radeon_ttm.c: In function ‘radeon_ttm_tt_bind’: drivers/gpu/drm/radeon/radeon_ttm.c:692:24: warning: unused variable ‘rdev’ [-Wunused-variable] struct radeon_device *rdev = radeon_get_rdev(bdev); ^~~~ Move it

[PATCH] drm/amd/display: optimize code runtime a bit

2020-09-10 Thread Bernard Zhao
In fnction is_cr_done & is_ch_eq_done, when done = false happened once, no need to circle left ln_count. This change is to make the code run a bit fast. Signed-off-by: Bernard Zhao --- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 14 +- 1 file changed, 5 insertions(+), 9

  1   2   >