Re: [PATCH v7 04/15] drm/bridge: analogix_dp: Remove the unnecessary calls to clk_disable_unprepare() during probing

2025-03-01 Thread Damon Ding
Hi Doug, On 2025/2/25 9:40, Doug Anderson wrote: Hi, On Mon, Feb 24, 2025 at 12:14 AM Damon Ding wrote: With the commit f37952339cc2 ("drm/bridge: analogix_dp: handle clock via runtime PM"), the PM operations can help enable/disable the clock. The err_disable_clk label and clk_disable_unprep

Re: [PATCH v3 0/2] Cleanup io.h

2025-03-01 Thread Raag Jadav
On Fri, Feb 28, 2025 at 08:42:10PM +0200, Andy Shevchenko wrote: > On Fri, Feb 28, 2025 at 08:41:33PM +0200, Andy Shevchenko wrote: > > On Fri, Feb 28, 2025 at 07:41:55PM +0200, Raag Jadav wrote: > > > On Fri, Feb 28, 2025 at 06:11:16PM +0100, Arnd Bergmann wrote: > > > > On Thu, Feb 27, 2025, at 1

Re: [PATCH 2/9] reset: simple: Add support for Freescale i.MX95 GPU reset

2025-03-01 Thread Marek Vasut
On 2/28/25 10:58 AM, Alexander Stein wrote: Hi, drivers/reset/reset-simple.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/reset/reset-simple.c b/drivers/reset/reset-simple.c index 2760678398308..1415a941fd6eb 100644 --- a/drivers/reset/reset-simple.c +++ b/drivers/rese

Re: [PATCH v2 01/18] lib/parity: Add __builtin_parity() fallback implementations

2025-03-01 Thread Yury Norov
On Sat, Mar 01, 2025 at 10:23:52PM +0800, Kuan-Wei Chiu wrote: > Add generic C implementations of __paritysi2(), __paritydi2(), and > __parityti2() as fallback functions in lib/parity.c. These functions > compute the parity of a given integer using a bitwise approach and are > marked with __weak, a

Re: [PATCH v2 0/5] Check Rust signatures at compile time

2025-03-01 Thread Greg Kroah-Hartman
On Fri, Feb 28, 2025 at 12:39:29PM +, Alice Ryhl wrote: > Rust has two different tools for generating function declarations to > call across the FFI boundary: > > * bindgen. Generates Rust declarations from a C header. > * cbindgen. Generates C headers from Rust declarations. > > In the kerne

[PATCH RFC v2 1/7] drm/display: dp: implement new access helpers

2025-03-01 Thread Dmitry Baryshkov
Existing DPCD access functions return an error code or the number of bytes being read / write in case of partial access. However a lot of drivers either (incorrectly) ignore partial access or mishandle error codes. In other cases this results in a boilerplate code which compares returned value with

Re: [PATCH 3/6] drm/rockchip: Add RK3588 DPTX output support

2025-03-01 Thread Dmitry Baryshkov
On Sun, Feb 23, 2025 at 07:30:26PM +0800, Andy Yan wrote: > From: Andy Yan > > Add driver extension for Synopsys DesignWare DPTX IP used > on Rockchip RK3588 SoC. > > Signed-off-by: Andy Yan > --- > > drivers/gpu/drm/rockchip/Kconfig| 7 + > drivers/gpu/drm/rockchip/Makefile

Re: [PATCH v3 0/2] Cleanup io.h

2025-03-01 Thread Andy Shevchenko
On Fri, Feb 28, 2025 at 08:41:33PM +0200, Andy Shevchenko wrote: > On Fri, Feb 28, 2025 at 07:41:55PM +0200, Raag Jadav wrote: > > On Fri, Feb 28, 2025 at 06:11:16PM +0100, Arnd Bergmann wrote: > > > On Thu, Feb 27, 2025, at 16:25, Andy Shevchenko wrote: > > > > On Thu, Feb 27, 2025 at 12:37:45PM +

[PATCH v3] drm: add modifiers for Apple GPU layouts

