Re: [PATCH v1 13/19] staging: media: tegra-video: tegra20: set VI HW revision

2025-09-08 Thread Luca Ceresoli
Hello Svyatoslav, On Fri, 5 Sep 2025 19:11:06 +0300 Svyatoslav Ryhel wrote: > пт, 5 вер. 2025 р. о 19:08 Luca Ceresoli пише: > > > > On Tue, 19 Aug 2025 15:16:25 +0300 > > Svyatoslav Ryhel wrote: > > > > > Tegra20, Tegra30 and Tegra114 have VI revision 1. > > > > Why? You should mention th

Re: [PATCH v7 00/11] Trusted Execution Environment (TEE) driver for Qualcomm TEE (QTEE)

2025-09-08 Thread Sumit Garg
On Tue, Sep 09, 2025 at 08:16:48AM +0200, Jens Wiklander wrote: > On Tue, Sep 9, 2025 at 6:34 AM Sumit Garg wrote: > > > > On Tue, Aug 12, 2025 at 05:35:29PM -0700, Amirreza Zarrabi wrote: > > > This patch series introduces a Trusted Execution Environment (TEE) > > > driver for Qualcomm TEE (QTEE)

Re: [PATCH v1 03/14] dt-bindings: arm: mediatek: mmsys: Add assigned-clocks/rates properties

2025-09-08 Thread Krzysztof Kozlowski
On 08/09/2025 21:19, Ariel D'Alessandro wrote: > Krzysztof, > > On 8/21/25 3:43 AM, Krzysztof Kozlowski wrote: >> On Wed, Aug 20, 2025 at 02:12:51PM -0300, Ariel D'Alessandro wrote: >>> Current, the DT bindings for MediaTek mmsys controller is missing the >>> assigned-clocks and assigned-clocks-ra

[PATCH 3/3] Documentation: fbcon: Use admonition directives

2025-09-08 Thread Bagas Sanjaya
Use reST syntax for admonitions (notes and custom admonition for gotcha). Signed-off-by: Bagas Sanjaya --- Documentation/fb/fbcon.rst | 28 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/Documentation/fb/fbcon.rst b/Documentation/fb/fbcon.rst index 3

[PATCH 0/3] Documentation: fbcon: formatting cleanup and improvements

2025-09-08 Thread Bagas Sanjaya
Hi, Here are reST formatting cleanup and improvements for fbcon documentation. The shortlog below should be self-explanatory. This series is based on docs-next tree. Enjoy! Bagas Sanjaya (3): Documentation: fbcon: Add boot options and attach/detach/unload section headings Documentation:

[PATCH 2/3] Documentation: fbcon: Reindent 8th step of attach/detach/unload

2025-09-08 Thread Bagas Sanjaya
Properly indent 8th step text (as enumerated list item) to be inline with other steps. Signed-off-by: Bagas Sanjaya --- Documentation/fb/fbcon.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/fb/fbcon.rst b/Documentation/fb/fbcon.rst index b9ddc145

[PATCH 1/3] Documentation: fbcon: Add boot options and attach/detach/unload section headings

2025-09-08 Thread Bagas Sanjaya
These last two enumerated sections headings are in normal paragraphs, making both sections merged into "Loading" section instead. Add the headings. Signed-off-by: Bagas Sanjaya --- Documentation/fb/fbcon.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/fb

Re: [PATCH v1 2/2] Drivers: hv: Make CONFIG_HYPERV bool

2025-09-08 Thread Greg KH
On Mon, Sep 08, 2025 at 02:01:34PM -0700, Mukesh R wrote: > On 9/6/25 04:36, Greg KH wrote: > > On Fri, Sep 05, 2025 at 06:09:52PM -0700, Mukesh Rathor wrote: > >> With CONFIG_HYPERV and CONFIG_HYPERV_VMBUS separated, change CONFIG_HYPERV > >> to bool from tristate. CONFIG_HYPERV now becomes the co

Re: [PATCH v5 1/2] drm/buddy: Optimize free block management with RB tree

2025-09-08 Thread Arunpravin Paneer Selvam
Hi Peter / Jani, From the measurements I have done, the difference between RBtree full iteration and list full iteration is negligible, even under heavy fragmentation. Based on this, I think it would be reasonable to include these macros in rbtree.h as a convenience for cases where a full walk

Re: [PATCH v7 00/11] Trusted Execution Environment (TEE) driver for Qualcomm TEE (QTEE)

2025-09-08 Thread Jens Wiklander
On Tue, Sep 9, 2025 at 6:34 AM Sumit Garg wrote: > > On Tue, Aug 12, 2025 at 05:35:29PM -0700, Amirreza Zarrabi wrote: > > This patch series introduces a Trusted Execution Environment (TEE) > > driver for Qualcomm TEE (QTEE). QTEE enables Trusted Applications (TAs) > > and services to run securely

Re: [PATCH] drm/gma500: Do not clear framebuffer GEM objects during cleanup

2025-09-08 Thread Patrik Jakobsson
On Thu, Sep 4, 2025 at 2:14 PM Thomas Zimmermann wrote: > > Gma500 unnecessarily clears the framebuffer's GEM-object pointer > before calling drm_framebuffer_cleanup(). Remove this code to make > gma500 consistent with the rest of the drivers. > > The change is cosmetic, as drm_framebuffer_cleanup

Re: [PATCH 1/2] drm/amd/display: Optimize reserved time candidates sorting using standard sort()

2025-09-08 Thread Christian König
On 08.09.25 19:05, Alex Hung wrote: > > > On 8/24/25 12:23, Kuan-Wei Chiu wrote: >> Replace the custom bubble sort used for sorting reserved time >> candidates in with the kernel's standard sort() helper. The previous >> code had O(N^2) time complexity, while the generic kernel sort runs in >> O(

