Re: [PATCH 1/3] drm/i915: use true, false for bool variable in i915_debugfs.c

2020-01-01 Thread Jani Nikula
On Tue, 24 Dec 2019, Ma Feng wrote: > Fixes coccicheck warning: > > drivers/gpu/drm/i915/i915_debugfs.c:3078:4-36: WARNING: Assignment of 0/1 to > bool variable > drivers/gpu/drm/i915/i915_debugfs.c:3078:4-36: WARNING: Assignment of 0/1 to > bool variable >

Re: [PATCH v3 2/2] drm/sun4i: Use CRTC size instead of PRIMARY plane size as mixer frame.

2020-01-01 Thread Chen-Yu Tsai
Hi Roman, Your domain has DMARC setup with the "reject" policy. This means emails from your domain may be subsequently rejected by people using email forwarders (such as @kernel.org) to forward to Gmail. I suggest using another email address to send patches, or ask your IT people to drop the

Re: [PATCH v6, 13/14] drm/mediatek: add fifo_size into rdma private data

2020-01-01 Thread CK Hu
Hi, Yongqiang: On Thu, 2020-01-02 at 13:42 +0800, Yongqiang Niu wrote: > On Thu, 2020-01-02 at 13:20 +0800, CK Hu wrote: > > Hi, Yongqiang: > > > > On Thu, 2020-01-02 at 12:00 +0800, Yongqiang Niu wrote: > > > the fifo size of rdma in mt8183 is different. > > > rdma0 fifo size is 5k > > > rdma1

Re: [PATCH v6, 02/14] drm/mediatek: move dsi/dpi select input into mtk_ddp_sel_in

2020-01-01 Thread CK Hu
Hi, Yongqiang: On Thu, 2020-01-02 at 14:21 +0800, Yongqiang Niu wrote: > On Thu, 2020-01-02 at 14:02 +0800, CK Hu wrote: > > Hi, Yongqiang: > > > > On Thu, 2020-01-02 at 13:39 +0800, Yongqiang Niu wrote: > > > On Thu, 2020-01-02 at 13:03 +0800, CK Hu wrote: > > > > Hi, Yongqiang: > > > > > > >

Re: [PATCH v6, 02/14] drm/mediatek: move dsi/dpi select input into mtk_ddp_sel_in

2020-01-01 Thread CK Hu
Hi, Yongqiang: On Thu, 2020-01-02 at 13:39 +0800, Yongqiang Niu wrote: > On Thu, 2020-01-02 at 13:03 +0800, CK Hu wrote: > > Hi, Yongqiang: > > > > On Thu, 2020-01-02 at 12:00 +0800, Yongqiang Niu wrote: > > > move dsi/dpi select input into mtk_ddp_sel_in > > > > > > Signed-off-by: Yongqiang

Re: [PATCH v6, 14/14] drm/mediatek: add support for mediatek SOC MT8183

2020-01-01 Thread CK Hu
Hi, Yongqiang: On Thu, 2020-01-02 at 12:00 +0800, Yongqiang Niu wrote: > This patch add support for mediatek SOC MT8183 > 1.ovl_2l share driver with ovl > 2.rdma1 share drive with rdma0, but fifo size is different > 3.add mt8183 mutex private data, and mmsys private data > 4.add mt8183 main and

Re: [PATCH v6, 04/14] drm/mediatek: add mmsys private data for ddp path config

2020-01-01 Thread CK Hu
Hi, Yongqiang: On Thu, 2020-01-02 at 12:00 +0800, Yongqiang Niu wrote: > This patch add mmsys private data for ddp path config > all these register offset and value will be different in future SOC > add these define into mmsys private data > u32 ovl0_mout_en; > u32 rdma1_sout_sel_in;

Re: [PATCH v6, 13/14] drm/mediatek: add fifo_size into rdma private data

2020-01-01 Thread CK Hu
Hi, Yongqiang: On Thu, 2020-01-02 at 12:00 +0800, Yongqiang Niu wrote: > the fifo size of rdma in mt8183 is different. > rdma0 fifo size is 5k > rdma1 fifo size is 2k > > Signed-off-by: Yongqiang Niu > --- > drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 21 - > 1 file changed,

Re: [PATCH v6, 02/14] drm/mediatek: move dsi/dpi select input into mtk_ddp_sel_in

2020-01-01 Thread CK Hu
Hi, Yongqiang: On Thu, 2020-01-02 at 12:00 +0800, Yongqiang Niu wrote: > move dsi/dpi select input into mtk_ddp_sel_in > > Signed-off-by: Yongqiang Niu > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git

[Bug 206053] New: Lock screen Black after idle with amdgpu.dc=1

2020-01-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206053 Bug ID: 206053 Summary: Lock screen Black after idle with amdgpu.dc=1 Product: Drivers Version: 2.5 Kernel Version: 4.19+ Hardware: x86-64 OS: Linux Tree:

Re: [PATCH] drm/panel: declare variable as __be16