2025-03-01 Thread Alyssa Rosenzweig
Apple GPUs support various non-linear image layouts. Add modifiers for these layouts. Mesa requires these modifiers to share non-linear buffers across processes, but no other userspace or kernel support is required/expected. These layouts are notably not used for interchange across hardware blocks

Re: [PATCH 4/9] drm/panthor: Implement optional reset

2025-03-01 Thread kernel test robot
Hi Marek, kernel test robot noticed the following build warnings: [auto build test WARNING on shawnguo/for-next] [also build test WARNING on robh/for-next arm64/for-next/core kvmarm/next rockchip/for-next soc/for-next linus/master v6.14-rc4 next-20250228] [If your patch is applied to the wrong g

[PATCH RFC v2 5/7] drm/display: dp-cec: use new DCPD access helpers

2025-03-01 Thread Dmitry Baryshkov
Switch drm_dp_cec.c to use new set of DPCD read / write helpers. Reviewed-by: Lyude Paul Acked-by: Jani Nikula Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/display/drm_dp_cec.c | 37 ++-- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/dri

[PATCH RFC v2 2/7] drm/display: dp: change drm_dp_dpcd_read_link_status() return value

2025-03-01 Thread Dmitry Baryshkov
drm_dp_dpcd_read_link_status() follows the "return error code or number of bytes read" protocol, with the code returning less bytes than requested in case of some errors. However most of the drivers interpreted that as "return error code in case of any error". Switch drm_dp_dpcd_read_link_status()

[PATCH RFC v2 7/7] drm/display: dp-tunnel: use new DCPD access helpers

2025-03-01 Thread Dmitry Baryshkov
Switch drm_dp_tunnel.c to use new set of DPCD read / write helpers. Reviewed-by: Lyude Paul Acked-by: Jani Nikula Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/display/drm_dp_tunnel.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/d

[PATCH RFC v2 6/7] drm/display: dp-mst-topology: use new DCPD access helpers

2025-03-01 Thread Dmitry Baryshkov
Switch drm_dp_mst_topology.c to use new set of DPCD read / write helpers. Reviewed-by: Lyude Paul Acked-by: Jani Nikula Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/display/drm_dp_mst_topology.c | 105 +- 1 file changed, 51 insertions(+), 54 deletions(-) diff --

[PATCH RFC v2 4/7] drm/display: dp-aux-dev: use new DCPD access helpers

2025-03-01 Thread Dmitry Baryshkov
Switch drm_dp_aux_dev.c to use new set of DPCD read / write helpers. Acked-by: Jani Nikula Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/display/drm_dp_aux_dev.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/display/drm_dp_aux_dev.c b/dr

[PATCH RFC v2 3/7] drm/display: dp: use new DCPD access helpers

2025-03-01 Thread Dmitry Baryshkov
Switch drm_dp_helper.c to use new set of DPCD read / write helpers. Reviewed-by: Lyude Paul Acked-by: Jani Nikula Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/display/drm_dp_helper.c | 296 +--- 1 file changed, 116 insertions(+), 180 deletions(-) diff --git

[PATCH RFC v2 0/7] drm/display: dp: add new DPCD access functions

2025-03-01 Thread Dmitry Baryshkov
Existing DPCD access functions return an error code or the number of bytes being read / write in case of partial access. However a lot of drivers either (incorrectly) ignore partial access or mishandle error codes. In other cases this results in a boilerplate code which compares returned value with

Re: [PATCH] drm/xe: Select INTEL_VSEC to fix build dependency

2025-03-01 Thread kernel test robot
Hi Su, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-xe/drm-xe-next] [also build test WARNING on linus/master v6.14-rc4 next-20250228] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--

Re: [PATCH v7 0/3] Add HDMI audio on the rk3588 SoC

2025-03-01 Thread Heiko Stübner
Am Samstag, 1. März 2025, 10:11:54 MEZ schrieb Piotr Oniszczuk: > > > Wiadomość napisana przez Detlev Casanova w > > dniu 25 lut 2025, o godz. 15:58: > > > > From what I see, the error is not present anymore on linux 6.14-rc4. I > > tried > > reverting your patch "ASoC: simple-card-utils.c: a