Re: [PATCH V2] drm/bridge: ti-sn65dsi86: Add support for DisplayPort mode with HPD

2025-09-08 Thread Doug Anderson
Hi, On Mon, Sep 8, 2025 at 1:37 PM John Ripple wrote: > > Add support for DisplayPort to the bridge, which entails the following: > - Get and use an interrupt for HPD; > - Properly clear all status bits in the interrupt handler; > > Signed-off-by: John Ripple > --- > V1 -> V2: Cleaned up coding

Re: [PATCH v2 12/23] dt-bindings: display: tegra: move avdd-dsi-csi-supply from VI to CSI

2025-09-08 Thread Svyatoslav Ryhel
вт, 9 вер. 2025 р. о 03:57 Rob Herring пише: > > On Sat, Sep 06, 2025 at 04:53:33PM +0300, Svyatoslav Ryhel wrote: > > The avdd-dsi-csi-supply is CSI power supply, it has nothing to do with VI, > > like same supply is used with DSI and has nothing to do with DC. Move it > > to correct place. > > >

Re: [PATCH v7 00/11] Trusted Execution Environment (TEE) driver for Qualcomm TEE (QTEE)

2025-09-08 Thread Sumit Garg
On Tue, Aug 12, 2025 at 05:35:29PM -0700, Amirreza Zarrabi wrote: > This patch series introduces a Trusted Execution Environment (TEE) > driver for Qualcomm TEE (QTEE). QTEE enables Trusted Applications (TAs) > and services to run securely. It uses an object-based interface, where > each service is

Re: [PATCH v2 19/37] mm/gup: remove record_subpages()

2025-09-08 Thread Andrew Morton
On Sat, 6 Sep 2025 08:57:37 +0200 David Hildenbrand wrote: > >> @@ -3024,6 +3025,7 @@ static int gup_fast_pud_leaf(pud_t orig, pud_t > >> *pudp, unsigned long addr, > >> return 0; > >> } > >> + pages += *nr; > >> *nr += refs; > >> for (; refs; re

Re: [PATCH 1/2] Partially revert "rust: drm: gem: Implement AlwaysRefCounted for all gem objects automatically"

2025-09-08 Thread Boqun Feng
Hi Lyude, On Mon, Sep 08, 2025 at 06:04:44PM -0400, Lyude Paul wrote: > I made a very silly mistake with this commit that managed to slip by > because I forgot to mzke sure rvkms was rebased before testing my work last > - we can't do blanket implementations like this due to rust's orphan rule. >

RE: [PATCH v3 0/4] drm: Add vblank timers for devices without interrupts

2025-09-08 Thread Michael Kelley
From: Michael Kelley Sent: Thursday, September 4, 2025 10:36 PM > > From: Thomas Zimmermann Sent: Thursday, September 4, > 2025 7:56 AM > > > > Compositors often depend on vblanks to limit their display-update > > rate. Without, they see vblank events ASAP, which breaks the rate- > > limit featu

Re: [PATCH v2 1/4] nova-core: bitstruct: Move bitfield-specific code from register! into new macro

2025-09-08 Thread Alexandre Courbot
On Tue Sep 9, 2025 at 2:16 AM JST, Joel Fernandes wrote: > Hi Alex, > > On 9/7/2025 11:12 PM, Alexandre Courbot wrote: >> On Thu Sep 4, 2025 at 6:54 AM JST, Joel Fernandes wrote: >>> The bitfield-specific into new macro. This will be used to define >>> structs with bitfields, similar to C language.

Re: [PATCH] Revert "drm/amd/display: limit clear_update_flags to dcn32 and above"

2025-09-08 Thread Melissa Wen
On 07/18, Melissa Wen wrote: > On 18-07-2025 00:51, Matthew Schwartz wrote: > [...] > > In short, there is a chance that you are not seeing those glitches > because there are no changes in the pipe split when transitioning > between 1-2 overlay planes in your hw, but the split happens on steam > d

Re: [PATCH 11/15] ttm/pool: enable memcg tracking and shrinker. (v2)

2025-09-08 Thread Dave Airlie
On Thu, 4 Sept 2025 at 21:30, Christian König wrote: > > On 04.09.25 04:25, Dave Airlie wrote: > > On Wed, 3 Sept 2025 at 00:23, Christian König > > wrote: > >> > >> On 02.09.25 06:06, Dave Airlie wrote: > >>> From: Dave Airlie > >>> > >>> This enables all the backend code to use the list lru i

Re: [PATCH v2 4/4] rust: Move register and bitstruct macros out of Nova

2025-09-08 Thread Joel Fernandes
On Mon, Sep 08, 2025 at 08:39:19PM +0200, Miguel Ojeda wrote: > On Mon, Sep 8, 2025 at 7:06 PM Joel Fernandes wrote: > > > > The issue I ran into is, without adding it to prelude, the users of > > register! > > macro will have to import both bitfield! and register! macros explictly, > > even > >

RE: [PATCH v2 9/9] arm64: dts: imx95: Describe Mali G310 GPU

2025-09-08 Thread Peng Fan
Hi Marek, > Subject: Re: [PATCH v2 9/9] arm64: dts: imx95: Describe Mali G310 > GPU > > On 9/4/25 11:54 AM, Peng Fan wrote: > > Hello Peng, > > >>> @@ -1890,6 +1919,35 @@ netc_emdio: mdio@0,0 { > >>> }; > >>> }; > >>> > >>> + gpu_blk_ctrl: res

[Bug 220554] New: Display powers off after every update.

2025-09-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=220554 Bug ID: 220554 Summary: Display powers off after every update. Product: Drivers Version: 2.5 Hardware: ARM OS: Linux Status: NEW Severity: normal

Re: [PATCH v4] drm/i915/guc: Add synchronization on interrupt enable flag

