[PATCH] drm/doc: internals: remove section on PCI legacy support

2024-01-11 Thread Randy Dunlap
The functions that were described in this section of drm-internals.rst were removed in NOV-2023, along with all of the kernel-doc comments in the source file. This now causes a docs build warning, so remove that section of the documentation also. drivers/gpu/drm/drm_pci.c:1: warning: no

Re: [PATCH 3/6] drm/amdgpu: prefer snprintf over sprintf

2024-01-11 Thread kernel test robot
Hi Jani, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.7 next-20240111] [If your patch is applied to the wrong git

Re: [PATCH v3 07/11] drm/mediatek: Add secure layer config support for ovl

2024-01-11 Thread 林睿祥

Re: [PATCH 2/2] xfs: disable large folio support in xfile_create

2024-01-11 Thread Darrick J. Wong
On Thu, Jan 11, 2024 at 10:45:53PM +, Matthew Wilcox wrote: > On Thu, Jan 11, 2024 at 02:00:53PM -0800, Andrew Morton wrote: > > On Wed, 10 Jan 2024 12:04:51 -0800 "Darrick J. Wong" > > wrote: > > > > > > > Fixing this will require a bit of an API change, and prefeably > > > > > sorting

Re: [v2 2/2] drm/panel: Add support for Novatek NT36672E panel driver

2024-01-11 Thread Jessica Zhang
On 1/8/2024 1:59 AM, Ritesh Kumar wrote: Add support for the 1080x2408 Novatek NT36672E video mode DSI panel driver. Signed-off-by: Ritesh Kumar Reviewed-by: Jessica Zhang --- v2: Fixed review comments from Krzysztof - renamed the panel driver file to reflect that this is a

Re: [PATCH 3/7] drm/amd/display: Add handling for new "active color format" property

2024-01-11 Thread Werner Sembach
Hi, Am 10.01.24 um 18:15 schrieb Andri Yngvason: Hi Werner, mið., 10. jan. 2024 kl. 13:14 skrifaði Werner Sembach : Hi, Am 10.01.24 um 14:09 schrieb Daniel Vetter: On Wed, 10 Jan 2024 at 13:53, Andri Yngvason wrote: mið., 10. jan. 2024 kl. 11:10 skrifaði Daniel Vetter : On Tue, Jan 09,

Re: [PATCH] drm/msm/mdss: specify cfg bandwidth for SDM670

2024-01-11 Thread Richard Acayan
On Fri, Dec 15, 2023 at 03:32:22AM +0200, Dmitry Baryshkov wrote: > Lower the requested CFG bus bandwidth for the SDM670 platform. The > default value is 153600 kBps, which is twice as big as required by the > platform according to the vendor kernel. > > Fixes: a55c8ff252d3 ("drm/msm/mdss: Handle

Re: [PATCH 2/2] xfs: disable large folio support in xfile_create

2024-01-11 Thread Matthew Wilcox
On Thu, Jan 11, 2024 at 02:00:53PM -0800, Andrew Morton wrote: > On Wed, 10 Jan 2024 12:04:51 -0800 "Darrick J. Wong" > wrote: > > > > > Fixing this will require a bit of an API change, and prefeably sorting > > > > out > > > > the hwpoison story for pages vs folio and where it is placed in

Re: [PATCH 2/2] xfs: disable large folio support in xfile_create

2024-01-11 Thread Andrew Morton
On Wed, 10 Jan 2024 12:04:51 -0800 "Darrick J. Wong" wrote: > > > Fixing this will require a bit of an API change, and prefeably sorting out > > > the hwpoison story for pages vs folio and where it is placed in the shmem > > > API. For now use this one liner to disable large folios. > > > > >

Re: [PATCH v1] drm/msm/dp: correct configure Colorimetry Indicator Field at MISC0

2024-01-11 Thread Kuogee Hsieh
On 1/10/2024 3:38 PM, Dmitry Baryshkov wrote: On Wed, 10 Jan 2024 at 22:18, Kuogee Hsieh wrote: MSA MISC0 bit 1 to 7 contains Colorimetry Indicator Field. At current implementation, Colorimetry Indicator Field of MISC0 is not configured correctly. This patch add support of RGB formats

Re: disable large folios for shmem file used by xfs xfile

2024-01-11 Thread Daniel Gomez
On Wed, Jan 10, 2024 at 4:35 PM Matthew Wilcox wrote: > > On Wed, Jan 10, 2024 at 05:28:22PM +0200, Joonas Lahtinen wrote: > > Quoting Joonas Lahtinen (2024-01-10 17:20:24) > > > However we specifically pass "huge=within_size" to vfs_kern_mount when > > > creating a private mount of tmpfs for the

Re: [PATCH 10/10] accel/ivpu: Remove deprecated DRM_IVPU_PARAM_CONTEXT_PRIORITY

2024-01-11 Thread Jeffrey Hugo
On 1/10/2024 7:33 AM, Jacek Lawrynowicz wrote: On 05.01.2024 18:29, Jeffrey Hugo wrote: On 1/5/2024 4:22 AM, Jacek Lawrynowicz wrote: From: "Wachowski, Karol" DRM_IVPU_PARAM_CONTEXT_PRIORITY has been deprecated because it has been replaced with DRM_IVPU_JOB_PRIORITY levels set with submit

[Bug 218368] amdgpu crashes on loading on both kernel-6.6.9 and kernel-6.1.69 at cold boot

2024-01-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=218368 --- Comment #3 from nvaert1986 (nvaert1...@hotmail.com) --- P.S.: The GPU is a Sapphire (AMD) Radeon 7900 XTX, I figured that might be useful information. If any other information is required, then please let me know. -- You may reply to this

Re: [PATCH 0/3] Update LLVM Phabricator and Bugzilla links

2024-01-11 Thread Fangrui Song
On Wed, Jan 10, 2024 at 4:46 PM Kees Cook wrote: > > On Tue, Jan 09, 2024 at 03:16:28PM -0700, Nathan Chancellor wrote: > > This series updates all instances of LLVM Phabricator and Bugzilla links > > to point to GitHub commits directly and LLVM's Bugzilla to GitHub issue > > shortlinks

Re: [PATCH 1/3] selftests/bpf: Update LLVM Phabricator links

2024-01-11 Thread Nathan Chancellor
7 > > > > -__ https://reviews.llvm.org/D109073 > > > > +__ > > > > https://github.com/llvm/llvm-project/commit/ea72b0319d7b0f0c2fcf41d121afa5d031b319d > > > > > > To be consistent with other links, could you add the missing last alnum > > > '5'

Re: [PATCH 1/3] selftests/bpf: Update LLVM Phabricator links

2024-01-11 Thread Alexei Starovoitov
On Thu, Jan 11, 2024 at 11:40 AM Nathan Chancellor wrote: > > Hi Yonghong, > > On Wed, Jan 10, 2024 at 08:05:36PM -0800, Yonghong Song wrote: > > > > On 1/9/24 2:16 PM, Nathan Chancellor wrote: > > > reviews.llvm.org was LLVM's Phabricator instances for code review. It > > > has been abandoned in

Re: [PATCH 1/3] selftests/bpf: Update LLVM Phabricator links

2024-01-11 Thread Nathan Chancellor
Hi Yonghong, On Wed, Jan 10, 2024 at 08:05:36PM -0800, Yonghong Song wrote: > > On 1/9/24 2:16 PM, Nathan Chancellor wrote: > > reviews.llvm.org was LLVM's Phabricator instances for code review. It > > has been abandoned in favor of GitHub pull requests. While the majority > > of links in the

Re: [PATCH] drm: allow IN_FENCE_FD and FB_DAMAGE_CLIPS to be changed with async commits

2024-01-11 Thread Xaver Hugl
Great, thank you! Am Do., 11. Jan. 2024 um 19:05 Uhr schrieb André Almeida < andrealm...@igalia.com>: > Em 11/01/2024 14:59, Xaver Hugl escreveu: > > Am Do., 11. Jan. 2024 um 18:13 Uhr schrieb Simon Ser > > mailto:cont...@emersion.fr>>: > > > > Are we sure that all drivers handle these two

Re: [PATCH] drm: allow IN_FENCE_FD and FB_DAMAGE_CLIPS to be changed with async commits

2024-01-11 Thread Xaver Hugl
Am Do., 11. Jan. 2024 um 18:13 Uhr schrieb Simon Ser : > Are we sure that all drivers handle these two props properly with async > page-flips? This is a new codepath not taken by the legacy uAPI. > I've only tested on amdgpu so far. Afacs the other drivers that would need testing / that support

[PATCH] drm: allow IN_FENCE_FD and FB_DAMAGE_CLIPS to be changed with async commits

2024-01-11 Thread Xaver Hugl
Like with FB_ID, the driver never has to do bandwidth validation to use these properties, so there's no reason not to allow them. Signed-off-by: Xaver Hugl --- drivers/gpu/drm/drm_atomic_uapi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v2 2/4] drm/panel: Add driver for DJN HX83112A LCD panel

2024-01-11 Thread Linus Walleij
On Thu, Jan 11, 2024 at 4:28 PM Luca Weiss wrote: > In some internal documentation it says "LCD Driver IC" "HX83112A" and I > don't see any reference to Truly 5P65 anywhere. In the Android directory I pointed to I see this file: HX83112_Android_Driver/Truly_5p65_module_fw/UpdateFW.bat (Notice

Re: [PATCH v1 0/8] drm/ci: Add support for GPU and display testing

2024-01-11 Thread Daniel Stone
Hi Vignesh, On Wed, 10 Jan 2024 at 10:47, Vignesh Raman wrote: > On 09/01/24 19:08, Daniel Stone wrote: > > A better sequencing would be something like: > >1. add ANX7625 config > >2. refactor _existing_ MTK display jobs to use YAML includes, change > > the existing job name, and rename

Re: [PATCH] drm: allow IN_FENCE_FD and FB_DAMAGE_CLIPS to be changed with async commits

2024-01-11 Thread André Almeida
Em 11/01/2024 14:59, Xaver Hugl escreveu: Am Do., 11. Jan. 2024 um 18:13 Uhr schrieb Simon Ser mailto:cont...@emersion.fr>>: Are we sure that all drivers handle these two props properly with async page-flips? This is a new codepath not taken by the legacy uAPI. I've only tested on

Re: [PATCH v1] drm/msm/dp: remove mdss_dp_test_bit_depth_to_bpc()

2024-01-11 Thread Abhinav Kumar
On 1/11/2024 9:14 AM, Kuogee Hsieh wrote: mdss_dp_test_bit_depth_to_bpc() can be replace by mdss_dp_test_bit_depth_to_bpp() / 3. Hence remove it. Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/dp_debug.c | 2 +- drivers/gpu/drm/msm/dp/dp_link.h | 23 --- 2

[Bug 218368] amdgpu crashes on loading on both kernel-6.6.9 and kernel-6.1.69 at cold boot

2024-01-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=218368 --- Comment #2 from nvaert1986 (nvaert1...@hotmail.com) --- Jan 11 18:20:27 pc02 kernel: WARNING: CPU: 24 PID: 468 at 0xc06b26f1 Jan 11 18:20:27 pc02 kernel: Modules linked in: amdgpu(+) drm_ttm_helper snd_hda_codec_hdmi ttm amdxcp

[Bug 218368] amdgpu crashes on loading on both kernel-6.6.9 and kernel-6.1.69 at cold boot

2024-01-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=218368 --- Comment #1 from nvaert1986 (nvaert1...@hotmail.com) --- an 11 18:20:27 pc02 kernel: [drm] failed to load ucode UNKNOWN UCODE(0xE) Jan 11 18:20:27 pc02 kernel: [drm] psp gfx command LOAD_IP_FW(0x6) failed and response status is (0x0) Jan 11

Re: [PATCH v5 0/8] iio: new DMABUF based API, v5

2024-01-11 Thread Andrew Davis
On 1/11/24 3:20 AM, Paul Cercueil wrote: Hi Andrew, Le lundi 08 janvier 2024 à 15:12 -0600, Andrew Davis a écrit : On 12/19/23 11:50 AM, Paul Cercueil wrote: [V4 was: "iio: Add buffer write() support"][1] Hi Jonathan, This is a respin of the V3 of my patchset that introduced a new interface

[Bug 218368] New: amdgpu crashes on loading on both kernel-6.6.9 and kernel-6.1.69 at cold boot

2024-01-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=218368 Bug ID: 218368 Summary: amdgpu crashes on loading on both kernel-6.6.9 and kernel-6.1.69 at cold boot Product: Drivers Version: 2.5 Hardware: All OS: Linux

Re: [PATCH v1] drm/msm/dp: remove mdss_dp_test_bit_depth_to_bpc()

2024-01-11 Thread Dmitry Baryshkov
On Thu, 11 Jan 2024 at 19:14, Kuogee Hsieh wrote: > > mdss_dp_test_bit_depth_to_bpc() can be replace by > mdss_dp_test_bit_depth_to_bpp() / 3. Hence remove it. > > Signed-off-by: Kuogee Hsieh > --- > drivers/gpu/drm/msm/dp/dp_debug.c | 2 +- > drivers/gpu/drm/msm/dp/dp_link.h | 23

Re: [PATCH 2/7] drm/uAPI: Add "active color format" drm property as feedback for userspace

2024-01-11 Thread Andri Yngvason
mið., 10. jan. 2024 kl. 13:26 skrifaði Daniel Stone : > > > > This thing here works entirely differently, and I think we need somewhat > > new semantics for this: > > > > - I agree it should be read-only for userspace, so immutable sounds right. > > > > - But I also agree with Daniel Stone that

[PATCH v1] drm/msm/dp: remove mdss_dp_test_bit_depth_to_bpc()

2024-01-11 Thread Kuogee Hsieh
mdss_dp_test_bit_depth_to_bpc() can be replace by mdss_dp_test_bit_depth_to_bpp() / 3. Hence remove it. Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/dp_debug.c | 2 +- drivers/gpu/drm/msm/dp/dp_link.h | 23 --- 2 files changed, 1 insertion(+), 24 deletions(-)

Re: [PATCH] drm: allow IN_FENCE_FD and FB_DAMAGE_CLIPS to be changed with async commits

2024-01-11 Thread Simon Ser
Are we sure that all drivers handle these two props properly with async page-flips? This is a new codepath not taken by the legacy uAPI. Style nit: the indentation is a bit off, the continuation lines don't align with the parenthesis.

Re: [PATCH] drm: allow IN_FENCE_FD and FB_DAMAGE_CLIPS to be changed with async commits

2024-01-11 Thread André Almeida
Hi Xaver, Em 11/01/2024 13:56, Xaver Hugl escreveu: Like with FB_ID, the driver never has to do bandwidth validation to use these properties, so there's no reason not to allow them. Signed-off-by: Xaver Hugl Reviewed-by: André Almeida --- drivers/gpu/drm/drm_atomic_uapi.c | 4 +++- 1

Re: BUG / design challenge: vmwgfx + PRIME handle free == clobbering errno

2024-01-11 Thread Xaver Hugl
Am Mi., 10. Jan. 2024 um 01:28 Uhr schrieb Zack Rusin < zack.ru...@broadcom.com>: > On Tue, Jan 9, 2024 at 11:06 AM Xaver Hugl wrote: > > > > Hi, > > > > KWin does use DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT. > > Can you point me to the code that implements it? Just wanted to take a > quick look,

Re: [PATCH RESEND v9 1/8] drm/ttm/tests: Fix argument in ttm_tt_kunit_init()

2024-01-11 Thread Karolina Stolarek
On 11.01.2024 15:59, Christian König wrote: I've gone ahead and pushed this one to drm-misc-next. Going to take a look at the rest as well. Awesome, thanks a lot! All the best, Karolina @Amar could you run another test round with those? And maybe ping Kenny if we can integrate them into

[PULL] drm-misc-next

2024-01-11 Thread Thomas Zimmermann
Hi Dave and Sima, this is the first PR for drm-misc-next for Linux v6.9. It's fairly small compared to typical PRs; probably because of the holidays. Most of the changes appear to by fixes. There's also support for a few more panels and HDMI support for a Rockchip chipset. Best regards Thomas

Re: [PATCH v2 2/4] drm/panel: Add driver for DJN HX83112A LCD panel

2024-01-11 Thread Luca Weiss
On Thu Jan 11, 2024 at 3:57 PM CET, Linus Walleij wrote: > On Wed, Jan 10, 2024 at 4:14 PM Luca Weiss wrote: > > > Add support for the 2340x1080 LCD DJN panel bundled with a HX83112A > > driver IC, as found on the Fairphone 4 smartphone. > > > > Signed-off-by: Luca Weiss > > This makes it sound

Re: [PATCH RESEND v9 1/8] drm/ttm/tests: Fix argument in ttm_tt_kunit_init()

2024-01-11 Thread Christian König
I've gone ahead and pushed this one to drm-misc-next. Going to take a look at the rest as well. @Amar could you run another test round with those? And maybe ping Kenny if we can integrate them into the CI. Thanks, Christian. Am 11.01.24 um 11:28 schrieb Karolina Stolarek: Remove a leftover

Re: [DO NOT MERGE v6 26/37] dt-bindings: vendor-prefixes: Add smi

2024-01-11 Thread Rob Herring
On Wed, Jan 10, 2024 at 04:11:44PM +, Conor Dooley wrote: > On Wed, Jan 10, 2024 at 12:23:37PM +0100, Geert Uytterhoeven wrote: > > Hi Conor, > > > > On Tue, Jan 9, 2024 at 7:06 PM Conor Dooley wrote: > > > On Tue, Jan 09, 2024 at 05:23:23PM +0900, Yoshinori Sato wrote: > > > > Add Silicon

Re: [PATCH] drm/v3d: Show the memory-management stats on debugfs

2024-01-11 Thread Maira Canal
On 1/5/24 12:32, Melissa Wen wrote: On 01/05, Maíra Canal wrote: Dump the contents of the DRM MM allocator of the V3D driver. This will help us to debug the VA ranges allocated. Signed-off-by: Maíra Canal --- drivers/gpu/drm/v3d/v3d_debugfs.c | 15 +++ 1 file changed, 15

Re: [PATCH v2 2/4] drm/panel: Add driver for DJN HX83112A LCD panel

2024-01-11 Thread Linus Walleij
On Wed, Jan 10, 2024 at 4:14 PM Luca Weiss wrote: > Add support for the 2340x1080 LCD DJN panel bundled with a HX83112A > driver IC, as found on the Fairphone 4 smartphone. > > Signed-off-by: Luca Weiss This makes it sound like the Himax HX83112A is the driver IC. This does not seem to be the

Re: [PATCH v2 1/6] dt-bindings: display: add dt-bindings for STM32 LVDS device

2024-01-11 Thread Rob Herring
On Thu, Jan 11, 2024 at 11:40:44AM +0100, Raphael Gallais-Pou wrote: > Add "st,stm32-lvds" compatible. > > Signed-off-by: Raphael Gallais-Pou > --- > Changes in v2: > - Switch compatible and clock-cells related areas > - Remove faulty #include in the example. > - Add entry in

Re: [PATCH] drm/edid: Clean up errors in drm_edid.h

2024-01-11 Thread Jani Nikula
On Thu, 11 Jan 2024, Jani Nikula wrote: > On Thu, 11 Jan 2024, chenxuebing wrote: >> Fix the following errors reported by checkpatch: >> >> ERROR: do not use assignment in if condition >> >> Signed-off-by: chenxuebing > > Reviewed-by: Jani Nikula And pushed to drm-misc-next, thanks for the

Re: [PATCH] drm/v3d: Free the job and assign it to NULL if initialization fails

2024-01-11 Thread Maira Canal
On 1/11/24 04:13, Iago Toral wrote: Ok, thanks for checking, you can add my R-B on the original patch then. Applied to drm-misc/drm-misc-next-fixes! Best Regards, - Maíra Iago El mié, 10-01-2024 a las 07:42 -0300, Maira Canal escribió: Hi Iago, On 1/10/24 03:48, Iago Toral wrote: I

Re: [PATCH] Revert "drm/msm/gpu: Push gpu lock down past runpm"

2024-01-11 Thread Daniel Vetter
On Wed, Jan 10, 2024 at 06:54:53AM -0800, Rob Clark wrote: > On Wed, Jan 10, 2024 at 2:50 AM Daniel Vetter wrote: > > > > On Tue, Jan 09, 2024 at 10:22:17AM -0800, Rob Clark wrote: > > > From: Rob Clark > > > > > > This reverts commit abe2023b4cea192ab266b351fd38dc9dbd846df0. > > > > > >

Re: [PATCH] drm/vc4: don't check if plane->state->fb == state->fb

2024-01-11 Thread Maira Canal
On 1/8/24 05:43, Maxime Ripard wrote: On Fri, 5 Jan 2024 14:58:36 -0300, Ma=C3=ADra Canal wrote: Currently, when using non-blocking commits, we can see the following kernel warning: =20 [ 110.908514] [ cut here ] [ 110.908529] refcount_t: underflow; use-after-free. =20

[PATCH] drm/bridge: Select DRM_KMS_HELPER for DRM_PANEL_BRIDGE

2024-01-11 Thread Luca Weiss
@ config DRM_BRIDGE config DRM_PANEL_BRIDGE def_bool y depends on DRM_BRIDGE + select DRM_KMS_HELPER select DRM_PANEL help DRM bridge wrapper of DRM panels --- base-commit: b9c3a1fa6fb324e691a03cf124b79f4842e65d76 change-id: 20240111-drm-panel-bridg

Re: [PATCH v5 2/2] phy: mtk-mipi-csi: add driver for CSI phy

2024-01-11 Thread AngeloGioacchino Del Regno
Il 11/01/24 11:17, Julien Stephan ha scritto: From: Phi-bang Nguyen This is a new driver that supports the MIPI CSI CD-PHY version 0.5 The number of PHYs depend on the SoC. Each PHY can support D-PHY only or CD-PHY configuration. The driver supports only D-PHY mode, so CD-PHY compatible PHY

Re: [DO NOT MERGE v6 23/37] mfd: sm501: Convert platform_data to OF property

2024-01-11 Thread Lee Jones
On Tue, 09 Jan 2024, Yoshinori Sato wrote: > Various parameters of SM501 can be set using platform_data, > so parameters cannot be passed in the DeviceTree target. > Expands the parameters set in platform_data so that they can be > specified using DeviceTree properties. > > Signed-off-by:

[PULL] drm-intel-next-fixes

2024-01-11 Thread Joonas Lahtinen
Hi Dave & Sima, Here goes drm-intel-next-fixes towards 6.8 merge window now that drm-intel-gt-next is also merged. Most importantly fixes for linux-next added build warnings and then a couple display fixes. CI results for drm-next seem to have regressed with regards to the shard runs somewhere

Re: [PATCH 5.10 1/1] drm/qxl: fix UAF on handle creation

2024-01-11 Thread Greg Kroah-Hartman
On Tue, Jan 09, 2024 at 02:08:25PM +0300, Fedor Pchelkin wrote: > From: Wander Lairson Costa > > commit c611589b4259ed63b9b77be6872b1ce07ec0ac16 upstream. Now queued up, thanks. greg k-h

[PATCH v2 4/6] arm64: dts: st: add ltdc support on stm32mp251

2024-01-11 Thread Raphael Gallais-Pou
The LCD-TFT Display Controller (LTDC) handles display composition, scaling and rotation. It provides a parallel digital RGB flow to be used by display interfaces. Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 12 1 file changed, 12 insertions(+)

[PATCH v2 6/6] arm64: dts: st: add display support on stm32mp257f-ev

2024-01-11 Thread Raphael Gallais-Pou
This patch enables the following IPs on stm32mp257f-ev : * LTDC * LVDS * WSVGA LVDS panel (1024x600) * Panel backlight * Ilitek touchescreen Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 79 ++ 1 file changed, 79 insertions(+)

[PATCH v2 5/6] arm64: dts: st: add lvds support on stm32mp255

2024-01-11 Thread Raphael Gallais-Pou
This patch adds LVDS support on stm32mp255. The LVDS is used on STM32MP2 as a display interface. LVDS PLL clock is binded to the LTDC input clock. Signed-off-by: Raphael Gallais-Pou --- Changes in v2: - Move patch to stm32mp255.dtsi after internal discussions ---

[PATCH v2 2/6] drm/stm: lvds: add new STM32 LVDS Display Interface Transmitter driver

2024-01-11 Thread Raphael Gallais-Pou
The Low-Voltage Differential Signaling (LVDS) Display Interface Transmitter handles the LVDS protocol: it maps the pixels received from the upstream Pixel-DMA LCD-TFT Display Controller (LTDC) onto the LVDS PHY. It regroups three sub blocks: * LVDS host: handles the LVDS protocol (FPD /

[PATCH v2 3/6] drm/stm: ltdc: add lvds pixel clock

2024-01-11 Thread Raphael Gallais-Pou
The STM32MP25x display subsystem presents a mux which feeds the loopback pixel clock of the current bridge in use into the LTDC. This mux is only accessible through sysconfig registers which is not yet available in the STM32MP25x common clock framework. While waiting for a complete update of the

[PATCH v2 1/6] dt-bindings: display: add dt-bindings for STM32 LVDS device

2024-01-11 Thread Raphael Gallais-Pou
Add "st,stm32-lvds" compatible. Signed-off-by: Raphael Gallais-Pou --- Changes in v2: - Switch compatible and clock-cells related areas - Remove faulty #include in the example. - Add entry in MAINTAINERS --- .../bindings/display/st,stm32-lvds.yaml | 117

[PATCH v2 0/6] Introduce STM32 LVDS driver

2024-01-11 Thread Raphael Gallais-Pou
This serie introduces a new DRM bridge driver for STM32MP257 platforms based on Arm Cortex-35. It also adds an instance in the device-tree and handle the inclusion of the driver within the DRM framework. First patch adds a new panel compatible in the panel-lvds driver, which is used by default on

[PATCH RESEND v9 8/8] drm/ttm/tests: Add TODO file

2024-01-11 Thread Karolina Stolarek
List improvements for the test suite with some notes. Signed-off-by: Karolina Stolarek --- drivers/gpu/drm/ttm/tests/TODO | 24 1 file changed, 24 insertions(+) create mode 100644 drivers/gpu/drm/ttm/tests/TODO diff --git a/drivers/gpu/drm/ttm/tests/TODO

[PATCH RESEND v9 7/8] drm/ttm/tests: Add tests for ttm_tt_populate

2024-01-11 Thread Karolina Stolarek
Add tests for functions that add and release pages to TTs. Test the swapin operation. Export ttm_tt_unpopulate, ttm_tt_swapin and ttm_tt_swapout symbols for testing purposes. Signed-off-by: Karolina Stolarek --- drivers/gpu/drm/ttm/tests/ttm_tt_test.c | 119

[PATCH RESEND v9 6/8] drm/ttm/tests: Add eviction testing

2024-01-11 Thread Karolina Stolarek
Add tests for ttm_bo_validate that focus on BO eviction and swapout. Update device funcs definition with eviction-related callbacks. Add alternative funcs where evict_flags() routes eviction to a domain that can't allocate resources (dubbed "busy manager" in the tests). Extract the common path of

[PATCH RESEND v9 4/8] drm/ttm/tests: Add tests with mock resource managers

2024-01-11 Thread Karolina Stolarek
Add mock resource manager to test ttm_bo_validate() with non-system placements. Update KConfig entry to enable DRM Buddy allocator, used by the mock manager. Update move function to do more than just assign a resource. Signed-off-by: Karolina Stolarek Reviewed-by: Christian König Tested-by:

[PATCH RESEND v9 5/8] drm/ttm/tests: Add test cases dependent on fence signaling

2024-01-11 Thread Karolina Stolarek
Add test cases that check how the state of dma fences in BO's reservation object influence the ttm_bo_validation() flow. Do similar tests for resource manager's move fence. Signed-off-by: Karolina Stolarek Tested-by: Amaranath Somalapuram --- .../gpu/drm/ttm/tests/ttm_bo_validate_test.c | 305

[PATCH RESEND v9 3/8] drm/ttm/tests: Test simple BO creation and validation

2024-01-11 Thread Karolina Stolarek
Add tests for ttm_bo_init_reserved() and ttm_bo_validate() that use sys manager. Define a simple move function in ttm_device_funcs. Expose destroy callback of the buffer object to make testing of ttm_bo_init_reserved() behaviour easier. Signed-off-by: Karolina Stolarek Reviewed-by: Christian

[PATCH RESEND v9 2/8] drm/ttm/tests: Use an init function from the helpers lib

2024-01-11 Thread Karolina Stolarek
Add a new helper function that also initializes the device. Use it in ttm_tt test suite and delete the local definition. Signed-off-by: Karolina Stolarek --- drivers/gpu/drm/ttm/tests/ttm_kunit_helpers.c | 14 ++ drivers/gpu/drm/ttm/tests/ttm_kunit_helpers.h | 1 +

[PATCH RESEND v9 1/8] drm/ttm/tests: Fix argument in ttm_tt_kunit_init()

2024-01-11 Thread Karolina Stolarek
Remove a leftover definition of page order and pass an empty flag value in ttm_pool_pre_populated(). Signed-off-by: Karolina Stolarek Tested-by: Amaranath Somalapuram Reviewed-by: Dominik Karol Piątkowski Acked-by: Christian König --- drivers/gpu/drm/ttm/tests/ttm_pool_test.c | 3 +-- 1 file

[PATCH RESEND v9 0/8] Improve test coverage of TTM

2024-01-11 Thread Karolina Stolarek
Introduce tests for ttm_bo_validate()/ttm_bo_init_validate() that exercise simple BO placement as well as eviction (including the case where the evict domain also requires eviction to fit the incoming buffer). Prepare KUnit helpers to handle such scenarios and add a mock VRAM manager. This series

[PATCH v5 2/2] phy: mtk-mipi-csi: add driver for CSI phy

2024-01-11 Thread Julien Stephan
From: Phi-bang Nguyen This is a new driver that supports the MIPI CSI CD-PHY version 0.5 The number of PHYs depend on the SoC. Each PHY can support D-PHY only or CD-PHY configuration. The driver supports only D-PHY mode, so CD-PHY compatible PHY are configured in D-PHY mode. Signed-off-by:

[PATCH v5 1/2] dt-bindings: phy: add mediatek MIPI CD-PHY module v0.5

2024-01-11 Thread Julien Stephan
From: Florian Sylvestre This adds the bindings, for the MIPI CD-PHY module v0.5 embedded in some Mediatek soc, such as the mt8365 Signed-off-by: Florian Sylvestre Signed-off-by: Julien Stephan Reviewed-by: Rob Herring --- .../bindings/phy/mediatek,mt8365-csi-rx.yaml | 79

[PATCH v5 0/2] phy: mtk-mipi-csi: add driver for CSI phy

2024-01-11 Thread Julien Stephan
Adding a new driver for the MIPI CSI CD-PHY module v 0.5 embedded in some Mediatek soc, such as the MT8365 This driver was adapted from https://patchwork.kernel.org/project/linux-mediatek/cover/20200708104023.3225-1-louis@mediatek.com/ v1 can be found here:

[PATCH v3 2/2] drm/imx/dcss: have all init functions use devres

2024-01-11 Thread Philipp Stanner
dcss currently allocates and ioremaps quite a few resources in its probe function's call graph. Devres now provides convenient functions which perform the same task but do the cleanup automatically. Port all memory allocations and ioremap() calls to the devres counterparts. Signed-off-by:

[PATCH v3 1/2] drm/imx/dcss: request memory region

2024-01-11 Thread Philipp Stanner
The driver's memory regions are currently just ioremap()ed, but not reserved through a request. That's not a bug, but having the request is a little more robust. Implement the region-request through the corresponding managed devres-function. Signed-off-by: Philipp Stanner ---

[PATCH v3 0/2] drm/imx/dcss: implement region request and devres

2024-01-11 Thread Philipp Stanner
OK, I messed up the ARM64 build. That's what you get for living on x86 for years and decades. Mea culpa. Should work now. -- Changes in v3: - Fix build errors (missing variable, forgotten remove to call of deleted function) Changes in v2: - Add the region-request to this patch-series. That

[PULL] drm-misc-next-fixes

2024-01-11 Thread Maxime Ripard
Hi, Here's this week drm-misc-next-fixes PR. Maxime drm-misc-next-fixes-2024-01-11: A fix for the v3d register readout, and two compilation fixes for rockchip. The following changes since commit eee706839333ec0643f1b4898a37588025bf4cb5: drm/imagination: pvr_device.h: fix all kernel-doc

Re: [PATCH] drm/edid: Clean up errors in drm_edid.h

2024-01-11 Thread Jani Nikula
On Thu, 11 Jan 2024, chenxuebing wrote: > Fix the following errors reported by checkpatch: > > ERROR: do not use assignment in if condition > > Signed-off-by: chenxuebing Reviewed-by: Jani Nikula > --- > drivers/gpu/drm/drm_edid.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >

Re: [PATCH] drm: Clean up errors in drm_dp_mst_topology.h

2024-01-11 Thread Jani Nikula
On Thu, 11 Jan 2024, chenxuebing wrote: > Fix the following errors reported by checkpatch: > > ERROR: space prohibited before open square bracket '[' Same here, checkpatch just isn't clever enough to realize it's within a macro. BR, Jani. > > Signed-off-by: chenxuebing > --- >

Re: [PATCH] drm: Clean up errors in drm_dp_helper.h

2024-01-11 Thread Jani Nikula
On Thu, 11 Jan 2024, chenxuebing wrote: > Fix the following errors reported by checkpatch: > > ERROR: space prohibited before open square bracket '[' Nah, checkpatch just isn't clever enough to realize it's within a macro. BR, Jani. > > Signed-off-by: chenxuebing > --- >

Re: [PATCH] drm: use ATOMIC64_INIT() for atomic64_t

2024-01-11 Thread Jani Nikula
On Thu, 11 Jan 2024, Jonathan Gray wrote: > use ATOMIC64_INIT() not ATOMIC_INIT() for atomic64_t > > Fixes: 3f09a0cd4ea3 ("drm: Add common fdinfo helper") > Signed-off-by: Jonathan Gray Reviewed-by: Jani Nikula > --- > drivers/gpu/drm/drm_file.c | 2 +- > 1 file changed, 1 insertion(+), 1

[PATCH] drm/radeon/ni_dpm: Clean up errors in nislands_smc.h

2024-01-11 Thread XueBing Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: XueBing Chen --- drivers/gpu/drm/radeon/nislands_smc.h | 51 +-- 1 file changed, 17 insertions(+), 34 deletions(-) diff --git

Re: [PATCH] gma500: Clean up errors in psb_intel_sdvo_regs.h

2024-01-11 Thread Jani Nikula
On Thu, 11 Jan 2024, GuoHua Chen wrote: > Fix the following errors reported by checkpatch: > > ERROR: space required after that close brace '}' > > Signed-off-by: GuoHua Chen > --- > drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

Re: [PATCH 5/6] drm: enable (most) W=1 warnings by default across the subsystem

2024-01-11 Thread Jani Nikula
On Wed, 10 Jan 2024, Hamza Mahfooz wrote: > On 1/10/24 12:39, Jani Nikula wrote: >> At least the i915 and amd drivers enable a bunch more compiler warnings >> than the kernel defaults. >> >> Extend most of the W=1 warnings to the entire drm subsystem by >> default. Use the copy-pasted warnings

[PATCH] drm/radeon/evergreen_cs: Clean up errors in evergreen_cs.c

2024-01-11 Thread XueBing Chen
Fix the following errors reported by checkpatch: ERROR: space required after that ',' (ctx:VxV) ERROR: spaces required around that '>' (ctx:VxV) ERROR: spaces required around that '<' (ctx:VxV) Signed-off-by: XueBing Chen --- drivers/gpu/drm/radeon/evergreen_cs.c | 4 ++-- 1 file changed, 2

[PATCH] drm/radeon: Clean up errors in si.c

2024-01-11 Thread XueBing Chen
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line ERROR: trailing statements should be on next lineo Signed-off-by: XueBing Chen --- drivers/gpu/drm/radeon/si.c | 63 + 1 file changed, 22 insertions(+),

[PATCH] drm/radeon: Clean up errors in radeon.h

2024-01-11 Thread XueBing Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: XueBing Chen --- drivers/gpu/drm/radeon/radeon.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon.h

[PATCH] drm/radeon: Clean up errors in ci_dpm.h

2024-01-11 Thread XueBing Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: XueBing Chen --- drivers/gpu/drm/radeon/ci_dpm.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/radeon/ci_dpm.h

[PATCH] drm/radeon/dpm: Clean up errors in evergreen_smc.h

2024-01-11 Thread XueBing Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: XueBing Chen --- drivers/gpu/drm/radeon/evergreen_smc.h | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreen_smc.h

Re: [PATCH 1/1] drm/virtio: Implement device_attach

2024-01-11 Thread Christian König
Am 11.01.24 um 09:52 schrieb Zhang, Julia: On 2024/1/10 18:21, Daniel Vetter wrote: On Wed, Jan 10, 2024 at 05:56:28PM +0800, Julia Zhang wrote: drm_gem_map_attach() requires drm_gem_object_funcs.get_sg_table to be implemented, or else return ENOSYS. Virtio has no get_sg_table implemented for

RE: [PATCH v15 3/5] drm: renesas: Add RZ/G2L DU Support

2024-01-11 Thread Biju Das
Hi Laurent, Thanks for the feedback. > -Original Message- > From: Laurent Pinchart > Sent: Wednesday, January 10, 2024 7:39 PM > Subject: Re: [PATCH v15 3/5] drm: renesas: Add RZ/G2L DU Support > > Hi Biju, > > On Thu, Jan 04, 2024 at 02:17:39PM +, Biju Das wrote: > > On Friday,

[PATCH] drm/radeon: Clean up errors in clearstate_cayman.h

2024-01-11 Thread XueBing Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: XueBing Chen --- drivers/gpu/drm/radeon/clearstate_cayman.h | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git

[PATCH] drm/radeon: Clean up errors in pptable.h

2024-01-11 Thread XueBing Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line ERROR: space required after that close brace '}' Signed-off-by: XueBing Chen --- drivers/gpu/drm/radeon/pptable.h | 204 +-- 1 file changed, 82 insertions(+),

[PATCH] drm/radeon: Clean up errors in clearstate_ci.h

2024-01-11 Thread XueBing Chen
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line Signed-off-by: XueBing Chen --- drivers/gpu/drm/radeon/clearstate_ci.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/clearstate_ci.h

Re: [PATCH v5 0/8] iio: new DMABUF based API, v5

2024-01-11 Thread Paul Cercueil
Hi Andrew, Le lundi 08 janvier 2024 à 15:12 -0600, Andrew Davis a écrit : > On 12/19/23 11:50 AM, Paul Cercueil wrote: > > [V4 was: "iio: Add buffer write() support"][1] > > > > Hi Jonathan, > > > > This is a respin of the V3 of my patchset that introduced a new > > interface based on DMABUF

[PATCH] drm/radeon: Clean up errors in atombios.h

2024-01-11 Thread XueBing Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line ERROR: space required after that close brace '}' Signed-off-by: XueBing Chen --- drivers/gpu/drm/radeon/atombios.h | 135 -- 1 file changed, 54 insertions(+),

[PATCH] drm/radeon/kms: Clean up errors in radeon_pm.c

2024-01-11 Thread XueBing Chen
Fix the following errors reported by checkpatch: ERROR: space required before the open parenthesis '(' Signed-off-by: XueBing Chen --- drivers/gpu/drm/radeon/radeon_pm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_pm.c

[PATCH] drm/radeon/kms: Clean up errors in smu7.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/smu7.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/radeon/smu7.h

[PATCH] drm/radeon/kms: Clean up errors in smu7_fusion.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line ERROR: space prohibited before open square bracket '[' Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/smu7_fusion.h | 42 +++- 1 file changed, 16

[PATCH] drm/radeon: Clean up errors in r600_dpm.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/r600_dpm.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600_dpm.c

[PATCH] drm/radeon: Clean up errors in rv515.c

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/rv515.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/rv515.c

[PATCH] drm/radeon: Clean up errors in radeon_mode.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/radeon_mode.h | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_mode.h

[PATCH] drm/radeon: Clean up errors in evergreen_reg.h

2024-01-11 Thread GuoHua Chen
Fix the following errors reported by checkpatch: ERROR: space prohibited before that close parenthesis ')' ERROR: need consistent spacing around '<<' (ctx:WxV) ERROR: need consistent spacing around '-' (ctx:WxV) Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/evergreen_reg.h | 10

  1   2   >