2020-01-01 Thread Daniel Vetter
On Mon, Dec 30, 2019 at 10:56:09PM +0300, Wambui Karuga wrote: > Declare the temp variable as __be16 to address the following sparse > warning: > drivers/gpu/drm/panel/panel-lg-lg4573.c:45:20: warning: incorrect type in > initializer (different base types) >

Re: [PATCH] drm/nouveau: use NULL for pointer assignment.

2020-01-01 Thread Daniel Vetter
On Tue, Dec 31, 2019 at 11:57:34PM +0300, Wambui Karuga wrote: > Replace the use of 0 in the pointer assignment with NULL to address the > following sparse warning: > drivers/gpu/drm/nouveau/nouveau_hwmon.c:744:29: warning: Using plain integer > as NULL pointer > > Signed-off-by: Wambui Karuga

Re: [PATCH] drm/nouveau: remove set but unused variable.

2020-01-01 Thread Daniel Vetter
On Tue, Dec 31, 2019 at 11:56:07PM +0300, Wambui Karuga wrote: > The local variable `pclks` is defined and set but not used and can > therefore be removed. > Issue found by coccinelle. > > Signed-off-by: Wambui Karuga > --- > drivers/gpu/drm/nouveau/dispnv04/arb.c | 3 +-- > 1 file changed, 1

[Bug 201139] amdgpu: [drm] enabling link 1 failed: 15 (vega)

2020-01-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201139 Nick Price (n...@spun.io) changed: What|Removed |Added CC||n...@spun.io --- Comment #8

Re: [PATCH v4 04/11] drm/bridge: Make the bridge chain a double-linked list

2020-01-01 Thread Laurent Pinchart
Hi Boris, On Fri, Dec 27, 2019 at 01:21:31PM +0100, Boris Brezillon wrote: > On Fri, 27 Dec 2019 12:51:54 +0200 Laurent Pinchart wrote: > > On Fri, Dec 27, 2019 at 10:42:25AM +0100, Andrzej Hajda wrote: > > > On 24.12.2019 10:44, Boris Brezillon wrote: > > > > On Tue, 24 Dec 2019 10:16:49 +0100

Re: [PATCH resend 0/2] drm/connector: Add support for specifying panel_orientation on the kernel cmdline

2020-01-01 Thread Hans de Goede
Hi all, Ping? it would be really nice if we can get these last 2 patches from my series for specifying panel_orientation on the kernel cmdline upstream. If someone can review the first patch (the second one has already been reviewed) then that would be great. Thanks & Regards, Hans On

[pull] amdgpu drm-fixes-5.5

2020-01-01 Thread Alex Deucher
Hi Dave, Daniel, Happy New Year! Fixes for 5.5. The following changes since commit e31d941c7dd797df37ea94958638a88723325c30: Merge tag 'drm-intel-fixes-2019-12-23' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes (2019-12-27 13:13:30 +1000) are available in the Git repository

Re: [PATCH 15/16] drm: bridge: dw-hdmi: constify copied structure

2020-01-01 Thread Laurent Pinchart
Hi Julia, Thank you for the patch. On Wed, Jan 01, 2020 at 08:43:33AM +0100, Julia Lawall wrote: > The dw_hdmi_hw structure is only copied into another structure, > so make it const. > > The opportunity for this change was found using Coccinelle. > > Signed-off-by: Julia Lawall Reviewed-by:

[Bug 206017] Kernel 5.4.x unusable with GUI due to [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!

2020-01-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206017 --- Comment #3 from udo (udo...@xs4all.nl) --- amdgpu.noretry=0 appears to help on 5.4.6. -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel mailing list

[Bug 206017] Kernel 5.4.x unusable with GUI due to [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!

2020-01-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206017 Alex Deucher (alexdeuc...@gmail.com) changed: What|Removed |Added CC|

Re: [PATCH v2 1/5] pinctrl: Allow modules to use pinctrl_[un]register_mappings

2020-01-01 Thread Hans de Goede
Hi, On 30-12-2019 14:31, Linus Walleij wrote: On Mon, Dec 16, 2019 at 9:51 PM Hans de Goede wrote: Currently only the drivers/pinctrl/devicetree.c code allows registering pinctrl-mappings which may later be unregistered, all other mappings are assumed to be permanent. Non-dt platforms may

Re: [RFC v2 1/1] drm/lima: Add optional devfreq support

2020-01-01 Thread Robin Murphy
On 2019-12-31 4:47 pm, Martin Blumenstingl wrote: Hi Robin, On Tue, Dec 31, 2019 at 5:40 PM Robin Murphy wrote: On 2019-12-31 2:17 pm, Martin Blumenstingl wrote: Hi Robin, On Mon, Dec 30, 2019 at 1:47 AM Robin Murphy wrote: On 2019-12-29 11:19 pm, Martin Blumenstingl wrote: Hi Robin,

[PATCH 4/6] dt-bindings: display: panel: Convert friendlyarm, hd702e to DT schema

2020-01-01 Thread Jagan Teki
Convert the friendlyarm,hd702e panel bindings to DT schema. Signed-off-by: Jagan Teki --- .../display/panel/friendlyarm,hd702e.txt | 32 - .../display/panel/friendlyarm,hd702e.yaml | 47 +++ 2 files changed, 47 insertions(+), 32 deletions(-) delete mode

[PATCH 5/6] dt-bindings: display: panel: Convert rocktech, rk070er9427 to DT schema

2020-01-01 Thread Jagan Teki
Convert the rocktech,rk070er9427 panel bindings to DT schema. Also, drop the description from legacy .txt since the yaml DT schema of panel-common.yaml already have that information. Signed-off-by: Jagan Teki --- .../display/panel/rocktech,rk070er9427.txt| 25 -

[PATCH 0/6] dt-bindings: display: Update few panel bindings with YAML

2020-01-01 Thread Jagan Teki
These panel bindings are owned by me, so updated all of them into YAML DT schema. Any inputs? Jagan. Jagan Teki (6): dt-bindings: display: panel: Convert feiyang,fy07024di26a30d to DT schema dt-bindings: display: panel: Convert sitronix,st7701 to DT schema MAINTAINERS: Update feiyang,

[PATCH 3/6] MAINTAINERS: Update feiyang, st7701 panel bindings converted as YAML

2020-01-01 Thread Jagan Teki
The feiyang,fy07024di26a30d.txt and sitronix,st7701.txt has been converted to YAML schemas, update MAINTAINERS to match them again. Signed-off-by: Jagan Teki --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH 1/6] dt-bindings: display: panel: Convert feiyang, fy07024di26a30d to DT schema

2020-01-01 Thread Jagan Teki
Convert the feiyang,fy07024di26a30d panel bindings to DT schema. Signed-off-by: Jagan Teki --- .../display/panel/feiyang,fy07024di26a30d.txt | 20 .../panel/feiyang,fy07024di26a30d.yaml| 50 +++ 2 files changed, 50 insertions(+), 20 deletions(-) delete mode

[PATCH 2/6] dt-bindings: display: panel: Convert sitronix, st7701 to DT schema

2020-01-01 Thread Jagan Teki
Convert the sitronix,st7701 panel bindings to DT schema. Signed-off-by: Jagan Teki --- .../display/panel/sitronix,st7701.txt | 30 - .../display/panel/sitronix,st7701.yaml| 61 +++ 2 files changed, 61 insertions(+), 30 deletions(-) delete mode 100644

[PATCH 6/6] dt-bindings: display: panel: Convert koe, tx31d200vm0baa to DT schema

2020-01-01 Thread Jagan Teki
Convert the koe,tx31d200vm0baa panel bindings to DT schema. Also, drop the description from legacy .txt since the yaml DT schema of panel-common.yaml already have that information. Signed-off-by: Jagan Teki --- .../display/panel/koe,tx31d200vm0baa.txt | 25 -

[PATCH 15/16] drm: bridge: dw-hdmi: constify copied structure

2020-01-01 Thread Julia Lawall
The dw_hdmi_hw structure is only copied into another structure, so make it const. The opportunity for this change was found using Coccinelle. Signed-off-by: Julia Lawall --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH RFC v2] drm/msm/mdp5: enable autorefresh

2020-01-01 Thread Brian Masney
On Sun, Dec 29, 2019 at 09:00:53PM -0500, Brian Masney wrote: > Since the introduction of commit 2d99ced787e3 ("drm/msm: async commit > support"), command-mode panels began throwing the following errors: > > msm fd90.mdss: pp done time out, lm=0 > > Let's fix this by enabling the

[PATCH 07/16] video: sa1100fb: constify copied structure

2020-01-01 Thread Julia Lawall
The monspecs structure is only copied into another structure, so make it const. The opportunity for this change was found using Coccinelle. Signed-off-by: Julia Lawall --- drivers/video/fbdev/sa1100fb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 00/16] constify copied structure

2020-01-01 Thread Julia Lawall
Make const static structures that are just copied into other structures. The semantic patch that detects the opportunity for this change is as follows: (http://coccinelle.lip6.fr/) @r disable optional_qualifier@ identifier i,j; position p; @@ static struct i j@p = { ... }; @upd@ position p1;

Re: [PATCH] drm/nouveau: declare constants as unsigned long.

2020-01-01 Thread Wambui Karuga
On Tue, Dec 31, 2019 at 06:53:55PM -0500, Ilia Mirkin wrote: > Probably want ULL for 32-bit arches to be correct here too. > Okay, I can convert them to ULL and send a v2. Thanks, wambui. > On Tue, Dec 31, 2019 at 3:53 PM Wambui Karuga > wrote: > > > > Explicitly declare constants are

[PATCH] drm/lima: use drm_sched_fault for error task handling

2020-01-01 Thread Qiang Yu
drm_sched_job_timedout works with drm_sched_stop as a pair, so we'd better use the drm_sched_fault helper to make the error and timeout handling go the same path. This also fixes application hang when task error. Signed-off-by: Qiang Yu --- drivers/gpu/drm/lima/lima_sched.c | 35