2025-09-08 Thread Daniele Ceraolo Spurio
On 9/2/2025 8:14 AM, Zhanjun Dong wrote: Boolean flag access from interrupt context might have synchronous issueis on multiple processor platform, flags modified by one core might be read as an old value by another core. This issue on interrupt enable flag might causes interrupt misses or leak

[PATCH 0/2] rust/drm: Remove blanket AlwaysRefCounted impl for gem

2025-09-08 Thread Lyude Paul
This patch series simply drops an blanket implementation of AlwaysRefCounted for gem objects, which would cause issues if any other additional blanket implementations of AlwaysRefCounted were present within the same rust crate. While we're at it, we also introduce a macro in lieu of being able to u

[PATCH 2/2] rust/drm: Add gem::impl_aref_for_gem_obj!

2025-09-08 Thread Lyude Paul
In the future we're going to be introducing more GEM object types in rust then just gem::Object. Since all types of GEM objects have refcounting, let's introduce a macro that we can use in the gem crate in order to copy this boilerplate implementation for each type: impl_aref_for_gem_obj!(). Signe

[PATCH 1/2] Partially revert "rust: drm: gem: Implement AlwaysRefCounted for all gem objects automatically"

2025-09-08 Thread Lyude Paul
I made a very silly mistake with this commit that managed to slip by because I forgot to mzke sure rvkms was rebased before testing my work last - we can't do blanket implementations like this due to rust's orphan rule. The code -does- build just fine right now, but it doesn't with the ongoing bin

Re: [PATCH v3 4/8] drm/msm/dpu: use drmm_writeback_connector_init()

2025-09-08 Thread Christophe JAILLET
Le 08/09/2025 à 23:26, Dmitry Baryshkov a écrit : On Mon, Sep 08, 2025 at 11:09:07PM +0200, Christophe JAILLET wrote: Le 19/08/2025 à 22:32, Dmitry Baryshkov a écrit : Use drmm_plain_encoder_alloc() to allocate simple encoder and drmm_writeback_connector_init() in order to initialize writeback

Re: [PATCH v6 05/11] PCI: PM: Disable device wakeups when halting system through S4 flow

2025-09-08 Thread Bjorn Helgaas
In subject, s|PCI: PM:|PCI/PM:| to follow previous practice. On Sun, Aug 17, 2025 at 09:00:55PM -0500, Mario Limonciello (AMD) wrote: > PCI devices can be programmed as a wakeup source from low power states > by sysfs. However when using the S4 flow to go into S5 these wakeup > sources should be

[PATCH] drm/amdkfd: Replace kzalloc + copy_from_user with memdup_user

2025-09-08 Thread Thorsten Blum
Replace kzalloc() followed by copy_from_user() with memdup_user() to improve and simplify kfd_ioctl_set_cu_mask(). Return early if an error occurs and remove the obsolete 'out' label. No functional changes intended. Signed-off-by: Thorsten Blum --- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 12

Re: (subset) [PATCH v3 0/5] arm64: qcom: x1e78100-lenovo-thinkpad-t14s: add support for HDMI output

2025-09-08 Thread Dmitry Baryshkov
On Mon, 08 Sep 2025 15:04:17 +0200, Neil Armstrong wrote: > The Thinkpad T14s embeds a transparent 4lanes DP->HDMI transceiver > connected to the third QMP Combo PHY 4 lanes. > > The QMP USB3/DP Combo PHY hosts an USB3 phy and a DP PHY on top > of a combo glue to route either lanes to the 4 shared

Re: [PATCH v3 4/5] phy: qcom: qmp-combo: get the USB3 & DisplayPort lanes mapping from DT

2025-09-08 Thread Dmitry Baryshkov
On Mon, Sep 08, 2025 at 03:04:21PM +0200, Neil Armstrong wrote: > The QMP USB3/DP Combo PHY hosts an USB3 phy and a DP PHY on top > of a combo glue to route either lanes to the 4 shared physical lanes. > > The routing of the lanes can be: > - 2 DP + 2 USB3 > - 4 DP > - 2 USB3 > > Get the lanes ma

[PATCH v2] fbdev/simplefb: Fix use after free in simplefb_detach_genpds()

2025-09-08 Thread Janne Grunau
The pm_domain cleanup can not be devres managed as it uses struct simplefb_par which is allocated within struct fb_info by framebuffer_alloc(). This allocation is explicitly freed by unregister_framebuffer() in simplefb_remove(). Devres managed cleanup runs after the device remove call and thus can

Re: [PATCH 1/2] nouveau: fix disabling the nonstall irq due to storm code. (v2)

2025-09-08 Thread M Henning
On Mon, Sep 1, 2025 at 4:52 PM Dave Airlie wrote: > > On Tue, 2 Sept 2025 at 04:18, M Henning wrote: > > Maybe we should also do this for older GPUs? eg. perhaps we should > > also update gf100_fifo_nonstall_allow / gf100_fifo_nonstall_block ? > > Those actually turn off the irq at the hardware,

[PATCH] drm/amdgpu: Replace kzalloc + copy_from_user with memdup_user

2025-09-08 Thread Thorsten Blum
Replace kzalloc() followed by copy_from_user() with memdup_user() to improve and simplify ta_if_load_debugfs_write() and ta_if_invoke_debugfs_write(). No functional changes intended. Signed-off-by: Thorsten Blum --- drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.c | 20 ++-- 1 file ch

Re: [PATCH v1 2/2] Drivers: hv: Make CONFIG_HYPERV bool

2025-09-08 Thread Mukesh R
On 9/6/25 04:36, Greg KH wrote: > On Fri, Sep 05, 2025 at 06:09:52PM -0700, Mukesh Rathor wrote: >> With CONFIG_HYPERV and CONFIG_HYPERV_VMBUS separated, change CONFIG_HYPERV >> to bool from tristate. CONFIG_HYPERV now becomes the core Hyper-V >> hypervisor support, such as hypercalls, clocks/timer