Re: [PATCH 2/6] drm/bridge: synopsys: Add DW DPTX Controller support library

2025-03-01 Thread Dmitry Baryshkov
On Sun, Feb 23, 2025 at 07:30:25PM +0800, Andy Yan wrote: > From: Andy Yan > > The DW DP TX Controller is compliant with the DisplayPort Specification > Version 1.4 with the following features: > > * DisplayPort 1.4a > * Main Link: 1/2/4 lanes > * Main Link Support 1.62Gbps, 2.7Gbps, 5.4Gbps and

[PATCH v2 0/2] drm/rockchip: lvds: probe logging improvements

2025-03-01 Thread Heiko Stuebner
Getting the panel already uses dev_err_probe to stay silent, when the panel just probes later, and the lvds defers. But the phy needed on px30, also has the capability to probe after the lvds. So make the rest of the lvds probe/bind logic also use more modern logging than DRM_DEV_ERR, that is depr

[PATCH v2 2/2] drm/rockchip: lvds: Hide scary error messages on probe deferral

2025-03-01 Thread Heiko Stuebner
From: Heiko Stuebner Commit 52d11c863ac9 ("drm/rockchip: lvds: do not print scary message when probing defer") already started hiding scary messages that are not relevant if the requested supply just returned EPROBE_DEFER, but there are more possible sources - like the phy. So modernize the whol

[PATCH v2 1/2] drm/rockchip: lvds: move pclk preparation in with clk_get

2025-03-01 Thread Heiko Stuebner
From: Heiko Stuebner The LVDS block needs a separate pclk only on some socs, so currently requests and prepares it in the soc-specific probe function, but common code is required to unprepare it in the error path or on driver remove. While this works because clk_unprepare just does nothing if cl

[PATCH v4 0/2] drm/bridge: reuse DRM HDMI Audio helpers for DisplayPort bridges

2025-03-01 Thread Dmitry Baryshkov
A lot of DisplayPort bridges use HDMI Codec in order to provide audio support. Present DRM HDMI Audio support has been written with the HDMI and in particular DRM HDMI Connector framework support, however those audio helpers can be easily reused for DisplayPort drivers too. Patches by Hermes Wu th

[PATCH v4 2/2] drm/msm/dp: reuse generic HDMI codec implementation

2025-03-01 Thread Dmitry Baryshkov
The MSM DisplayPort driver implements several HDMI codec functions in the driver, e.g. it manually manages HDMI codec device registration, returning ELD and plugged_cb support. In order to reduce code duplication reuse drm_hdmi_audio_* helpers and drm_bridge_connector integration. Signed-off-by: D

Re: [PATCH 0/9] arm64: dts: imx95: Add support for Mali G310 GPU

2025-03-01 Thread Rob Herring (Arm)
On Thu, 27 Feb 2025 17:58:00 +0100, Marek Vasut wrote: > The instance of the GPU populated in i.MX95 is the G310. > Add support for the GPUMIX reset via simple-reset driver, > add reset and multiple power domains support into panthor > GPU driver, add iMX95 GPU support into panthor driver and > d

Re: [PATCH 08/10] drm/fb-dma-helper: Test for imported buffers with drm_gem_is_imported()

2025-03-01 Thread Anusha Srivatsa
On Wed, Feb 26, 2025 at 12:28 PM Thomas Zimmermann wrote: > Instead of testing import_attach for imported GEM buffers, invoke > drm_gem_is_imported() to do the test. > > Signed-off-by: Thomas Zimmermann > --- > drivers/gpu/drm/drm_fb_dma_helper.c | 2 +- > 1 file changed, 1 insertion(+), 1 dele

[PATCH v4 1/2] drm/bridge: split HDMI Audio from DRM_BRIDGE_OP_HDMI

