Re: [RFC][PATCH 2/3] drm/modes: Make width-mm/height-mm mandatory in of_get_drm_panel_display_mode()

2022-04-02 Thread Noralf Trønnes
Den 02.04.2022 06.28, skrev Marek Vasut: > On 4/2/22 05:19, Laurent Pinchart wrote: >> On Fri, Apr 01, 2022 at 10:36:24PM +0200, Marek Vasut wrote: >>> On 4/1/22 20:46, Laurent Pinchart wrote: On Fri, Apr 01, 2022 at 06:37:54PM +0200, Marek Vasut wrote: > Make the width-mm/height-mm pan

Re: [PATCH v8 1/3] i915/gvt: Separate the MMIO tracking table from GVT-g

2022-04-02 Thread kernel test robot
ase: git://anongit.freedesktop.org/drm-intel for-linux-next config: x86_64-randconfig-c002 (https://download.01.org/0day-ci/archive/20220402/202204021603.w9au0c65-...@intel.com/config) compiler: gcc-11 (Debian 11.2.0-19) 11.2.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/li

[PATCH v15 0/6] drm/loongson: add drm driver for loongson display controller

2022-04-02 Thread Sui Jingfeng
There is a display controller in loongson's LS2K1000 SoC and LS7A1000 bridge chip, the display controller is a PCI device. It have two display pipes but with only one hardware cursor. Each way has a DVO interface which provide RGB888 signals, vertical & horizontal synchronisations, data enable and

[PATCH v15 1/6] MIPS: Loongson64: dts: update the display controller device node

2022-04-02 Thread Sui Jingfeng
The display controller is a pci device, it is used in ls2k1000 SoC and LS7A1000 bridge. Its PCI vendor id is 0x0014, its PCI device id is 0x7a06. In order to let the driver to know which chip the DC is contained in, the compatible of the display controller is named according to the chip's name. Fo

[PATCH v15 2/6] MIPS: Loongson64: introduce board specific dts and add model property

2022-04-02 Thread Sui Jingfeng
This patch introduce three dts which are board specific and each of them is assigned a model property according to the board name printed on the top overlay of the PCB. The model property added can be used to provide board specific information, mips kernel use it as machine name. For example: $ c

[PATCH v15 3/6] dt-bindings: display: Add Loongson display controller

2022-04-02 Thread Sui Jingfeng
This patch Add DT bindings and usages for Loongson display controller found in LS7A1000 bridge chip and LS2k1000 SoC. Signed-off-by: Sui Jingfeng <15330273...@189.cn> --- .../loongson/loongson,display-controller.yaml | 289 ++ 1 file changed, 289 insertions(+) create mode 10064

[PATCH v15 4/6] MIPS: Loongson64: defconfig: enable display bridge drivers

2022-04-02 Thread Sui Jingfeng
ls3A4000 evb board ship with adv7123 and tfp410 while ls2k1000 PI board use a DPI panel from FORLINX company and a sii9022 HDMI transmitter. Signed-off-by: Sui Jingfeng <15330273...@189.cn> --- arch/mips/configs/loongson2k_defconfig | 5 + arch/mips/configs/loongson3_defconfig | 5 + 2 f

[PATCH v15 5/6] drm/loongson: add drm driver for loongson display controller

2022-04-02 Thread Sui Jingfeng
There is a display controller in loongson's LS2K1000 SoC and LS7A1000 bridge chip, the display controller is a PCI device. It have two display pipes but with only one hardware cursor. Each way has a DVO interface which provide RGB888 signals, vertical & horizontal synchronisations, data enable and

[PATCH v15 6/6] MAINTAINERS: add maintainers for DRM LOONGSON driver

2022-04-02 Thread Sui Jingfeng
This patch add myself as maintainer Signed-off-by: Sui Jingfeng <15330273...@189.cn> --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 10476280acb8..21184d8577f4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6487,6 +6487,15 @@ T:

Re: [PATCH AUTOSEL 5.17 001/149] drm: Add orientation quirk for GPD Win Max

2022-04-02 Thread Hans de Goede
Hi, On 4/1/22 22:33, Anisse Astier wrote: > Hi Sasha, > > Le Fri, Apr 01, 2022 at 10:23:08AM -0400, Sasha Levin a écrit : >> From: Anisse Astier >> >> [ Upstream commit 0b464ca3e0dd3cec65f28bc6d396d82f19080f69 ] >> >> Panel is 800x1280, but mounted on a laptop form factor, sideways. >> >> Signed

[PATCH] Hvideo: fbdev: pm2fb: Fix a kernel-doc formatting issue