Re: [PATCH v2] drivers: gpu: drm: msm: registers: improve reproducibility

2025-09-08 Thread Dmitry Baryshkov
On Mon, Sep 08, 2025 at 12:59:37PM -0500, Ryan Eatmon wrote: > > > On 9/8/2025 9:19 AM, Rob Clark wrote: > > On Mon, Sep 8, 2025 at 6:39 AM Ryan Eatmon wrote: > > > > > > > > > > > > On 9/6/2025 6:24 PM, Rob Clark wrote: > > > > On Sat, May 24, 2025 at 10:15 AM Dmitry Baryshkov > > > > wrote

Re: [bug report] accel/amdxdna: Add ioctl DRM_IOCTL_AMDXDNA_GET_ARRAY

2025-09-08 Thread Lizhi Hou
On 9/8/25 13:13, Dan Carpenter wrote: On Mon, Sep 08, 2025 at 11:19:33AM -0700, Lizhi Hou wrote: On 9/7/25 23:40, Dan Carpenter wrote: Hello Lizhi Hou, Commit 2f509fe6a42c ("accel/amdxdna: Add ioctl DRM_IOCTL_AMDXDNA_GET_ARRAY") from Sep 2, 2025 (linux-next), leads to the following (UNPUBLIS

[PATCH V2] drm/bridge: ti-sn65dsi86: Add support for DisplayPort mode with HPD

2025-09-08 Thread John Ripple
Add support for DisplayPort to the bridge, which entails the following: - Get and use an interrupt for HPD; - Properly clear all status bits in the interrupt handler; Signed-off-by: John Ripple --- V1 -> V2: Cleaned up coding style and addressed review comments drivers/gpu/drm/bridge/ti-sn65dsi

Re: [PATCH v2 4/4] rust: Move register and bitstruct macros out of Nova

2025-09-08 Thread Joel Fernandes
On 9/8/2025 2:39 PM, Miguel Ojeda wrote: > On Mon, Sep 8, 2025 at 7:06 PM Joel Fernandes wrote: >> >> The issue I ran into is, without adding it to prelude, the users of register! >> macro will have to import both bitfield! and register! macros explictly, even >> though they're only using regis

[PATCH] accel/habanalabs: Replace kmalloc_array + copy_from_user with memdup_array_user

2025-09-08 Thread Thorsten Blum
Replace kmalloc_array() followed by copy_from_user() with memdup_array_user() to improve and simplify cs_ioctl_engine_cores(), cs_ioctl_engines(), and hl_multi_cs_wait_ioctl(). Remove the unused variable 'size_to_copy' from hl_multi_cs_wait_ioctl(). No functional changes intended. Signed-off-by:

[Bug 220553] Suspend to mem fails on rx5600xt (regression in 6.16.2)

2025-09-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=220553 rbmc...@gmail.com changed: What|Removed |Added Bisected commit-id||8345a71fc54b Kernel Version|

Re: [PATCH v4 29/58] docs/dyndbg: add classmap info to howto

2025-09-08 Thread jim . cromie
hi Louis, thx for the nudge. On Mon, Sep 8, 2025 at 8:38 AM Louis Chauvet wrote: > \ > > Le 03/08/2025 à 05:57, Jim Cromie a écrit : > > Describe the 3 API macros providing dynamic_debug's classmaps > > > > DYNDBG_CLASSMAP_DEFINE - create & export a classmap > > DYNDBG_CLASSMAP_USE- refer to

[Bug 220553] New: Suspend to mem fails on rx5600xt (regression in 6.16.2)

2025-09-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=220553 Bug ID: 220553 Summary: Suspend to mem fails on rx5600xt (regression in 6.16.2) Product: Drivers Version: 2.5 Hardware: AMD OS: Linux Status: NE

[PATCH drm-misc-next v2 1/1] drm/vmwgfx: add drm_panic support for stdu

2025-09-08 Thread Ryosuke Yasuoka
Add drm_panic module for vmwgfx stdu so that panic screen can be displayed on panic. Signed-off-by: Ryosuke Yasuoka --- drivers/gpu/drm/vmwgfx/vmwgfx_cmd.c | 73 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 18 +++ drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 9 drive

Re: [PATCH] drm/amd/display/dml2: Guard dml21_map_dc_state_into_dml_display_cfg with DC_FP_START

2025-09-08 Thread Alex Hung
On 8/25/25 02:52, Xi Ruoyao wrote: dml21_map_dc_state_into_dml_display_cfg calls (the call is usually inlined by the compiler) populate_dml21_surface_config_from_plane_state and populate_dml21_plane_config_from_plane_state which may use FPU. In a x86-64 build: $ objdump --disassemble=dm

[PATCH] drm/pixpaper: Fix return type of pixpaper_mode_valid()

2025-09-08 Thread Nathan Chancellor
tc, const struct drm_display_mode *mode) { if (mode->hdisplay == PIXPAPER_WIDTH && mode->vdisplay == PIXPAPER_HEIGHT) { --- base-commit: 490b30fbaca2abbd6afa8bdc7e2df329b5d82412 change-id: 20250908-drm-pixpaper-fix-mode_valid-return-type-4228e531193b Best regards, -- Nathan Chancellor

Re: [PATCH v3] drm/bridge: cdns-dsi: Replace deprecated UNIVERSAL_DEV_PM_OPS()

2025-09-08 Thread Francesco Dolcini
Hello all, On Fri, Aug 22, 2025 at 11:00:38AM +0200, Francesco Dolcini wrote: > On Fri, Aug 22, 2025 at 11:46:40AM +0300, Tomi Valkeinen wrote: > > On 22/08/2025 10:04, Francesco Dolcini wrote: > > > On Thu, May 22, 2025 at 12:09:08PM +0300, Tomi Valkeinen wrote: > > >> On 12/05/2025 11:32, Vitor

Re: [PATCH v2 4/4] rust: Move register and bitstruct macros out of Nova

2025-09-08 Thread Joel Fernandes
On Mon, Sep 08, 2025 at 12:52:57PM +0900, Alexandre Courbot wrote: > On Thu Sep 4, 2025 at 6:54 AM JST, Joel Fernandes wrote: > > Out of broad need for these macros in Rust, move them out. Several folks > > have shown interest (Nova, Tyr GPU drivers). > > > > bitstruct - defines bitfields in Rust s

Re: [bug report] accel/amdxdna: Add ioctl DRM_IOCTL_AMDXDNA_GET_ARRAY

2025-09-08 Thread Dan Carpenter
On Mon, Sep 08, 2025 at 11:19:33AM -0700, Lizhi Hou wrote: > > On 9/7/25 23:40, Dan Carpenter wrote: > > Hello Lizhi Hou, > > > > Commit 2f509fe6a42c ("accel/amdxdna: Add ioctl > > DRM_IOCTL_AMDXDNA_GET_ARRAY") from Sep 2, 2025 (linux-next), leads to > > the following (UNPUBLISHED) Smatch static

Re: [PATCH v1 05/14] sound: dt-bindings: Convert MediaTek RT5650 codecs bindings to YAML

2025-09-08 Thread Ariel D'Alessandro
Rob, On 8/22/25 12:14 PM, Rob Herring wrote: On Wed, Aug 20, 2025 at 02:12:53PM -0300, Ariel D'Alessandro wrote: Convert the existing text-based DT bindings for Mediatek MT8173 RT5650 codecs to a YAML schema. Signed-off-by: Ariel D'Alessandro --- .../sound/mediatek,mt8173-rt5650.yaml

Re: [PATCH v2 07/16] drm/msm/adreno: Add fenced regwrite support

2025-09-08 Thread Akhil P Oommen
On 9/8/2025 9:07 PM, Konrad Dybcio wrote: > On 9/8/25 10:27 AM, Akhil P Oommen wrote: >> There are some special registers which are accessible even when GX power >> domain is collapsed during an IFPC sleep. Accessing these registers >> wakes up GPU from power collapse and allow programming these re

Re: [PATCH 3/5] drm/panfrost: Introduce JM context for manging job resources

2025-09-08 Thread Adrián Larumbe
Hi Daniel, On 30.08.2025 10:12, Daniel Stone wrote: > Hi Adrian, > > On Thu, 28 Aug 2025 at 04:35, Adrián Larumbe > wrote: > > -void panfrost_job_close(struct panfrost_file_priv *panfrost_priv) > > +int panfrost_jm_ctx_destroy(struct drm_file *file, u32 handle) > > { > > - struct panfrost_

[PATCH v5 4/6] arm64: dts: qcom: lemans: Add GPU cooling

2025-09-08 Thread Akhil P Oommen
From: Gaurav Kohli Unlike the CPU, the GPU does not throttle its speed automatically when it reaches high temperatures. Set up GPU cooling by throttling the GPU speed when reaching 105°C. Signed-off-by: Gaurav Kohli Signed-off-by: Akhil P Oommen --- arch/arm64/boot/dts/qcom/lemans.dtsi | 55

[PATCH v5 6/6] arm64: dts: qcom: qcs9100-ride: Enable Adreno 663 GPU

2025-09-08 Thread Akhil P Oommen
Enable GPU on both qcs9100-ride platforms and provide the path for zap shader. Reviewed-by: Dmitry Baryshkov Signed-off-by: Akhil P Oommen --- arch/arm64/boot/dts/qcom/lemans-ride-common.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/lemans-ride-common

[PATCH v5 2/6] dt-bindings: nvmem: qfprom: Add sa8775p compatible

2025-09-08 Thread Akhil P Oommen
Document compatible string for the QFPROM on Lemans platform. Acked-by: Krzysztof Kozlowski Signed-off-by: Akhil P Oommen --- Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml b/

[PATCH v5 1/6] drm/msm/adreno: Add speedbins for A663 GPU

2025-09-08 Thread Akhil P Oommen
Add speedbin mappings for A663 GPU. Reviewed-by: Dmitry Baryshkov Signed-off-by: Akhil P Oommen --- drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/msm/adreno/a6xx_catalog.c b/drivers/gpu/drm/msm/adreno/a6xx_catalog.c index 00

[PATCH v5 0/6] DRM/MSM: Support for Adreno 663 GPU

2025-09-08 Thread Akhil P Oommen
This series adds support for Adreno 663 gpu found in SA8775P (Lemans) chipsets. The closest gpu which is currently supported in drm-msm is A660. Following are the major differences with that: 1. gmu/zap firmwares 2. Recommended to disable Level2 swizzling Verified kmscube/weston/gl

[PATCH v5 3/6] arm64: dts: qcom: sa8775p: Add gpu and gmu nodes

2025-09-08 Thread Akhil P Oommen
From: Puranam V G Tejaswi Add gpu and gmu nodes for sa8775p chipset. Also, add the speedbin qfprom node and wire it up with GPU node. Signed-off-by: Puranam V G Tejaswi Signed-off-by: Akhil P Oommen Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/lemans.dtsi | 119

Re: [PATCH i-g-t 4/4] tests/panthor: add panthor tests

2025-09-08 Thread Adrian Larumbe
Hi Daniel, On 28.08.2025 10:04, Daniel Almeida wrote: > Add an initial test suit covering query device properties, allocating > memory, binding and unbinding VA ranges through VM_BIND and submitting a > simple piece of work through GROUP_SUBMIT. > --- > lib/igt_panthor.c | 136 +++

[PATCH 5/5] drm/msm/registers: Sync GPU registers from mesa

2025-09-08 Thread Rob Clark
In particular, to pull in a SP_READ_SEL_LOCATION bitfield size fix to fix a7xx GPU snapshot. Sync from mesa commit 15ee3873aa4d ("freedreno/registers: Update GMU register xml"). Cc: Karmjit Mahil Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 8 +- drivers/gpu/d

[PATCH 4/5] drm/msm/registers: Generate _HI/LO builders for reg64

2025-09-08 Thread Rob Clark
The upstream mesa copy of the GPU regs has shifted more things to reg64 instead of seperate 32b HI/LO reg32's. This works better with the "new- style" c++ builders that mesa has been migrating to for a6xx+ (to better handle register shuffling between gens), but it leaves the C builders with missin

[PATCH 3/5] drm/msm/registers: Make TPL1_BICUBIC_WEIGHTS_TABLE an array

2025-09-08 Thread Rob Clark
Synced from mesa commit 77c42c1a5752 ("freedreno/registers: Make TPL1_BICUBIC_WEIGHTS_TABLE an array"). Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 10 +- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 10 +- drivers/gpu/drm/msm/registers/adreno/

[PATCH 2/5] drm/msm/registers: Sync gen_header.py from mesa

2025-09-08 Thread Rob Clark
Sync from mesa commit 04e2140d8be7 ("freedreno/registers: remove python 3.9 dependency for compiling msm"). Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/registers/gen_header.py | 157 +--- 1 file changed, 107 insertions(+), 50 deletions(-) diff --git a/drivers/gpu/drm/msm/re

[PATCH 1/5] drm/msm/registers: Remove license/etc from generated headers

2025-09-08 Thread Rob Clark
Since these generated files are no longer checked in, either in mesa or in the linux kernel, simplify things by dropping the verbose generated comment. These were semi-nerf'd on the kernel side, in the name of build reproducibility, by commit ba64c6737f86 ("drivers: gpu: drm: msm: registers: impro

[PATCH 0/5] drm/msm/registers: gen_header.py and regs sync

2025-09-08 Thread Rob Clark
Now that https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37216 has synced kernel side changes back to mesa, this completes the round trip by syncing mesa side changes back to the kernel. Rob Clark (5): drm/msm/registers: Remove license/etc from generated headers drm/msm/registers: Sy

[syzbot] [fbdev?] KASAN: vmalloc-out-of-bounds Write in imageblit (5)

2025-09-08 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:76eeb9b8de98 Linux 6.17-rc5 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1437956258 kernel config: https://syzkaller.appspot.com/x/.config?x=e0bea6c0b97a2002 dashboard link: https://syzkaller.ap

Re: [PATCH v2] drivers: gpu: drm: msm: registers: improve reproducibility

2025-09-08 Thread Rob Clark
On Mon, Sep 8, 2025 at 10:59 AM Ryan Eatmon wrote: > > > > On 9/8/2025 9:19 AM, Rob Clark wrote: > > On Mon, Sep 8, 2025 at 6:39 AM Ryan Eatmon wrote: > >> > >> > >> > >> On 9/6/2025 6:24 PM, Rob Clark wrote: > >>> On Sat, May 24, 2025 at 10:15 AM Dmitry Baryshkov > >>> wrote: > > On S

Re: [PATCH v3] drm/panel-edp: Add 4 more panels needed by mt8189 Chromebooks

2025-09-08 Thread Doug Anderson
Hi, On Sun, Sep 7, 2025 at 11:37 PM Zhongtian Wu wrote: > > Add a few generic edp panels used by mt8189 chromebooks. For > BOE-NV140WUM-N44 , the enable timing required 80ms. For > CSW-MNE007QB3-1, the hpd_absent timing rquired 80ms, the enable timing > required 50ms, the disable timing required

Re: [PATCH v4 1/3] rust: drm: gem: Simplify use of generics

2025-09-08 Thread Danilo Krummrich
On 9/8/25 8:46 PM, Lyude Paul wrote: > Now that my rust skills have been honed, I noticed that there's a lot of > generics in our gem bindings that don't actually need to be here. Currently > the hierarchy of traits in our gem bindings looks like this: > > * Drivers implement: > * BaseDri

Re: [PATCH v4 2/3] rust: drm: gem: Add DriverFile type alias

2025-09-08 Thread Danilo Krummrich
On 9/8/25 8:46 PM, Lyude Paul wrote: > Just to reduce the clutter with the File<…> types in gem.rs. > > Signed-off-by: Lyude Paul > Reviewed-by: Daniel Almeida Acked-by: Danilo Krummrich

Re: [PATCH v4 0/3] rust/drm: Misc. gem bindings cleanup

2025-09-08 Thread Alice Ryhl
On Mon, Sep 8, 2025 at 8:52 PM Lyude Paul wrote: > > This is the first few patches that were originally part of the series to > introduce gem shmem bindings for rust into the Linux kernel, which can > be found here: > > https://lkml.org/lkml/2025/8/29/1533 > > These patches don't have any dependen

[PATCH v4 3/3] rust: drm: gem: Drop Object::SIZE

2025-09-08 Thread Lyude Paul
Drive-by fix, it doesn't seem like anything actually uses this constant anymore. Signed-off-by: Lyude Paul Reviewed-by: Danilo Krummrich Reviewed-by: Daniel Almeida --- rust/kernel/drm/gem/mod.rs | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rust/kernel/drm/gem/mod.rs

[PATCH v4 1/3] rust: drm: gem: Simplify use of generics

2025-09-08 Thread Lyude Paul
Now that my rust skills have been honed, I noticed that there's a lot of generics in our gem bindings that don't actually need to be here. Currently the hierarchy of traits in our gem bindings looks like this: * Drivers implement: * BaseDriverObject (has the callbacks) * DriverObject (ha

[PATCH v4 0/3] rust/drm: Misc. gem bindings cleanup

2025-09-08 Thread Lyude Paul
This is the first few patches that were originally part of the series to introduce gem shmem bindings for rust into the Linux kernel, which can be found here: https://lkml.org/lkml/2025/8/29/1533 These patches don't have any dependencies besides needing to be applied on top of drm-rust-next. Lyu

Re: [PATCH] drm/xe/hwmon: Use devm_mutex_init()

2025-09-08 Thread Summers, Stuart
On Sun, 2025-09-07 at 15:42 +0200, Christophe JAILLET wrote: > Use devm_mutex_init() instead of hand-writing it. > > This saves some LoC, improves readability and saves some space in the > generated .o file. > > Before: > == >    text    data bss dec hex filename >   36884   10296

Re: [PATCH v5 2/6] ACPI: processor: thermal: Use scope-based cleanup helper

2025-09-08 Thread Zihuan Zhang
在 2025/9/6 04:17, Rafael J. Wysocki 写道: On Fri, Sep 5, 2025 at 3:24 PM Zihuan Zhang wrote: Replace the manual cpufreq_cpu_put() with __free(put_cpufreq_policy) annotation for policy references. This reduces the risk of reference counting mistakes and aligns the code with the latest kernel sty

Re: [PATCH v3 1/4] dt-bindings: leds: add generic LED consumer documentation

2025-09-08 Thread Rob Herring (Arm)
s/leds/leds-consumer.example.dtb: camera@36 (ovti,ov02c10): Unevaluated properties are not allowed ('led-names', 'leds' were unexpected) from schema $id: http://devicetree.org/schemas/media/i2c/ovti,ov02e10.yaml# doc reference errors (make refcheckdocs): See

[PATCH v2 0/3] drm/panic: Add kunit tests for drm_panic

2025-09-08 Thread Jocelyn Falempe
This series adds some kunit tests to drm_panic, and a debugfs interface to easily test the panic screen rendering at different resolutions/pixel format. The kunit tests draws the panic screens to different framebuffer size and format, and ensure it doesn't crash or draw outside of the buffer. Ho

Re: [PATCH v3 2/4] dt-bindings: leds: commonize leds property

2025-09-08 Thread Konrad Dybcio
On 9/8/25 9:33 AM, Hans de Goede wrote: > Hi, > > On 8-Sep-25 09:20, Konrad Dybcio wrote: >> On 9/8/25 1:18 AM, Aleksandrs Vinarskis wrote: >>> A number of existing schemas use 'leds' property to provide >>> phandle-array of LED(s) to the consumer. Additionally, with the >>> upcoming privacy-led s

Re: [PATCH v3 2/5] drm/bridge: simple: add Realtek RTD2171 DP-to-HDMI bridge

2025-09-08 Thread Dmitry Baryshkov
On Mon, Sep 08, 2025 at 03:35:23PM +0200, Maud Spierings wrote: > Hello Neil, > > > Add support for the transparent Realtek RTD2171 DP-to-HDMI bridge. > > > > Reviewed-by: Dmitry Baryshkov > > Signed-off-by: Neil Armstrong > > --- > > drivers/gpu/drm/bridge/simple-bridge.c | 5 + > > 1 fil

Re: [PATCH] drm/tidss: Update Videoport SYNC LOST IRQ bit

2025-09-08 Thread Swamil Jain
Hi Harikrishna, Thanks for the patch. On 9/3/25 15:39, Harikrishna Shenoy wrote: Update VP SYNC LOST Bit as per register description for DSS0_COMMON_VP_IRQENABLE_0 give in TRM. Link:https://www.ti.com/lit/zip/spruil1/SPRUIL_DRA829_TDA4VM Broken link, please add a working link. Please add link

Re: [PATCH RFC 05/10] mailbox: add MediaTek GPUEB IPI mailbox

2025-09-08 Thread AngeloGioacchino Del Regno
Il 08/09/25 14:05, Nicolas Frattaroli ha scritto: On Monday, 8 September 2025 12:06:01 Central European Summer Time AngeloGioacchino Del Regno wrote: Il 05/09/25 12:23, Nicolas Frattaroli ha scritto: The MT8196 SoC uses an embedded MCU to control frequencies and power of the GPU. This controll

[PATCH v2 08/16] drm/msm/a6xx: Set Keep-alive votes to block IFPC

2025-09-08 Thread Akhil P Oommen
Set Keepalive votes at appropriate places to block IFPC power collapse until we access all the required registers. This is required during gpu IRQ handling and also during preemption. Signed-off-by: Akhil P Oommen --- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 26 +- dri

Re: [PATCH] drm/tidss: Update Videoport SYNC LOST IRQ bit

2025-09-08 Thread Tomi Valkeinen
Hi, On 03/09/2025 13:09, Harikrishna Shenoy wrote: > Update VP SYNC LOST Bit as per register description for > DSS0_COMMON_VP_IRQENABLE_0 give in TRM. You need to explain what issue is this bug causing, and how does the behavior change here. Tomi > Link:https://www.ti.com/lit/zip/spruil1/SPRUI

Re: [PATCH 1/2] drm/amd/display: Optimize reserved time candidates sorting using standard sort()

2025-09-08 Thread Alex Hung
On 8/24/25 12:23, Kuan-Wei Chiu wrote: Replace the custom bubble sort used for sorting reserved time candidates in with the kernel's standard sort() helper. The previous code had O(N^2) time complexity, while the generic kernel sort runs in O(N log N). This improves efficiency and removes the

Re: [bug report] accel/amdxdna: Add ioctl DRM_IOCTL_AMDXDNA_GET_ARRAY

2025-09-08 Thread Lizhi Hou
On 9/7/25 23:40, Dan Carpenter wrote: Hello Lizhi Hou, Commit 2f509fe6a42c ("accel/amdxdna: Add ioctl DRM_IOCTL_AMDXDNA_GET_ARRAY") from Sep 2, 2025 (linux-next), leads to the following (UNPUBLISHED) Smatch static checker warning: drivers/accel/amdxdna/aie2_pci.c:904 aie2_query_ctx_st

Re: evergreen_packet3_check:... radeon 0000:1d:00.0: vbo resource seems too big for the bo

2025-09-08 Thread Borislav Petkov
On Mon, Sep 08, 2025 at 07:05:17PM +0200, Michel Dänzer wrote: > These messages are primarily intended for developers, not users But everybody sees them! And they're flooding the console. And most people seeing them are users, not developers. And if those messages are only for developers, they b

Re: [PATCH 2/2] drm/amd/display: Optimize remove_duplicates() from O(N^2) to O(N)

2025-09-08 Thread Aurabindo Pillai
On 9/8/25 1:10 PM, Alex Hung wrote: On 8/24/25 12:23, Kuan-Wei Chiu wrote: Replace the previous O(N^2) implementation of remove_duplicates() in with a O(N) version using a fast/slow pointer approach. The new version keeps only the first occurrence of each element and compacts the array in p

Re: [PATCH v5 2/6] ACPI: processor: thermal: Use scope-based cleanup helper

2025-09-08 Thread Rafael J. Wysocki
On Fri, Sep 5, 2025 at 3:24 PM Zihuan Zhang wrote: > > Replace the manual cpufreq_cpu_put() with __free(put_cpufreq_policy) > annotation for policy references. This reduces the risk of reference > counting mistakes and aligns the code with the latest kernel style. > > No functional change intended

Re: [PATCH v5 2/6] ACPI: processor: thermal: Use scope-based cleanup helper

2025-09-08 Thread Rafael J. Wysocki
On Mon, Sep 8, 2025 at 11:16 AM Zihuan Zhang wrote: > > > 在 2025/9/6 04:17, Rafael J. Wysocki 写道: > > On Fri, Sep 5, 2025 at 3:24 PM Zihuan Zhang wrote: > >> Replace the manual cpufreq_cpu_put() with __free(put_cpufreq_policy) > >> annotation for policy references. This reduces the risk of refere

Re: [PATCH v3 04/14] rust: drm: gem: Support driver-private GEM object types

2025-09-08 Thread Lyude Paul
On Thu, 2025-09-04 at 09:51 -0300, Daniel Almeida wrote: > > -    gem_create_object: T::Object::ALLOC_OPS.gem_create_object, > > -    prime_handle_to_fd: T::Object::ALLOC_OPS.prime_handle_to_fd, > > -    prime_fd_to_handle: T::Object::ALLOC_OPS.prime_fd_to_handle, > > -    gem_prime

Re: [PATCH RFC 05/35] wireguard: selftests: remove CONFIG_SPARSEMEM_VMEMMAP=y from qemu kernel config

2025-09-08 Thread Jason A. Donenfeld
Applied, thanks.

Re: [PATCH] gpu: drm: bridge: anx7625: Fix NULL pointer dereference with early IRQ

2025-09-08 Thread Dmitry Baryshkov
On Wed, Jul 09, 2025 at 10:54:38AM +0200, Loic Poulain wrote: > If the interrupt occurs before resource initialization is complete, the > interrupt handler/worker may access uninitialized data such as the I2C > tcpc_client device, potentially leading to NULL pointer dereference. > > Signed-off-by:

Re: [PATCH v2 1/4] nova-core: bitstruct: Move bitfield-specific code from register! into new macro

2025-09-08 Thread Joel Fernandes
Hi Alex, On 9/7/2025 11:12 PM, Alexandre Courbot wrote: > On Thu Sep 4, 2025 at 6:54 AM JST, Joel Fernandes wrote: >> The bitfield-specific into new macro. This will be used to define >> structs with bitfields, similar to C language. >> >> Signed-off-by: Joel Fernandes >> --- >> drivers/gpu/nova

Re: [PATCH v2 00/16] drm/msm: Support for Inter Frame Power Collapse (IFPC) feature

2025-09-08 Thread Neil Armstrong
On 08/09/2025 10:26, Akhil P Oommen wrote: This patch series introduces the IFPC feature to the DRM-MSM driver for Adreno GPUs. IFPC enables GMU to quickly transition GPU into a low power state when idle and quickly resume gpu to active state upon workload submission, hence the name 'Inter Frame

Re: [PATCH 2/2] drm/amd/display: Optimize remove_duplicates() from O(N^2) to O(N)

2025-09-08 Thread Alex Hung
On 8/24/25 12:23, Kuan-Wei Chiu wrote: Replace the previous O(N^2) implementation of remove_duplicates() in with a O(N) version using a fast/slow pointer approach. The new version keeps only the first occurrence of each element and compacts the array in place, improving efficiency without chan

Re: [PATCH v2 4/4] rust: Move register and bitstruct macros out of Nova

2025-09-08 Thread Joel Fernandes
On 9/7/2025 2:14 PM, Miguel Ojeda wrote: > Hi Joel, > > I didn't check the macros, but a couple nits I noticed in this patch > in particular given it moved it to `kernel`... > > On Wed, Sep 3, 2025 at 11:54 PM Joel Fernandes wrote: >> >> +//! A library that provides support for defining bit f

Re: evergreen_packet3_check:... radeon 0000:1d:00.0: vbo resource seems too big for the bo

2025-09-08 Thread Michel Dänzer
On 01.09.25 12:10, Borislav Petkov wrote: > On Mon, Sep 01, 2025 at 11:27:01AM +0200, Michel Dänzer wrote: >> use some kind of debug output API which doesn't hit dmesg by default > > You still want to be enabled by default so that normal users can see it and > actually report it. These messages a

  1   2   >