Re: [PATCH drm-next 1/2] vmalloc: Add atomic_vmap

2025-03-06 Thread Jocelyn Falempe
On 06/03/2025 16:52, Simona Vetter wrote: On Thu, Mar 06, 2025 at 02:24:51PM +0100, Jocelyn Falempe wrote: On 06/03/2025 05:52, Matthew Wilcox wrote: On Thu, Mar 06, 2025 at 12:25:53AM +0900, Ryosuke Yasuoka wrote: Some drivers can use vmap in drm_panic, however, vmap is sleepable and takes lo

[PATCH v3 4/8] drm/msm/dpu: use single CTL if it is the only CTL returned by RM

2025-03-06 Thread Dmitry Baryshkov
From: Dmitry Baryshkov On DPU >= 5.0 CTL blocks were reworked in order to support using a single CTL for all outputs. In preparation of reworking the RM code to return single CTL make sure that dpu_encoder can cope with that. Reviewed-by: Marijn Suijten Tested-by: Neil Armstrong # on SM8550-QR

Re:Re:Re: [PATCH v5 04/16] drm/atomic: Introduce helper to lookup connector by encoder

2025-03-06 Thread Andy Yan
Hi All, At 2025-03-07 09:08:48, "Andy Yan" wrote: >Hi All, > >At 2025-03-06 23:41:24, "Simona Vetter" wrote: >>On Thu, Mar 06, 2025 at 08:10:16AM +0100, Maxime Ripard wrote: >>> On Thu, Mar 06, 2025 at 09:16:24AM +0800, Andy Yan wrote: >>> > >>> > Hi Maxime and Dmitry: >>> > >>> > At 2025-03-0

Re: [PATCH v6 00/14] drm/msm/dpu: Add Concurrent Writeback Support for DPU 10.x+

2025-03-06 Thread Dmitry Baryshkov
From: Dmitry Baryshkov On Fri, 14 Feb 2025 16:14:23 -0800, Jessica Zhang wrote: > DPU supports a single writeback session running concurrently with primary > display when the CWB mux is configured properly. This series enables > clone mode for DPU driver and adds support for programming the CWB

Re: [RFC PATCH 0/3] gpu: nova-core: add basic timer subdevice implementation

2025-03-06 Thread Jason Gunthorpe
On Thu, Mar 06, 2025 at 11:42:38AM +0100, Simona Vetter wrote: > > Further, I just remembered, (Danilo please notice!) there is another > > related issue here that DMA mappings *may not* outlive remove() > > either. netdev had a bug related to this recently and it was all > > agreed that it is not

Re: [PATCH v3 00/16] Introduce and use generic parity16/32/64 helper

2025-03-06 Thread Jiri Slaby
On 06. 03. 25, 17:25, Kuan-Wei Chiu wrote: 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 var

Re: [PATCH -next] drm/msm/dpu: Remove duplicate dpu_hw_cwb.h header

2025-03-06 Thread Dmitry Baryshkov
On Fri, Mar 07, 2025 at 09:50:30AM +0800, Jiapeng Chong wrote: > ./drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c: dpu_hw_cwb.h is included more > than once. > > Reported-by: Abaci Robot > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=19239 > Signed-off-by: Jiapeng Chong > --- > drivers/

Re: [PATCH v3 01/16] bitops: Change parity8() return type to bool

2025-03-06 Thread Jiri Slaby
On 06. 03. 25, 17:25, Kuan-Wei Chiu wrote: Change return type to bool for better clarity. Update the kernel doc comment accordingly, including fixing "@value" to "@val" and adjusting examples. Also mark the function with __attribute_const__ to allow potential compiler optimizations. Co-developed

Re: [PATCH 1/2] drm/bridge: imx8qxp-ldb: cleanup return value

2025-03-06 Thread Liu Ying
On 03/07/2025, Luca Ceresoli wrote: > 'ret' can only be 0 at this point, being preceded by a 'if (ret) return > ret;'. So return 0 for clarity. > > Signed-off-by: Luca Ceresoli > --- > drivers/gpu/drm/bridge/imx/imx8qxp-ldb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --gi

Re: [PATCH 2/2] drm/bridge: fsl-ldb: make warning message more informative

2025-03-06 Thread Liu Ying
On 03/07/2025, Frank Li wrote: > On Thu, Mar 06, 2025 at 06:28:41PM +0100, Luca Ceresoli wrote: >> This warning notifies a clock was set to an inaccurate value. Modify the >> string to also show the clock name. >> >> While doing that also rewrap the entire function call. >> >> Signed-off-by: Luca C

Re: [PATCH 2/2] drm/bridge: fsl-ldb: make warning message more informative

2025-03-06 Thread Liu Ying
On 03/07/2025, Luca Ceresoli wrote: > This warning notifies a clock was set to an inaccurate value. Modify the > string to also show the clock name. > > While doing that also rewrap the entire function call. > > Signed-off-by: Luca Ceresoli > --- > drivers/gpu/drm/bridge/fsl-ldb.c | 6 +++--- >

[PATCH v3 8/8] drm/msm/dpu: drop now-unused condition for has_legacy_ctls