2025-03-01 Thread Dmitry Baryshkov
As pointed out by Laurent, OP bits are supposed to describe operations. Split DRM_BRIDGE_OP_HDMI_AUDIO from DRM_BRIDGE_OP_HDMI instead of overloading DRM_BRIDGE_OP_HDMI. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/bridge/lontium-lt9611.c| 2 +- drivers/gpu/drm/bridge/synopsys/dw

[PATCH] drm/vmwgfx: Add seqno waiter for sync_files

2025-03-01 Thread Ian Forbes
Because sync_files are passive waiters they do not participate in the processing of fences like the traditional vmw_fence_wait IOCTL. If userspace exclusively uses sync_files for synchronization then nothing in the kernel actually processes fence updates as interrupts for fences are masked and igno

[PATCH v3 2/2] fbdev: hyperv_fb: Allow graceful removal of framebuffer

2025-03-01 Thread Saurabh Sengar
When a Hyper-V framebuffer device is unbind, hyperv_fb driver tries to release the framebuffer forcefully. If this framebuffer is in use it produce the following WARN and hence this framebuffer is never released. [ 44.111220] WARNING: CPU: 35 PID: 1882 at drivers/video/fbdev/core/fb_info.c:70 f

[PATCH v3 1/2] fbdev: hyperv_fb: Simplify hvfb_putmem

2025-03-01 Thread Saurabh Sengar
The device object required in 'hvfb_release_phymem' function for 'dma_free_coherent' can also be obtained from the 'info' pointer, making 'hdev' parameter in 'hvfb_putmem' redundant. Remove the unnecessary 'hdev' argument from 'hvfb_putmem'. Signed-off-by: Saurabh Sengar --- drivers/video/fbdev/

[PATCH v3 0/2] fbdev: hyperv_fb: framebuffer release cleanup

2025-03-01 Thread Saurabh Sengar
This patch series addresses an issue in the unbind path of the hyperv_fb driver, which is resolved in the second patch of this series. While working on this fix, it was observed that hvfb_putmem() and its child functions could be cleaned up first to simplify the movement of hvfb_putmem(). This cle

[PATCH v2 05/18] media: pci: cx18-av-vbi: Replace open-coded parity calculation with parity8()

2025-03-01 Thread Kuan-Wei Chiu
Refactor parity calculations to use the standard parity8() helper. This change eliminates redundant implementations and improves code efficiency. Co-developed-by: Yu-Chun Lin Signed-off-by: Yu-Chun Lin Signed-off-by: Kuan-Wei Chiu --- drivers/media/pci/cx18/cx18-av-vbi.c | 12 ++-- 1 f

[PATCH v2 09/18] Input: joystick - Replace open-coded parity calculation with parity32()

2025-03-01 Thread Kuan-Wei Chiu
Refactor parity calculations to use the standard parity32() helper. This change eliminates redundant implementations and improves code efficiency. Co-developed-by: Yu-Chun Lin Signed-off-by: Yu-Chun Lin Signed-off-by: Kuan-Wei Chiu --- drivers/input/joystick/grip_mp.c | 17 ++--- 1

[PATCH v2 13/18] mtd: ssfdc: Replace open-coded parity calculation with parity32()

2025-03-01 Thread Kuan-Wei Chiu
Refactor parity calculations to use the standard parity32() helper. This change eliminates redundant implementations and improves code efficiency. Co-developed-by: Yu-Chun Lin Signed-off-by: Yu-Chun Lin Signed-off-by: Kuan-Wei Chiu --- drivers/mtd/ssfdc.c | 17 ++--- 1 file changed

[PATCH v2 14/18] fsi: i2cr: Replace open-coded parity calculation with parity32()

2025-03-01 Thread Kuan-Wei Chiu
Refactor parity calculations to use the standard parity32() helper. This change eliminates redundant implementations and improves code efficiency. Co-developed-by: Yu-Chun Lin Signed-off-by: Yu-Chun Lin Signed-off-by: Kuan-Wei Chiu --- drivers/fsi/fsi-master-i2cr.c | 10 ++ 1 file chan

[PATCH v2 11/18] wifi: brcm80211: Replace open-coded parity calculation with parity32()