2022-04-02 Thread Haowen Bai
This function had kernel-doc that not used a hash to separate the function name from the one line description. The warning was found by running scripts/kernel-doc, which is caused by using 'make W=1'. drivers/video/fbdev/pm2fb.c:1507: warning: This comment starts with '/**', but isn't a kernel-d

Re: [PATCH] drm/amdgpu/vcn: remove Unneeded semicolon

2022-04-02 Thread 白浩文
dear Alex Deucher I just mean where unneeded semicolon comes from when I add fixes info. As your remind, I have got it, thank you. 原始邮件 发件人:Alex Deucher 时间:2022年4月1日 21:26 收件人:Paul Menzel 抄送:白浩文 ,David Airlie ,"Pan, Xinhui" ,LKML ,Maling list - DRI developers ,amd-gfx

[PATCH 0/1] drm/simpledrm: Add "panel orientation" property on non-upright mounted LCD panels

2022-04-02 Thread Hans de Goede
Hi Greg, Fedora 36 has switched from efifb to simpledrm as the pre-native-GPU driver fb provider and the lack of this patch is causing issues for devices with non up-right mounted LCD panels (1), can you please add this to the 5.17 stable series? Regards, Hans 1) https://bugzilla.redhat.com/sho

[PATCH 1/1] drm/simpledrm: Add "panel orientation" property on non-upright mounted LCD panels

2022-04-02 Thread Hans de Goede
commit 94fa115f7b28a3f02611499175e134f0a823b686 upstream. Some devices use e.g. a portrait panel in a standard laptop casing made for landscape panels. efifb calls drm_get_panel_orientation_quirk() and sets fb_info.fbcon_rotate_hint to make fbcon rotate the console so that it shows up-right instea

[PATCH] drm/radeon/combios: Prepare cleanup of powerpc's asm/prom.h

2022-04-02 Thread Christophe Leroy
powerpc's asm/prom.h brings some headers that it doesn't need itself. In order to clean it up, first add missing headers in users of asm/prom.h Signed-off-by: Christophe Leroy --- drivers/gpu/drm/radeon/radeon_combios.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/r

[PATCH] video: fbdev: Prepare cleanup of powerpc's asm/prom.h

2022-04-02 Thread Christophe Leroy
powerpc's asm/prom.h brings some headers that it doesn't need itself. In order to clean it up, first add missing headers in users of asm/prom.h Signed-off-by: Christophe Leroy --- drivers/video/fbdev/aty/aty128fb.c | 1 - drivers/video/fbdev/aty/atyfb_base.c | 1 - drivers/video/f

Re: [PATCH v6 1/8] drm/msm/dp: Add eDP support via aux_bus