2025-03-06 Thread Dmitry Baryshkov
From: Dmitry Baryshkov Now as we have dropped the DPU_CTL_SPLIT_DISPLAY from DPU >= 5.0 configuration, drop the rm->has_legacy_ctl condition which short-cutted the check for those platforms. Suggested-by: Marijn Suijten Reviewed-by: Marijn Suijten Tested-by: Neil Armstrong # on SM8550-QRD Sig

[PATCH v3 3/8] drm/msm/dpu: pass master interface to CTL configuration

2025-03-06 Thread Dmitry Baryshkov
From: Dmitry Baryshkov Active controls require setup of the master interface. Pass the selected interface to CTL configuration. Reviewed-by: Marijn Suijten Tested-by: Neil Armstrong # on SM8550-QRD Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 2 +

[PATCH v3 6/8] drm/msm/dpu: allocate single CTL for DPU >= 5.0

2025-03-06 Thread Dmitry Baryshkov
From: Dmitry Baryshkov Unlike previous generation, since DPU 5.0 it is possible to use just one CTL to handle all INTF and WB blocks for a single output. And one has to use single CTL to support bonded DSI config. Allocate single CTL for these DPU versions. Reviewed-by: Marijn Suijten Tested-by

[PATCH v3 2/8] drm/msm/dpu: program master INTF value

2025-03-06 Thread Dmitry Baryshkov
From: Dmitry Baryshkov If several interfaces are being handled through a single CTL, a main ('master') INTF needs to be programmed into a separate register. Write corresponding value into that register. Co-developed-by: Marijn Suijten Signed-off-by: Marijn Suijten Reviewed-by: Marijn Suijten

[PATCH v3 0/8] drm/msm/dpu: improve CTL handling on DPU >= 5.0 platforms

2025-03-06 Thread Dmitry Baryshkov
Since version 5.0 the DPU got an improved way of handling multi-output configurations. It is now possible to program all pending changes through a single CTL and flush everything at the same time. Implement corresponding changes in the DPU driver. Signed-off-by: Dmitry Baryshkov --- Changes in v

[PATCH v3 1/8] drm/msm/dpu: don't overwrite CTL_MERGE_3D_ACTIVE register

2025-03-06 Thread Dmitry Baryshkov
From: Dmitry Baryshkov In case of complex pipelines (e.g. the forthcoming quad-pipe) the DPU might use more that one MERGE_3D block for a single output. Follow the pattern and extend the CTL_MERGE_3D_ACTIVE active register instead of simply writing new value there. Currently at most one MERGE_3D

Re: [PATCH 2/2] drm/bridge: ti-sn65dsi83: add h/vsync-disable support

2025-03-06 Thread Dmitry Baryshkov
On Thu, Mar 06, 2025 at 10:11:33AM +0100, A. Zini wrote: > From: Alessandro Zini > > The h/vsync-disable properties are used to control whether to use or > not h/vsync signals, by configuring their pulse width to zero. > > This is required on some panels which are driven in DE-only mode but do >

Re: [PATCH 1/2] dt-bindings: drm/bridge: ti-sn65dsi83: add h/vsync-disable bindings

2025-03-06 Thread Dmitry Baryshkov
On Thu, Mar 06, 2025 at 10:11:32AM +0100, A. Zini wrote: > From: Alessandro Zini > > Add hsync- and vsync-disable bindings, used to disable the generation of > h/vsync signals. Please describe, why this is necessary at all, instead of desribing the contents of the patch. > > Signed-off-by: Ale

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