2025-03-01 Thread Kuan-Wei Chiu
Refactor parity calculations to use the standard parity32() helper. This change eliminates redundant implementations and improves code efficiency. Co-developed-by: Yu-Chun Lin Signed-off-by: Yu-Chun Lin Signed-off-by: Kuan-Wei Chiu Acked-by: Arend van Spriel --- .../wireless/broadcom/brcm8021

[PATCH v2 18/18] bitops: Add parity() macro for automatic type-based selection

2025-03-01 Thread Kuan-Wei Chiu
Introduce the parity() macro, which selects the appropriate parity function (parity8(), parity16(), parity32(), or parity64()) based on the size of the input type. This improves usability by allowing a generic parity calculation without requiring explicit function selection. If the input type does

[PATCH v2 17/18] nfp: bpf: Replace open-coded parity calculation with parity64()

2025-03-01 Thread Kuan-Wei Chiu
Refactor parity calculations to use the standard parity64() helper. This change eliminates redundant implementations and improves code efficiency. Co-developed-by: Yu-Chun Lin Signed-off-by: Yu-Chun Lin Signed-off-by: Kuan-Wei Chiu --- drivers/net/ethernet/netronome/nfp/nfp_asm.c | 7 +--

[PATCH v2 16/18] Input: joystick - Replace open-coded parity calculation with parity64()

2025-03-01 Thread Kuan-Wei Chiu
Refactor parity calculations to use the standard parity64() helper. This change eliminates redundant implementations and improves code efficiency. Co-developed-by: Yu-Chun Lin Signed-off-by: Yu-Chun Lin Signed-off-by: Kuan-Wei Chiu --- drivers/input/joystick/sidewinder.c | 24 +

[PATCH v2 15/18] fsi: i2cr: Replace open-coded parity calculation with parity64()

2025-03-01 Thread Kuan-Wei Chiu
Refactor parity calculations to use the standard parity64() helper. This change eliminates redundant implementations and improves code efficiency. Co-developed-by: Yu-Chun Lin Signed-off-by: Yu-Chun Lin Signed-off-by: Kuan-Wei Chiu --- drivers/fsi/fsi-master-i2cr.c | 8 +--- 1 file changed

[PATCH v2 12/18] drm/bridge: dw-hdmi: Replace open-coded parity calculation with parity32()

2025-03-01 Thread Kuan-Wei Chiu
Refactor parity calculations to use the standard parity32() helper. This change eliminates redundant implementations and improves code efficiency. Co-developed-by: Yu-Chun Lin Signed-off-by: Yu-Chun Lin Signed-off-by: Kuan-Wei Chiu --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c | 8 ++

[PATCH v2 10/18] net: ethernet: oa_tc6: Replace open-coded parity calculation with parity32()

2025-03-01 Thread Kuan-Wei Chiu
Refactor parity calculations to use the standard parity32() helper. This change eliminates redundant implementations and improves code efficiency. Co-developed-by: Yu-Chun Lin Signed-off-by: Yu-Chun Lin Signed-off-by: Kuan-Wei Chiu --- drivers/net/ethernet/oa_tc6.c | 19 +++ 1

[PATCH v2 07/18] serial: max3100: Replace open-coded parity calculation with parity8()

2025-03-01 Thread Kuan-Wei Chiu
Refactor parity calculations to use the standard parity8() helper. This change eliminates redundant implementations and improves code efficiency. Co-developed-by: Yu-Chun Lin Signed-off-by: Yu-Chun Lin Signed-off-by: Kuan-Wei Chiu --- drivers/tty/serial/max3100.c | 3 ++- 1 file changed, 2 ins

[PATCH v2 08/18] lib/bch: Replace open-coded parity calculation with parity32()

2025-03-01 Thread Kuan-Wei Chiu
Refactor parity calculations to use the standard parity32() helper. This change eliminates redundant implementations and improves code efficiency. Co-developed-by: Yu-Chun Lin Signed-off-by: Yu-Chun Lin Signed-off-by: Kuan-Wei Chiu --- lib/bch.c | 14 +- 1 file changed, 1 insertion