2022-04-02 Thread Dmitry Baryshkov
On 01/04/2022 02:22, Doug Anderson wrote: Hi, On Wed, Mar 30, 2022 at 9:03 AM Sankeerth Billakanti wrote: @@ -1547,6 +1593,10 @@ int msm_dp_modeset_init(struct msm_dp *dp_display, struct drm_device *dev, dp_display->encoder = encoder; + ret = dp_display_get_next_bridge(dp_di

Re: [PATCH 0/1] drm/simpledrm: Add "panel orientation" property on non-upright mounted LCD panels

2022-04-02 Thread Greg Kroah-Hartman
On Sat, Apr 02, 2022 at 11:30:28AM +0200, Hans de Goede wrote: > Hi Greg, > > Fedora 36 has switched from efifb to simpledrm as the pre-native-GPU driver > fb provider and the lack of this patch is causing issues for devices with > non up-right mounted LCD panels (1), can you please add this to th

Re: [PATCH v8 1/3] i915/gvt: Separate the MMIO tracking table from GVT-g

2022-04-02 Thread kernel test robot
ase: git://anongit.freedesktop.org/drm-intel for-linux-next config: i386-defconfig (https://download.01.org/0day-ci/archive/20220402/202204022008.nct9wukc-...@intel.com/config) compiler: gcc-11 (Debian 11.2.0-19) 11.2.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/li

Patch "drm/fb-helper: Mark screen buffers in system memory with FBINFO_VIRTFB" has been added to the 5.17-stable tree

2022-04-02 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/fb-helper: Mark screen buffers in system memory with FBINFO_VIRTFB to the 5.17-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of th

Patch "drm/fb-helper: Mark screen buffers in system memory with FBINFO_VIRTFB" has been added to the 5.15-stable tree

2022-04-02 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/fb-helper: Mark screen buffers in system memory with FBINFO_VIRTFB to the 5.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of th

Patch "drm/fb-helper: Mark screen buffers in system memory with FBINFO_VIRTFB" has been added to the 5.16-stable tree

2022-04-02 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/fb-helper: Mark screen buffers in system memory with FBINFO_VIRTFB to the 5.16-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of th

[PATCH] drivers/dma-buf: dma-buf.c: fix a typo

2022-04-02 Thread Sui Jingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn> --- drivers/dma-buf/dma-buf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c index df23239b04fc..775d3afb4169 100644 --- a/drivers/dma-buf/dma-buf.c +++ b/drivers/dma-buf/dma

Patch "drm/dp: Fix off-by-one in register cache size" has been added to the 5.15-stable tree

2022-04-02 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/dp: Fix off-by-one in register cache size to the 5.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: drm-dp-f

Patch "drm/dp: Fix off-by-one in register cache size" has been added to the 5.16-stable tree

2022-04-02 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/dp: Fix off-by-one in register cache size to the 5.16-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: drm-dp-f

Patch "drm/dp: Fix off-by-one in register cache size" has been added to the 5.17-stable tree

2022-04-02 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/dp: Fix off-by-one in register cache size to the 5.17-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: drm-dp-f

[PATCH] drm/etnaviv: introduce a function to create etnaviv platform device

2022-04-02 Thread Sui Jingfeng
This patch make the code more clear, call of_node_put(np) only once in for_each_compatible_node(np, NULL, "vivante,gc") loop instead of three. Signed-off-by: Sui Jingfeng <15330273...@189.cn> --- drivers/gpu/drm/etnaviv/etnaviv_drv.c | 36 +-- 1 file changed, 23 inserti

[PATCH] drm/radeon: change si_default_state table from global to static

2022-04-02 Thread Tom Rix
Smatch reports these issues si_blit_shaders.c:31:11: warning: symbol 'si_default_state' was not declared. Should it be static? si_blit_shaders.c:253:11: warning: symbol 'si_default_size' was not declared. Should it be static? Both symbols are only used in si.c. Single file symbols should be s

Re: [PATCH 4/4] drm/etnaviv: Don't break exclusive fence ordering

2022-04-02 Thread Sui Jingfeng
Hi, There's only one exclusive slot, and we must not break the ordering. Adding a new exclusive fence drops all previous fences from the dma_resv. To avoid violating the signalling order we err on the side of over-synchronizing by waiting for the existing fences, even if userspace asked us to ig

Re: [RFC][PATCH 2/3] drm/modes: Make width-mm/height-mm mandatory in of_get_drm_panel_display_mode()

2022-04-02 Thread Marek Vasut
On 4/2/22 09:45, Noralf Trønnes wrote: Den 02.04.2022 06.28, skrev Marek Vasut: On 4/2/22 05:19, Laurent Pinchart wrote: On Fri, Apr 01, 2022 at 10:36:24PM +0200, Marek Vasut wrote: On 4/1/22 20:46, Laurent Pinchart wrote: On Fri, Apr 01, 2022 at 06:37:54PM +0200, Marek Vasut wrote: Make t

Re: [PATCH v6 1/8] drm/msm/dp: Add eDP support via aux_bus

2022-04-02 Thread Doug Anderson
Hi, On Sat, Apr 2, 2022 at 3:37 AM Dmitry Baryshkov wrote: > > On 01/04/2022 02:22, Doug Anderson wrote: > > Hi, > > > > On Wed, Mar 30, 2022 at 9:03 AM Sankeerth Billakanti > > wrote: > >> > >> @@ -1547,6 +1593,10 @@ int msm_dp_modeset_init(struct msm_dp *dp_display, > >> struct drm_device *de

Re: [RFC][PATCH 2/3] drm/modes: Make width-mm/height-mm mandatory in of_get_drm_panel_display_mode()

2022-04-02 Thread Noralf Trønnes
Den 02.04.2022 18.39, skrev Marek Vasut: > On 4/2/22 09:45, Noralf Trønnes wrote: >> >> >> Den 02.04.2022 06.28, skrev Marek Vasut: >>> On 4/2/22 05:19, Laurent Pinchart wrote: On Fri, Apr 01, 2022 at 10:36:24PM +0200, Marek Vasut wrote: > On 4/1/22 20:46, Laurent Pinchart wrote: >>

Re: [RFC][PATCH 2/3] drm/modes: Make width-mm/height-mm mandatory in of_get_drm_panel_display_mode()

2022-04-02 Thread Marek Vasut
On 4/2/22 19:08, Noralf Trønnes wrote: Den 02.04.2022 18.39, skrev Marek Vasut: On 4/2/22 09:45, Noralf Trønnes wrote: Den 02.04.2022 06.28, skrev Marek Vasut: On 4/2/22 05:19, Laurent Pinchart wrote: On Fri, Apr 01, 2022 at 10:36:24PM +0200, Marek Vasut wrote: On 4/1/22 20:46, Laurent P

Re: [PATCH AUTOSEL 5.17 001/149] drm: Add orientation quirk for GPD Win Max

2022-04-02 Thread Anisse Astier
Le Sat, Apr 02, 2022 at 11:14:58AM +0200, Hans de Goede a écrit : > Hi, > > On 4/1/22 22:33, Anisse Astier wrote: > > Hi Sasha, > > > > Le Fri, Apr 01, 2022 at 10:23:08AM -0400, Sasha Levin a écrit : > >> From: Anisse Astier > >> > >> [ Upstream commit 0b464ca3e0dd3cec65f28bc6d396d82f19080f69 ]

Re: [RFC][PATCH 2/3] drm/modes: Make width-mm/height-mm mandatory in of_get_drm_panel_display_mode()

2022-04-02 Thread Noralf Trønnes
Den 02.04.2022 19.55, skrev Marek Vasut: > On 4/2/22 19:08, Noralf Trønnes wrote: >> >> >> Den 02.04.2022 18.39, skrev Marek Vasut: >>> On 4/2/22 09:45, Noralf Trønnes wrote: Den 02.04.2022 06.28, skrev Marek Vasut: > On 4/2/22 05:19, Laurent Pinchart wrote: >> On Fri, Apr

Re: [RFC][PATCH 1/3] dt-bindings: display: panel: mipi-dbi-spi: Make width-mm/height-mm mandatory

2022-04-02 Thread Marek Vasut
On 4/1/22 20:36, Rob Herring wrote: On Fri, Apr 1, 2022 at 11:38 AM Marek Vasut wrote: Make the width-mm/height-mm panel properties mandatory to correctly report the panel dimensions to the OS. Adding required properties is an ABI break. Per discussion with Noralf in 2/3, these bindings en

Re: [PATCH v6 1/8] drm/msm/dp: Add eDP support via aux_bus

2022-04-02 Thread Dmitry Baryshkov
On Sat, 2 Apr 2022 at 20:06, Doug Anderson wrote: > > Hi, > > On Sat, Apr 2, 2022 at 3:37 AM Dmitry Baryshkov > wrote: > > > > On 01/04/2022 02:22, Doug Anderson wrote: > > > Hi, > > > > > > On Wed, Mar 30, 2022 at 9:03 AM Sankeerth Billakanti > > > wrote: > > >> > > >> @@ -1547,6 +1593,10 @@ in

Re: [PATCH] video: fbdev: Prepare cleanup of powerpc's asm/prom.h

2022-04-02 Thread Helge Deller
On 4/2/22 12:22, Christophe Leroy wrote: > powerpc's asm/prom.h brings some headers that it doesn't > need itself. > > In order to clean it up, first add missing headers in > users of asm/prom.h > > Signed-off-by: Christophe Leroy applied to fbdev tree. Thanks! Helge > --- > drivers/video/fbde

Re: [PATCH 17/23] dma-buf: specify usage while adding fences to dma_resv obj v5

2022-04-02 Thread Bas Nieuwenhuizen
On Mon, Mar 21, 2022 at 2:59 PM Christian König wrote: > > Instead of distingting between shared and exclusive fences specify > the fence usage while adding fences. > > Rework all drivers to use this interface instead and deprecate the old one. > > v2: some kerneldoc comments suggested by Daniel >

Re: [PATCH v3] drm: of: Properly try all possible cases for bridge/panel detection

2022-04-02 Thread Bjorn Andersson
On Fri 01 Apr 00:44 PDT 2022, Paul Kocialkowski wrote: > Hi Bjorn, > > On Thu 31 Mar 22, 20:16, Bjorn Andersson wrote: > > On Tue 29 Mar 06:27 PDT 2022, Paul Kocialkowski wrote: > > > > > While bridge/panel detection was initially relying on the usual > > > port/ports-based of graph detection, i

[PATCH] drm/bridge: Fix error handling in analogix_dp_probe

2022-04-02 Thread Miaoqian Lin
In the error handling path, the clk_prepare_enable() function call should be balanced by a corresponding 'clk_disable_unprepare()' call , as already done in the remove function. Fixes: 3424e3a4f844 ("drm: bridge: analogix/dp: split exynos dp driver to bridge directory") Signed-off-by: Miaoqian Li