2025-03-06 Thread Piotr Oniszczuk
> Wiadomość napisana przez Andy Yan w dniu 6 mar 2025, o > godz. 01:59: > > > > > Both of the two config options should be enabled. > andy@Pro480:~/WorkSpace/linux-next$ rg DW_DP .config > 4044:CONFIG_ROCKCHIP_DW_DP=y here i’m a bit lost…. greping on full kernel sources (with applied htt

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

2025-03-06 Thread Dmitry Baryshkov
From: 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 integ

Re: [PATCH 11/11] arm64: dts: qcom: x1e001de-devkit: Drop clock-names from PS8830

2025-03-06 Thread Dmitry Baryshkov
On Thu, Mar 06, 2025 at 07:11:23PM +0100, Konrad Dybcio wrote: > From: Konrad Dybcio > > The preemptively-merged node contains a property absent from the final > bindings. Remove it. > > Signed-off-by: Konrad Dybcio > --- > arch/arm64/boot/dts/qcom/x1e001de-devkit.dts | 3 --- > 1 file changed

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

2025-03-06 Thread Dmitry Baryshkov
From: 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/g

Re: [PATCH 03/11] dt-bindings: power: qcom,kpss-acc-v2: Add MSM8916 compatible

2025-03-06 Thread Dmitry Baryshkov
On Thu, Mar 06, 2025 at 07:11:15PM +0100, Konrad Dybcio wrote: > From: Konrad Dybcio > > MSM8916 seems to reuse the same hardware as MSM8974 and friends (for > whom this binding document was created). Add a new compatible for it. Ok, I should have read dt-bindigns before sending a comment. But t

Re: [PATCH 10/11] arm64: dts: qcom: x1e80100-romulus: Drop clock-names from PS8830

2025-03-06 Thread Dmitry Baryshkov
On Thu, Mar 06, 2025 at 07:11:22PM +0100, Konrad Dybcio wrote: > From: Konrad Dybcio > > The preemptively-merged node contains a property absent from the final > bindings. Remove it. > > Signed-off-by: Konrad Dybcio > --- > arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus.dtsi | 2 -- > 1 f

Re: [PATCH 04/11] arm64: dts: qcom: msm8916: Fix KPSS ACC compatible

2025-03-06 Thread Dmitry Baryshkov
On Thu, Mar 06, 2025 at 07:11:16PM +0100, Konrad Dybcio wrote: > From: Konrad Dybcio > > The current compatible has been used with no corresponding > documentation. Replace it with one that has been documented. qcom,msm8916-kpss-acc is also not documented. Most likely you meant qcom,kpss-acc-v2

Re: [PATCH -next] drm/msm/dpu: Remove duplicate dpu_hw_cwb.h header

2025-03-06 Thread Dmitry Baryshkov
On Fri, Mar 07, 2025 at 09:50:30AM +0800, Jiapeng Chong wrote: > ./drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c: dpu_hw_cwb.h is included more > than once. > > Reported-by: Abaci Robot > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=19239 > Signed-off-by: Jiapeng Chong > --- > drivers/

Re: [PATCH] drm/imx: legacy-bridge: fix inconsistent indenting warning

2025-03-06 Thread Liu Ying
On 03/05/2025, Charles Han wrote: > Fix below inconsistent indenting smatch warning. > smatch warnings: > drivers/gpu/drm/bridge/imx/imx-legacy-bridge.c:79 > devm_imx_drm_legacy_bridge() warn: inconsistent indenting > > Signed-off-by: Charles Han > --- > drivers/gpu/drm/bridge/imx/imx-legacy-br

[PATCH v3 2/3] vfio/pci: Share the core device pointer while invoking feature functions

2025-03-06 Thread Vivek Kasireddy
There is no need to share the main device pointer (struct vfio_device *) with all the feature functions as they only need the core device pointer. Therefore, extract the core device pointer once in the caller (vfio_pci_core_ioctl_feature) and share it instead. Signed-off-by: Vivek Kasireddy ---

[PATCH v3 1/3] vfio: Export vfio device get and put registration helpers

2025-03-06 Thread Vivek Kasireddy
These helpers are useful for managing additional references taken on the device from other associated VFIO modules. Original-patch-by: Jason Gunthorpe Signed-off-by: Vivek Kasireddy --- drivers/vfio/vfio_main.c | 2 ++ include/linux/vfio.h | 2 ++ 2 files changed, 4 insertions(+) diff --gi

[PATCH v3 3/3] vfio/pci: Allow MMIO regions to be exported through dma-buf

2025-03-06 Thread Vivek Kasireddy
>From Jason Gunthorpe: "dma-buf has become a way to safely acquire a handle to non-struct page memory that can still have lifetime controlled by the exporter. Notably RDMA can now import dma-buf FDs and build them into MRs which allows for PCI P2P operations. Extend this to allow vfio-pci to export

[PATCH v3 0/3] vfio/pci: Allow MMIO regions to be exported through dma-buf

2025-03-06 Thread Vivek Kasireddy
This is an attempt to revive the patches posted by Jason Gunthorpe at: https://patchwork.kernel.org/project/linux-media/cover/0-v2-472615b3877e+28f7-vfio_dma_buf_...@nvidia.com/ Here is the cover letter text from Jason's original series: "dma-buf has become a way to safely acquire a handle to non-

Re: [PATCH v8 0/7] drm/msm: make use of the HDMI connector infrastructure

2025-03-06 Thread Dmitry Baryshkov
From: Dmitry Baryshkov On Wed, 26 Feb 2025 10:59:23 +0200, Dmitry Baryshkov wrote: > This patchset sits on top Maxime's HDMI connector patchset ([1]). > > Currently this is an RFC exploring the interface between HDMI bridges > and HDMI connector code. This has been lightly verified on the Qualc

Re: [PATCH v2] dt-bindings: display/msm: qcom, sa8775p-mdss: Add missing eDP phy

2025-03-06 Thread Dmitry Baryshkov
From: Dmitry Baryshkov On Fri, 21 Feb 2025 16:13:11 +0100, Krzysztof Kozlowski wrote: > The Qualcomm SA8775p MDSS display block comes with eDP phy, already used > in DTS and already documented in phy/qcom,edp-phy.yaml binding. Add the > missing device node in the binding and extend example to s

Re: [PATCH v2 0/4] drm/msm/dpu: follow rules for drm_atomic_helper_check_modeset()

2025-03-06 Thread Dmitry Baryshkov
From: Dmitry Baryshkov On Thu, 23 Jan 2025 14:43:32 +0200, Dmitry Baryshkov wrote: > As pointed out by Simona, the drm_atomic_helper_check_modeset() and > drm_atomic_helper_check() require the former function is rerun if the > driver's callbacks modify crtc_state->mode_changed. MSM is one of the

Re: [PATCH next] drm/msm/dpu: fix error pointer dereference in msm_kms_init_aspace()

2025-03-06 Thread Dmitry Baryshkov
From: Dmitry Baryshkov On Tue, 25 Feb 2025 10:30:26 +0300, Dan Carpenter wrote: > If msm_gem_address_space_create() fails, then return right away. > Otherwise it leads to a Oops when we dereference "aspace" on the next > line. > > Applied, thanks! [1/1] drm/msm/dpu: fix error pointer derefer

Re: [PATCH] drm/panel: novatek-nt36523: transition to mipi_dsi wrapped functions

2025-03-06 Thread Dmitry Baryshkov
On Thu, Mar 06, 2025 at 11:08:18PM +0530, Tejas Vipin wrote: > > > On 3/6/25 10:58 PM, Doug Anderson wrote: > > Hi, > > > > On Thu, Mar 6, 2025 at 6:05 AM wrote: > >> > >> On 06/03/2025 14:43, Tejas Vipin wrote: > >>> Changes the novatek-nt36523 panel to use multi style functions for > >>> impr

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

2025-03-06 Thread Dmitry Baryshkov
From: 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(+),

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

2025-03-06 Thread Dmitry Baryshkov
From: 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(-) d

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

2025-03-06 Thread Dmitry Baryshkov
From: 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

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

2025-03-06 Thread Dmitry Baryshkov
From: 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 delet

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

2025-03-06 Thread Dmitry Baryshkov
From: 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

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

2025-03-06 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

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

2025-03-06 Thread Dmitry Baryshkov
From: 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 com

[PATCH 03/11] dt-bindings: power: qcom,kpss-acc-v2: Add MSM8916 compatible

2025-03-06 Thread Konrad Dybcio
From: Konrad Dybcio MSM8916 seems to reuse the same hardware as MSM8974 and friends (for whom this binding document was created). Add a new compatible for it. Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/power/qcom,kpss-acc-v2.yaml | 4 +++- 1 file changed, 3 insertions(+

Re: [PATCH 3/5] dt-bindings: display: simple-bridge: Document DPI color encoder

2025-03-06 Thread Liu Ying
On 03/07/2025, Rob Herring wrote: > On Thu, Mar 06, 2025 at 12:35:49PM +0100, Maxime Ripard wrote: >> On Thu, Mar 06, 2025 at 03:02:41PM +0800, Liu Ying wrote: >>> On 03/06/2025, Rob Herring wrote: On Wed, Mar 05, 2025 at 10:35:26AM +0100, Alexander Stein wrote: > Hi, > > Am Dienst

Re: [PATCH v5 2/7] bits: introduce fixed-type genmasks

2025-03-06 Thread Vincent Mailhol
On 06/03/2025 à 22:08, Andy Shevchenko wrote: > On Thu, Mar 06, 2025 at 08:29:53PM +0900, Vincent Mailhol via B4 Relay wrote: >> From: Yury Norov >> >> Add GENMASK_TYPE() which generalizes __GENMASK() to support different >> types, and implement fixed-types versions of GENMASK() based on it. >> Th

Re: [git pull] drm fixes for 6.14-rc6

2025-03-06 Thread pr-tracker-bot
The pull request you sent on Fri, 7 Mar 2025 10:13:09 +1000: > https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2025-03-07 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/28f587adb69957125241a8df359b68b134f3c4a1 Thank you! -- Deet-doot-dot, I am a bot. ht

Re: [PATCH v3 00/16] Introduce and use generic parity16/32/64 helper

2025-03-06 Thread H. Peter Anvin
On March 6, 2025 8:25:25 AM PST, Kuan-Wei Chiu wrote: >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 pat

Re: [PATCH v3 00/16] Introduce and use generic parity16/32/64 helper

2025-03-06 Thread H. Peter Anvin
On March 6, 2025 8:25:25 AM PST, Kuan-Wei Chiu wrote: >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 pat

Re: [PATCH drm-next 2/2] drm/virtio: Use atomic_vmap to work drm_panic in GUI

2025-03-06 Thread kernel test robot
patch link: https://lore.kernel.org/r/20250305152555.318159-3-ryasuoka%40redhat.com patch subject: [PATCH drm-next 2/2] drm/virtio: Use atomic_vmap to work drm_panic in GUI config: i386-buildonly-randconfig-003-20250306 (https://download.01.org/0day-ci/archive/20250307/202503071022.q1pg7suf

Re: [PATCH v2 0/2] Fix native cursors with vmwgfx

2025-03-06 Thread Maaz Mombasawala
On 3/5/25 20:11, Zack Rusin wrote: > vmwgfx had a number of cursor issues that related both to our handling > of dumb buffers and general detection when a cursor has actually changed. > Fix those issues and bump the kernel module version to allow userspace > to recognize fixed versions of the drive

[PATCH 09/11] arm64: dts: qcom: x1e80100-dell-xps13-9345: Drop clock-names from PS8830

2025-03-06 Thread Konrad Dybcio
From: Konrad Dybcio The preemptively-merged node contains a property absent from the final bindings. Remove it. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-dell-xps

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

2025-03-06 Thread Andy Yan
Hi Piotr, 在 2025-03-06 22:28:08,"Piotr Oniszczuk" 写道: > > >> Wiadomość napisana przez Piotr Oniszczuk w dniu >> 6 mar 2025, o godz. 15:08: >> >> >> >>> Wiadomość napisana przez Andy Yan w dniu 6 mar 2025, o >>> godz. 13:15: >>> >>> Hi Piotr, >>> >>> >>> >>> Then when you DP cable plugi

Re:Re: [PATCH v5 04/16] drm/atomic: Introduce helper to lookup connector by encoder

2025-03-06 Thread Andy Yan
Hi All, At 2025-03-06 23:41:24, "Simona Vetter" wrote: >On Thu, Mar 06, 2025 at 08:10:16AM +0100, Maxime Ripard wrote: >> On Thu, Mar 06, 2025 at 09:16:24AM +0800, Andy Yan wrote: >> > >> > Hi Maxime and Dmitry: >> > >> > At 2025-03-06 04:13:53, "Dmitry Baryshkov" >> > wrote: >> > >On Wed, Ma

Re: [PATCH] drm/ast: Support both SHMEM helper and VRAM helper

2025-03-06 Thread Huacai Chen
On Wed, Mar 5, 2025 at 5:04 PM Thomas Zimmermann wrote: > > Hi > > Am 04.03.25 um 12:55 schrieb Huacai Chen: > > On Tue, Mar 4, 2025 at 5:39 PM Thomas Zimmermann > > wrote: > >> Hi > >> > >> Am 04.03.25 um 10:19 schrieb Huacai Chen: > >>> On Tue, Mar 4, 2025 at 4:41 PM Thomas Zimmermann > >>>

[git pull] drm fixes for 6.14-rc6

2025-03-06 Thread Dave Airlie
Hey Linus, Looks like the cyclone is taking its time getting here, so I can at least get the drm fixes tree out. Fixes across the board, mostly xe and imagination with some amd and misc others. The xe fixes are mostly hmm related, though there are some others in there as well, nothing really stan

Re: [RFC 00/11] THP support for zone device pages

2025-03-06 Thread Balbir Singh
On 3/7/25 10:08, Matthew Brost wrote: > On Thu, Mar 06, 2025 at 03:42:28PM +1100, Balbir Singh wrote: > > This is an exciting series to see. As of today, we have just merged this > series into the DRM subsystem / Xe [2], which adds very basic SVM > support. One of the performance bottlenecks we qu

Re: [RFC 00/11] THP support for zone device pages

2025-03-06 Thread Matthew Brost
On Thu, Mar 06, 2025 at 03:42:28PM +1100, Balbir Singh wrote: This is an exciting series to see. As of today, we have just merged this series into the DRM subsystem / Xe [2], which adds very basic SVM support. One of the performance bottlenecks we quickly identified was the lack of THP for device

Re: [RFC 01/11] mm/zone_device: support large zone device private folios

2025-03-06 Thread Alistair Popple
On Thu, Mar 06, 2025 at 03:42:29PM +1100, Balbir Singh wrote: > Add routines to support allocation of large order zone device folios > and helper functions for zone device folios, to check if a folio is > device private and helpers for setting zone device data. > > When large folios are used, the

Re: [PATCH 2/2] drm/bridge: fsl-ldb: make warning message more informative

2025-03-06 Thread Frank Li
On Thu, Mar 06, 2025 at 06:28:41PM +0100, Luca Ceresoli wrote: > This warning notifies a clock was set to an inaccurate value. Modify the > string to also show the clock name. > > While doing that also rewrap the entire function call. > > Signed-off-by: Luca Ceresoli > --- > drivers/gpu/drm/bridg

Re: [PATCH v5 0/7] bits: Fixed-type GENMASK()/BIT()

2025-03-06 Thread Vincent Mailhol
On 06/03/2025 at 22:02, Andy Shevchenko wrote: > On Thu, Mar 06, 2025 at 08:29:51PM +0900, Vincent Mailhol via B4 Relay wrote: >> Introduce some fixed width variant of the GENMASK() and the BIT() >> macros in bits.h. Note that the main goal is not to get the correct >> type, but rather to enforce m

[PATCH v6 1/5] rust: module: add type `LocalModule`

2025-03-06 Thread Danilo Krummrich
The `LocalModule` type is the type of the module created by `module!`, `module_pci_driver!`, `module_platform_driver!`, etc. Since the exact type of the module is sometimes generated on the fly by the listed macros, provide an alias. This is first used by the `module_firmware!` macro. Acked-by:

Re: [RFC 07/11] mm/memremap: Add folio_split support

2025-03-06 Thread Alistair Popple
On Thu, Mar 06, 2025 at 03:42:35PM +1100, Balbir Singh wrote: > When a zone device page is split (via huge pmd folio split). The > driver callback for folio_split is invoked to let the device driver > know that the folio size has been split into a smaller order. > > The HMM test driver has been up

Re: [PATCH v3 20/25] drm/tegra: Compute dumb-buffer sizes with drm_mode_size_dumb()

2025-03-06 Thread Thierry Reding
On Tue, Feb 18, 2025 at 03:23:43PM +0100, Thomas Zimmermann wrote: > Call drm_mode_size_dumb() to compute dumb-buffer scanline pitch and > buffer size. Align the pitch according to hardware requirements. > > Signed-off-by: Thomas Zimmermann > Cc: Thierry Reding > Cc: Mikko Perttunen > --- > dr

[PATCH v3 10/11] leds: backlight trigger: Replace fb events with a dedicated function call

2025-03-06 Thread Thomas Zimmermann
Remove support for fb events from the led backlight trigger. Provide the helper ledtrig_backlight_blank() instead. Call it from fbdev to inform the trigger of changes to a display's blank state. Fbdev maintains a list of all installed notifiers. Instead of the fbdev notifiers, maintain an internal

[PATCH v4 1/3] drm/drm_mm: Safe macro for iterating through nodes in range

2025-03-06 Thread Tomasz Lis
Benefits of drm_mm_for_each_node_safe and drm_mm_for_each_node_in_range squished together into one macro. Signed-off-by: Tomasz Lis --- Cc: dri-devel@lists.freedesktop.org Cc: Christian König Cc: Arun R Murthy Cc: Matthew Brost include/drm/drm_mm.h | 19 +++ 1 file changed, 1

[PATCH v6 3/5] rust: firmware: add `module_firmware!` macro

2025-03-06 Thread Danilo Krummrich
Analogous to the `module!` macro `module_firmware!` adds additional firmware path strings to the .modinfo section. In contrast to `module!`, where path strings need to be string literals, path strings can be composed with the `firmware::ModInfoBuilder`. Some drivers require a lot of firmware file

[PATCH v6 0/5] Initial Nova Core series

2025-03-06 Thread Danilo Krummrich
This is the initial series for the nova-core stub driver. nova-core is intended to serve as a common base for nova-drm (the corresponding DRM driver) and the vGPU manager VFIO driver, serving as a hard- and firmware abstraction layer for GSP-based NVIDIA GPUs. The Nova project, including nova-cor

Re: [PATCH v5 4/5] gpu: nova-core: add initial driver stub

2025-03-06 Thread Alexandre Courbot
Hi Danilo, On Wed Mar 5, 2025 at 2:34 AM JST, Danilo Krummrich wrote: > Add the initial nova-core driver stub. > > nova-core is intended to serve as a common base for nova-drm (the > corresponding DRM driver) and the vGPU manager VFIO driver, serving as a > hard- and firmware abstraction layer for

Re: [PATCH v2] mailbox: mtk-cmdq: Refine GCE_GCTL_VALUE setting

2025-03-06 Thread AngeloGioacchino Del Regno
Il 24/02/25 11:50, Jason-JH Lin ha scritto: Add cmdq_gctl_value_toggle() to configure GCE_CTRL_BY_SW and GCE_DDR_EN together in the same GCE_GCTL_VALUE register. For the SoCs whose GCE is located in MMINFRA and uses MMINFRA_AO power, this allows it to be written without enabling the clocks. Othe

[PATCH v3 11/16] drm/bridge: dw-hdmi: Replace open-coded parity calculation with parity32()

2025-03-06 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 --- Changes in v3: - Change parity32(sample) to !!parity32(samp

[PATCH v3 06/16] serial: max3100: Replace open-coded parity calculation with parity8()

2025-03-06 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 --- Changes in v3: - Change parity8(c) to !!parity8(c). driver

[PATCH v3 10/16] wifi: brcm80211: Replace open-coded parity calculation with parity32()

2025-03-06 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

Re: [RFC 07/11] mm/memremap: Add folio_split support

2025-03-06 Thread Balbir Singh
On 3/6/25 19:16, Mika Penttilä wrote: > Hi, > > On 3/6/25 06:42, Balbir Singh wrote: >> When a zone device page is split (via huge pmd folio split). The >> driver callback for folio_split is invoked to let the device driver >> know that the folio size has been split into a smaller order. >> >> The

Re: [RFC 04/11] mm/migrate_device: THP migration of zone device pages

2025-03-06 Thread Balbir Singh
On 3/6/25 20:24, Mika Penttilä wrote: > Hi, > > On 3/6/25 06:42, Balbir Singh wrote: > ... > >> >> /* >> * The only time there is no vma is when called from >> @@ -728,15 +1000,47 @@ static void __migrate_device_pages(unsigned long >> *src_pfns, >>

Re: [PATCH v5 2/7] bits: introduce fixed-type genmasks

2025-03-06 Thread Andy Shevchenko
On Fri, Mar 07, 2025 at 01:08:01AM +0900, Vincent Mailhol wrote: > On 06/03/2025 à 22:08, Andy Shevchenko wrote: > > On Thu, Mar 06, 2025 at 08:29:53PM +0900, Vincent Mailhol via B4 Relay > > wrote: ... > Does this mean I get your Reviewed-by tag? Or will you wait the v6 to > formally give it?

Re: [PATCH] drm/panel/synaptics-r63353: Use _multi variants

2025-03-06 Thread Anusha Srivatsa
On Thu, Mar 6, 2025 at 4:31 AM Maxime Ripard wrote: > Hi Anusha, > > On Wed, Mar 05, 2025 at 07:01:41PM -0500, Anusha Srivatsa wrote: > > Move away from using deprecated API and use _multi > > variants if available. Use mipi_dsi_msleep() > > and mipi_dsi_usleep_range() instead of msleep() > > and

Re: [PATCH 0/4] drm/amd/display: move from kzalloc(size * nr, ...) to kcalloc(nr, size, ...)

2025-03-06 Thread Alex Hung
This series LGTM too. Reviewed-by: Alex Hung On 2/27/25 16:16, Ethan Carter Edwards wrote: We are trying to get rid of all multiplications from allocation functions to prevent integer overflows. Here the multiplications are probably safe, but using kcalloc() is more appropriate and improves re

[PATCH 2/2] drm/bridge: ti-sn65dsi83: add h/vsync-disable support

2025-03-06 Thread A. Zini
From: Alessandro Zini The h/vsync-disable properties are used to control whether to use or not h/vsync signals, by configuring their pulse width to zero. This is required on some panels which are driven in DE-only mode but do not ignore sync packets, and instead require them to be low-voltage le

Re: [PATCH] accel/qaic: Fix possible data corruption in BOs > 2G

2025-03-06 Thread Youssef Samir
On 3/6/2025 5:19 PM, Jeff Hugo wrote: > From: Jeffrey Hugo > > When slicing a BO, we need to iterate through the BO's sgt to find the > right pieces to construct the slice. Some of the data types chosen for > this process are incorrectly too small, and can overflow. This can > result in the in

Re: [PATCH v7 3/3] drm/sched: Update timedout_job()'s documentation

2025-03-06 Thread Matthew Brost
On Wed, Mar 05, 2025 at 02:05:52PM +0100, Philipp Stanner wrote: > drm_sched_backend_ops.timedout_job()'s documentation is outdated. It > mentions the deprecated function drm_sched_resubmit_jobs(). Furthermore, > it does not point out the important distinction between hardware and > firmware schedu

Re: [PATCH v3 01/16] bitops: Change parity8() return type to bool

2025-03-06 Thread David Laight
On Fri, 7 Mar 2025 00:25:26 +0800 Kuan-Wei Chiu wrote: > Change return type to bool for better clarity. Update the kernel doc > comment accordingly, including fixing "@value" to "@val" and adjusting > examples. Also mark the function with __attribute_const__ to allow > potential compiler optimiz

Re: [PATCH 3/5] dt-bindings: display: simple-bridge: Document DPI color encoder

2025-03-06 Thread Rob Herring
On Thu, Mar 06, 2025 at 12:35:49PM +0100, Maxime Ripard wrote: > On Thu, Mar 06, 2025 at 03:02:41PM +0800, Liu Ying wrote: > > On 03/06/2025, Rob Herring wrote: > > > On Wed, Mar 05, 2025 at 10:35:26AM +0100, Alexander Stein wrote: > > >> Hi, > > >> > > >> Am Dienstag, 4. März 2025, 16:23:20 CET sc

Re: [PATCH] drm/panel/synaptics-r63353: Use _multi variants

2025-03-06 Thread Dmitry Baryshkov
On Thu, 6 Mar 2025 at 17:10, Anusha Srivatsa wrote: > > > > On Thu, Mar 6, 2025 at 4:31 AM Maxime Ripard wrote: >> >> Hi Anusha, >> >> On Wed, Mar 05, 2025 at 07:01:41PM -0500, Anusha Srivatsa wrote: >> > Move away from using deprecated API and use _multi >> > variants if available. Use mipi_dsi_

[PATCH 01/11] dt-bindings: iommu: qcom,iommu: Add optional TBU clock

2025-03-06 Thread Konrad Dybcio
From: Konrad Dybcio Some MMU instances feature a Translation Buffer Unit (TBU), which comes with its own clock. Allow describing it. Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/iommu/qcom,iommu.yaml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/de

Re: [PATCH] drm/panel: novatek-nt36523: transition to mipi_dsi wrapped functions

2025-03-06 Thread Tejas Vipin
On 3/6/25 10:58 PM, Doug Anderson wrote: > Hi, > > On Thu, Mar 6, 2025 at 6:05 AM wrote: >> >> On 06/03/2025 14:43, Tejas Vipin wrote: >>> Changes the novatek-nt36523 panel to use multi style functions for >>> improved error handling. >>> >>> Signed-off-by: Tejas Vipin >>> --- >>> drivers/g

Re: [PATCH] drm/panel: novatek-nt36523: transition to mipi_dsi wrapped functions

2025-03-06 Thread Doug Anderson
Hi, On Thu, Mar 6, 2025 at 11:03 AM Dmitry Baryshkov wrote: > > On Thu, 6 Mar 2025 at 18:44, Doug Anderson wrote: > > > > Hi, > > > > On Thu, Mar 6, 2025 at 8:33 AM Dmitry Baryshkov > > wrote: > > > > > > On Thu, Mar 06, 2025 at 03:05:10PM +0100, neil.armstr...@linaro.org wrote: > > > > On 06/0

Re: [PATCH v7 0/3] drm/sched: Documentation and refcount improvements

2025-03-06 Thread Danilo Krummrich
On Wed, Mar 05, 2025 at 02:05:49PM +0100, Philipp Stanner wrote: > Philipp Stanner (3): > drm/sched: Adjust outdated docu for run_job() > drm/sched: Document run_job() refcount hazard > drm/sched: Update timedout_job()'s documentation Acked-by: Danilo Krummrich

[REGRESSION] upstream-mainline/master: (build) initializer-string for array of ‘char’ is too long [-Werror=unterm...

2025-03-06 Thread KernelCI bot
Hello, New build issue found on upstream-mainline/master: --- initializer-string for array of ‘char’ is too long [-Werror=unterminated-string-initialization] in drivers/gpu/drm/i915/gvt/opregion.o (drivers/gpu/drm/i915/gvt/opregion.c) [logspec:kbuild,kbuild.compiler.error] --- - dashboard: htt

[REGRESSION] upstream-mainline/master: (build) initializer-string for array of ‘char’ is too long [-Werror=unterm...

2025-03-06 Thread KernelCI bot
Hello, New build issue found on upstream-mainline/master: --- initializer-string for array of ‘char’ is too long [-Werror=unterminated-string-initialization] in drivers/gpu/drm/panthor/panthor_fw.o (drivers/gpu/drm/panthor/panthor_fw.c) [logspec:kbuild,kbuild.compiler.error] --- - dashboard: h

Re: [PATCH] drm/msm/dpu: Adjust CDM_MUX to support CWB PINGPONG

2025-03-06 Thread Abhinav Kumar
On 3/5/2025 10:44 PM, Dmitry Baryshkov wrote: On Wed, Mar 05, 2025 at 07:16:51PM -0800, Jessica Zhang wrote: Similar to WB_MUX, CDM_MUX also needs to be adjusted to support dedicated CWB PINGPONGs Signed-off-by: Jessica Zhang --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_cdm.c | 4 +++- 1 fil

Re: [PATCH v5 1/7] bits: split the definition of the asm and non-asm GENMASK()

2025-03-06 Thread David Laight
On Thu, 06 Mar 2025 20:29:52 +0900 Vincent Mailhol via B4 Relay wrote: > From: Vincent Mailhol > > In an upcoming change, GENMASK() and its friends will indirectly > depend on sizeof() which is not available in asm. > > Instead of adding further complexity to __GENMASK() to make it work > for

Re: [PATCH] accel/qaic: Fix integer overflow in qaic_validate_req()

2025-03-06 Thread Jeff Hugo
On 3/5/2025 8:53 AM, Dan Carpenter wrote: These are u64 variables that come from the user via qaic_attach_slice_bo_ioctl(). Ensure that the math doesn't have an integer wrapping bug. Cc: sta...@vger.kernel.org Fixes: ff13be830333 ("accel/qaic: Add datapath") Signed-off-by: Dan Carpenter ---

Re: [PATCH] drm/panel/synaptics-r63353: Use _multi variants

2025-03-06 Thread Anusha Srivatsa
On Thu, Mar 6, 2025 at 12:54 PM Doug Anderson wrote: > Hi, > > On Thu, Mar 6, 2025 at 9:20 AM Maxime Ripard wrote: > > > > On Thu, Mar 06, 2025 at 10:08:24AM -0500, Anusha Srivatsa wrote: > > > On Thu, Mar 6, 2025 at 4:31 AM Maxime Ripard > wrote: > > > > > > > Hi Anusha, > > > > > > > > On Wed

Re: [PATCH] drm/panel: novatek-nt36523: transition to mipi_dsi wrapped functions

2025-03-06 Thread Dmitry Baryshkov
On Thu, 6 Mar 2025 at 18:44, Doug Anderson wrote: > > Hi, > > On Thu, Mar 6, 2025 at 8:33 AM Dmitry Baryshkov > wrote: > > > > On Thu, Mar 06, 2025 at 03:05:10PM +0100, neil.armstr...@linaro.org wrote: > > > On 06/03/2025 14:43, Tejas Vipin wrote: > > > > Changes the novatek-nt36523 panel to use

Re: [PATCH] drm/panel/synaptics-r63353: Use _multi variants

2025-03-06 Thread Anusha Srivatsa
On Thu, Mar 6, 2025 at 12:26 PM Tejas Vipin wrote: > > > On 3/6/25 9:03 PM, Anusha Srivatsa wrote: > > On Thu, Mar 6, 2025 at 11:29 AM Dmitry Baryshkov < > > dmitry.barysh...@linaro.org> wrote: > > > >> On Thu, 6 Mar 2025 at 17:10, Anusha Srivatsa > wrote: > >>> > >>> > >>> > >>> On Thu, Mar 6,

[PATCH V1] accel/amdxdna: Add BO import and export

2025-03-06 Thread Lizhi Hou
Add amdxdna_gem_prime_export() and amdxdna_gem_prime_import() for BO import and export. Register mmu notifier for imported BO as well. When MMU_NOTIFIER_UNMAP event is received, queue work to remove the notifier. The same BO could be mapped multiple times if it is exported and imported by an appli

[PATCH 1/2] drm/display: hdmi: Create documentation section

2025-03-06 Thread Maxime Ripard
We have had documentation for the public functions in the HDMI helpers, but those were never referenced anywhere and thus not compiled as part of the doc. Let's add a section. Signed-off-by: Maxime Ripard --- Documentation/gpu/drm-kms-helpers.rst | 15 +++ drivers/gpu/drm/

[PATCH v2] drm/gma500: Add NULL check for pci_gfx_root in mid_get_vbt_data()

2025-03-06 Thread Ivan Abramov
Since pci_get_domain_bus_and_slot() can return NULL, add NULL check for pci_gfx_root in the mid_get_vbt_data(). This change is similar to the checks implemented in mid_get_fuse_settings() and mid_get_pci_revID(), which were introduced by commit 0cecdd818cd7 ("gma500: Final enables for Oaktrail") a

  1   2   3   >