[PATCH v2 03/18] bitops: Add parity16(), parity32(), and parity64() helpers

2025-03-01 Thread Kuan-Wei Chiu
Introduce parity16(), parity32(), and parity64() functions for computing parity on 16-bit, 32-bit, and 64-bit integers, respectively. These functions use __builtin_parity() or __builtin_parityll() when available, ensuring efficient computation. If the input is a compile-time constant, they expand u

[PATCH v2 06/18] media: saa7115: Replace open-coded parity calculation with parity8()

2025-03-01 Thread Kuan-Wei Chiu
Refactor parity calculations to use the standard parity8() helper. This change eliminates redundant implementations and improves code efficiency. Co-developed-by: Yu-Chun Lin Signed-off-by: Yu-Chun Lin Signed-off-by: Kuan-Wei Chiu --- drivers/media/i2c/saa7115.c | 12 ++-- 1 file chang

[PATCH v2 04/18] media: media/test_drivers: Replace open-coded parity calculation with parity8()

2025-03-01 Thread Kuan-Wei Chiu
Refactor parity calculations to use the standard parity8() helper. This change eliminates redundant implementations and improves code efficiency. Co-developed-by: Yu-Chun Lin Signed-off-by: Yu-Chun Lin Signed-off-by: Kuan-Wei Chiu --- drivers/media/test-drivers/vivid/vivid-vbi-gen.c | 8 ++

[PATCH v2 02/18] bitops: Optimize parity8() using __builtin_parity()

2025-03-01 Thread Kuan-Wei Chiu
Refactor parity8() to use __builtin_parity() when no architecture-specific implementation is available. If the input is a compile-time constant, expand it using the _parity_const() macro to enable constant folding, allowing the compiler to optimize it at compile time. Additionally, mark parity8()

[PATCH v2 01/18] lib/parity: Add __builtin_parity() fallback implementations

2025-03-01 Thread Kuan-Wei Chiu
Add generic C implementations of __paritysi2(), __paritydi2(), and __parityti2() as fallback functions in lib/parity.c. These functions compute the parity of a given integer using a bitwise approach and are marked with __weak, allowing architecture-specific implementations to override them. This p

[PATCH v2 00/18] Introduce and use generic parity16/32/64 helper

2025-03-01 Thread Kuan-Wei Chiu
Several parts of the kernel contain redundant implementations of parity calculations for 16/32/64-bit values. Introduces generic parity16/32/64() helpers in bitops.h, providing a standardized and optimized implementation. Subsequent patches refactor various kernel components to replace open-code

[PATCH v3 1/6] drm/xe/xe_gt_pagefault: Disallow writes to read-only VMAs

2025-03-01 Thread Jonathan Cavitt
The page fault handler should reject write/atomic access to read only VMAs. Add code to handle this in handle_pagefault after the VMA lookup. Fixes: 3d420e9fa848 ("drm/xe: Rework GPU page fault handling") Signed-off-by: Jonathan Cavitt Suggested-by: Matthew Brost --- drivers/gpu/drm/xe/xe_gt_p

Re: [PATCH 8/9] drm/panthor: Add i.MX95 support

2025-03-01 Thread Marek Vasut
On 2/28/25 12:23 PM, Florent Tomasin wrote: Hi, diff --git a/drivers/gpu/drm/panthor/panthor_drv.c b/drivers/gpu/drm/panthor/panthor_drv.c index 06fe46e320738..2504a456d45c4 100644 --- a/drivers/gpu/drm/panthor/panthor_drv.c +++ b/drivers/gpu/drm/panthor/panthor_drv.c @@ -1591,6 +1591,7 @@ sta

Re: [PATCH v3 0/2] Cleanup io.h

2025-03-01 Thread Raag Jadav
On Fri, Feb 28, 2025 at 06:11:16PM +0100, Arnd Bergmann wrote: > On Thu, Feb 27, 2025, at 16:25, Andy Shevchenko wrote: > > On Thu, Feb 27, 2025 at 12:37:45PM +0530, Raag Jadav wrote: > >> This series attempts to cleanup io.h with "include what you use" approach. > >> This depends on changes availa

Re: [PATCH v7 0/3] Add HDMI audio on the rk3588 SoC

2025-03-01 Thread Piotr Oniszczuk
> Wiadomość napisana przez Detlev Casanova w > dniu 25 lut 2025, o godz. 15:58: > > From what I see, the error is not present anymore on linux 6.14-rc4. I tried > reverting your patch "ASoC: simple-card-utils.c: add missing dlc->of_node" > (dabbd325b25edb5cdd99c94391817202dd54b651) and the

Re: [PATCH 0/7] gpu: ipu-v3: Remove unused functions

2025-03-01 Thread Dr. David Alan Gilbert
* Dmitry Baryshkov (dmitry.barysh...@linaro.org) wrote: > On Thu, 26 Dec 2024 02:27:45 +, li...@treblig.org wrote: > > From: "Dr. David Alan Gilbert" > > > > Hi, > > This set removes a bunch of functions in ipu-v3 that > > have been unused for a long time (since 2012-2017). > > > > No ch

Re:Re: [PATCH 0/6] Add support for RK3588 DisplayPort Controller

2025-03-01 Thread Andy Yan
Hi Piotr, 在 2025-03-01 04:30:33,"Piotr Oniszczuk" 写道: > > >> Wiadomość napisana przez Andy Yan w dniu 23 lut 2025, o >> godz. 12:30: >> >> From: Andy Yan >> >> >> There are two DW DPTX based DisplayPort Controller on rk3588 which >> are compliant with the DisplayPort Specification Version

Re: [PATCH v3 drm-dp 7/8] drm/hisilicon/hibmc: Enable this hot plug detect of irq feature

2025-03-01 Thread Dmitry Baryshkov
On Sat, 1 Mar 2025 at 11:54, Yongbang Shi wrote: > > > > On Sat, Mar 01, 2025 at 04:45:40PM +0800, Yongbang Shi wrote: > >>> On Thu, Feb 27, 2025 at 09:46:10PM +0800, Yongbang Shi wrote: > > On Tue, Feb 25, 2025 at 09:57:17PM +0800, Yongbang Shi wrote: > >>> On Mon, 24 Feb 2025 at 16:03, Y

Re: [PATCH 0/7] gpu: ipu-v3: Remove unused functions

2025-03-01 Thread Dmitry Baryshkov
On Thu, 26 Dec 2024 02:27:45 +, li...@treblig.org wrote: > From: "Dr. David Alan Gilbert" > > Hi, > This set removes a bunch of functions in ipu-v3 that > have been unused for a long time (since 2012-2017). > > No changes to functions are made, just full deletions. > > [...] Applied to

[PATCH v2 5/5] drm/msm/dpu: remove DSC feature bit for PINGPONG on SDM630

2025-03-01 Thread Dmitry Baryshkov
The SDM630 platform doesn't have DSC blocks nor does have it DSC registers in the PINGPONG block. Drop the DPU_PINGPONG_DSC feature bit from the PINGPONG's feature mask, replacing PINGPONG_SDM845_MASK with BIT(DPU_PINGPONG_DITHER). Fixes: 7204df5e7e68 ("drm/msm/dpu: add support for SDM660 and SDM6

Re: [PATCH v3 drm-dp 7/8] drm/hisilicon/hibmc: Enable this hot plug detect of irq feature

2025-03-01 Thread Yongbang Shi
On Sat, Mar 01, 2025 at 04:45:40PM +0800, Yongbang Shi wrote: On Thu, Feb 27, 2025 at 09:46:10PM +0800, Yongbang Shi wrote: On Tue, Feb 25, 2025 at 09:57:17PM +0800, Yongbang Shi wrote: On Mon, 24 Feb 2025 at 16:03, Yongbang Shi wrote: On Sat, Feb 22, 2025 at 06:35:48PM +0800, Yongbang Shi

[PATCH v2 3/5] drm/msm/dpu: remove DSC feature bit for PINGPONG on MSM8953

2025-03-01 Thread Dmitry Baryshkov
The MSM8953 platform doesn't have DSC blocks nor does have it DSC registers in the PINGPONG block. Drop the DPU_PINGPONG_DSC feature bit from the PINGPONG's feature mask and, as it is the only remaining bit, drop the .features assignment completely. Fixes: 7a6109ce1c2c ("drm/msm/dpu: Add support f

[PATCH v2 4/5] drm/msm/dpu: drop TE2 definitions

2025-03-01 Thread Dmitry Baryshkov
Neither DPU driver nor vendor SDE driver do not use TE2 definitions (and, in case of SDE driver, never did). Semantics of the TE2 feature bit and .te2 sblk are not completely clear. Drop these bits from the catalog with the possibility of reintroducing them later if we need to support ppsplit. Sig

[PATCH v2 0/5] drm/msm/dpu: disable DSC on some of old DPU models

2025-03-01 Thread Dmitry Baryshkov
During one of the chats Abhinav pointed out that in the 1.x generation most of the DPU/MDP5 instances didn't have DSC support. Also SDM630 didn't provide DSC support. Disable DSC on those platforms. Signed-off-by: Dmitry Baryshkov --- Changes in v2: - Fixed commit messages (Konrad) - Dropped TE2

[PATCH v2 2/5] drm/msm/dpu: remove DSC feature bit for PINGPONG on MSM8917

2025-03-01 Thread Dmitry Baryshkov
The MSM8917 platform doesn't have DSC blocks nor does have it DSC registers in the PINGPONG block. Drop the DPU_PINGPONG_DSC feature bit from the PINGPONG's feature mask and, as it is the only remaining bit, drop the .features assignment completely. Fixes: 62af6e1cb596 ("drm/msm/dpu: Add support f

[PATCH v2 1/5] drm/msm/dpu: remove DSC feature bit for PINGPONG on MSM8937

2025-03-01 Thread Dmitry Baryshkov
The MSM8937 platform doesn't have DSC blocks nor does have it DSC registers in the PINGPONG block. Drop the DPU_PINGPONG_DSC feature bit from the PINGPONG's feature mask and, as it is the only remaining bit, drop the .features assignment completely. Fixes: c079680bb0fa ("drm/msm/dpu: Add support f

Re: [PATCH v3 drm-dp 7/8] drm/hisilicon/hibmc: Enable this hot plug detect of irq feature

2025-03-01 Thread Dmitry Baryshkov
On Sat, Mar 01, 2025 at 04:45:40PM +0800, Yongbang Shi wrote: > > > On Thu, Feb 27, 2025 at 09:46:10PM +0800, Yongbang Shi wrote: > > > > On Tue, Feb 25, 2025 at 09:57:17PM +0800, Yongbang Shi wrote: > > > > > > On Mon, 24 Feb 2025 at 16:03, Yongbang Shi > > > > > > wrote: > > > > > > > > On Sat

[PATCH v2 5/8] drm/client: Stop using the legacy crtc->mode

2025-03-01 Thread Ville Syrjala
From: Ville Syrjälä crtc->mode is legacy junk and shouldn't really be used with atomic drivers. Most (all?) atomic drivers do end up still calling drm_atomic_helper_update_legacy_modeset_state() at some point, so crtc->mode does still get populated, and this does work for now. But now that the m

Re: [PATCH v3 drm-dp 7/8] drm/hisilicon/hibmc: Enable this hot plug detect of irq feature

2025-03-01 Thread Yongbang Shi
On Thu, Feb 27, 2025 at 09:46:10PM +0800, Yongbang Shi wrote: On Tue, Feb 25, 2025 at 09:57:17PM +0800, Yongbang Shi wrote: On Mon, 24 Feb 2025 at 16:03, Yongbang Shi wrote: On Sat, Feb 22, 2025 at 06:35:48PM +0800, Yongbang Shi wrote: +static int hibmc_dp_hpd_event(struct drm_client_dev *