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

2025-09-12 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 V2 -> V3: - Removed unused HPD IRQs

[PATCH 0/2] Enable OLDI support on AM62X

2025-09-12 Thread Swamil Jain
The AM62x SoC features 2 OLDI TXes each, which makes it possible to connect them in dual-link or cloned single-link OLDI display modes. This series enables OLDI support on AM62X[1]. [1]: https://www.ti.com/product/AM625 Aradhya Bhatia (2): arm64: dts: ti: k3-am62: Add support for AM625 OLDI IO

[PATCH 1/2] arm64: dts: ti: k3-am62: Add support for AM625 OLDI IO Control

2025-09-12 Thread Swamil Jain
From: Aradhya Bhatia Add TI DSS OLDI-IO control registers for AM625 DSS. This is a region of 12 32bit registers found in the TI AM625 CTRL_MMR0 register space[0]. They are used to control the characteristics of the OLDI DATA/CLK IO as needed by the DSS display controller node. [0]: https://www.t

[PATCH] drm/amd/display: Use kmalloc_array() instead of kmalloc()

2025-09-12 Thread James Flowers
Documentation/process/deprecated.rst recommends against the use of kmalloc with dynamic size calculations due to the risk of overflow and smaller allocation being made than the caller was expecting. This could lead to buffer overflow in code similar to the memcpy in amdgpu_dm_plane_add_modifier().

Re: [PATCH] Revert "drm: Add directive to format code in comment"

2025-09-12 Thread Danilo Krummrich
On 9/12/25 3:06 PM, Bagas Sanjaya wrote: > Commit 6cc44e9618f03f ("drm: Add directive to format code in comment") > fixes original Sphinx indentation warning as introduced in > 471920ce25d50b ("drm/gpuvm: Add locking helpers"), by means of using > code-block:: directive. It semantically conflicts w

[PATCH v3 1/4] drm/panfrost: Introduce uAPI for JM context creation

2025-09-12 Thread Adrián Larumbe
From: Boris Brezillon The new uAPI lets user space query the KM driver for the available priorities a job can be given at submit time. These are managed through the notion of a context, for which we also provide new creation and destruction ioctls. Reviewed-by: Steven Price Signed-off-by: Boris

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

2025-09-12 Thread Dmitry Baryshkov
On Tue, Sep 09, 2025 at 09:21:33AM +0200, Neil Armstrong wrote: > On 08/09/2025 23:24, Dmitry Baryshkov wrote: > > 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

Re: drm/etnaviv: detecting disabled Vivante GPU?

2025-09-12 Thread Lucas Stach
Hi Andre, Am Donnerstag, dem 04.09.2025 um 00:29 +0100 schrieb Andre Przywara: > Hi, > > the Allwinner A523/A527/T527 family of SoCs feature a Vivante > "VIP9000"(?) NPU, though it seems to be disabled on many SKUs. > See https://linux-sunxi.org/A523#Family_of_sun55iw3 for a table, the > row labe

[PATCH v4 02/13] phy: qcom: qmp-usbc: Rename USB-specific ops to prepare for DP support

2025-09-12 Thread Xiangxu Yin
To support following DisplayPort (DP) mode over the Type-C PHY, rename USB-specific functions and ops to clearly separate them from common or DP-related logic. This is a preparatory cleanup to enable USB + DP dual mode. Reviewed-by: Dmitry Baryshkov Signed-off-by: Xiangxu Yin --- drivers/phy/q

[PATCH v12 3/9] tee: implement protected DMA-heap

2025-09-12 Thread Jens Wiklander
Implement DMA heap for protected DMA-buf allocation in the TEE subsystem. Protected memory refers to memory buffers behind a hardware enforced firewall. It is not accessible to the kernel during normal circumstances but rather only accessible to certain hardware IPs or CPUs executing in higher or

Re: [PATCH v3 2/2] drm/amd/display: change dc stream color settings only in atomic commit

2025-09-12 Thread Harry Wentland
On 2025-09-11 13:21, Melissa Wen wrote: > Don't update DC stream color components during atomic check. The driver > will continue validating the new CRTC color state but will not change DC > stream color components. The DC stream color state will only be > programmed at commit time in the `atomi

Re: [PATCH 22/38] arm64: dts: mediatek: Fix node name for SYSIRQ controller on all SoCs

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:38, AngeloGioacchino Del Regno wrote: The sysirq has "intpol-controller" as node name, but being this an interrupt controller, it needs to be named "interrupt-controller" as per what the bindings (correctly) expect. This commit brings no functional changes, but fixes a dtbs_c

Re: [PATCH v5 02/12] gpu: nova-core: move GSP boot code to a dedicated method

2025-09-12 Thread Joel Fernandes
On Thu, Sep 11, 2025 at 10:26:08PM +0900, Alexandre Courbot wrote: > On Thu Sep 11, 2025 at 9:46 PM JST, Danilo Krummrich wrote: [..] > >> By keeping the initialization in the GPU, we can keep the GSP object > >> architecture-independent, and I think it makes sense from a design point > >> of view

Re: [PATCH v2 2/2] panthor: use drm_gpuva_unlink_defer()

2025-09-12 Thread Boris Brezillon
On Tue, 09 Sep 2025 13:36:23 + Alice Ryhl wrote: > Instead of manually deferring cleanup of vm_bos, use the new GPUVM > infrastructure for doing so. > > To avoid manual management of vm_bo refcounts, the panthor_vma_link() > and panthor_vma_unlink() methods are changed to get and put a vm_bo

[PATCH v2 1/2] dt-bindings: gpu: mali-valhall-csf: add MediaTek MT8196 compatible

2025-09-12 Thread Chia-I Wu
MediaTek MT8196 has Mali-G925-Immortalis GPU. panthor drm driver gained support for it recently. Signed-off-by: Chia-I Wu --- v2: update commit message --- Documentation/devicetree/bindings/gpu/arm,mali-valhall-csf.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetre

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

2025-09-12 Thread John Ripple
Hi, >As I said, maybe the problem is fixed now, but at the same time there >is something nice about the interrupt type only being specified in one >place. ...and IIRC the device tree validator gets upset if you don't >specify the interrupt type there, so removing it from the source code >seems ni

Re: [v5 01/15] mm/zone_device: support large zone device private folios

2025-09-12 Thread Balbir Singh
On 9/12/25 19:20, David Hildenbrand wrote: > On 12.09.25 06:49, Balbir Singh wrote: >> On 9/11/25 22:52, David Hildenbrand wrote: >>> On 11.09.25 14:49, Balbir Singh wrote: On 9/11/25 21:45, David Hildenbrand wrote: > On 08.09.25 02:04, Balbir Singh wrote: >> Add routines to support al

Re: [PATCH v2 09/10] drm/panthor: devfreq: add pluggable devfreq providers

2025-09-12 Thread Chia-I Wu
On Fri, Sep 12, 2025 at 11:38 AM Nicolas Frattaroli wrote: > diff --git a/drivers/gpu/drm/panthor/panthor_devfreq.h > b/drivers/gpu/drm/panthor/panthor_devfreq.h > index > a891cb5fdc34636444f141e10f5d45828fc35b51..94c9768d5d038c4ba8516929edb565a1f13443fb > 100644 > --- a/drivers/gpu/drm/pantho

Re: [PATCH v4 3/3] rust: Add dma_buf stub bindings

2025-09-12 Thread Lyude Paul
Agh! Sorry for the spam, I should have double checked the code before writing this as I realized the reason I didn't implement this. Correct me if I'm wrong here since it's the first time I've interacted very much with this API in the kernel but: it seems like the reference counting for dma_buf obj

Re: [PATCH v5 11/14] drm/amd/display: create a function to fill dc_sink with edid data

2025-09-12 Thread Melissa Wen
On 10/09/2025 16:54, Harry Wentland wrote: On 2025-06-18 11:19, Melissa Wen wrote: From: Rodrigo Siqueira As part of the effort of stopping using raw edid, this commit move the copy of the edid in DC to a dedicated function that will allow the usage of drm_edid in the next steps. Signed-o

Re: [PATCH v2 05/12] dt-bindings: display: mediatek,od: Add mediatek,gce-client-reg property

2025-09-12 Thread Rob Herring (Arm)
On Thu, 11 Sep 2025 12:09:54 -0300, Ariel D'Alessandro wrote: > Currently, users of Mediatek OD (display overdrive) DT bindings set > mediatek,gce-client-reg node property, which is missing from the DT schema. > > For example, device tree arch/arm64/boot/dts/mediatek/mt8173.dtsi is > causing the

Re: [PATCH 1/1] dt-bindings: display: bridge: convert megachips-stdpxxxx-ge-b850v3-fw.txt to yaml

2025-09-12 Thread Rob Herring
On Fri, Sep 12, 2025 at 02:14:18PM -0400, Frank Li wrote: > Convert megachips-stdp-ge-b850v3-fw.txt to yaml format. > > Additional changes: > - Only keep one example. > > Signed-off-by: Frank Li > --- > .../megachips,stdp2690-ge-b850v3-fw.yaml | 105 ++ > .../megachips-

Re: [PATCH v4 3/3] rust: Add dma_buf stub bindings

2025-09-12 Thread Lyude Paul
…though, I just realized immediately after sending that response to you that I mentioned that this type is reference counted in the commit message - but I never actually added an implementation for AlwaysRefCounted. So, that's at least one additional thing I will make sure to add. Similarly though,

Re: [PATCH v4 3/3] rust: Add dma_buf stub bindings

2025-09-12 Thread Lyude Paul
On Fri, 2025-09-12 at 10:25 +0200, Christian König wrote: > On 12.09.25 00:57, Lyude Paul wrote: > > In order to implement the gem export callback, we need a type to represent > > struct dma_buf. So - this commit introduces a set of stub bindings for > > dma_buf. These bindings provide a ref-counte

Re: [PATCH] Revert "drm: Add directive to format code in comment"

2025-09-12 Thread Bagas Sanjaya
On 9/13/25 04:27, Danilo Krummrich wrote: On 9/12/25 3:06 PM, Bagas Sanjaya wrote: Commit 6cc44e9618f03f ("drm: Add directive to format code in comment") fixes original Sphinx indentation warning as introduced in 471920ce25d50b ("drm/gpuvm: Add locking helpers"), by means of using code-block:: d

[syzbot] Monthly fbdev report (Sep 2025)

2025-09-12 Thread syzbot
Hello fbdev maintainers/developers, This is a 31-day syzbot report for the fbdev subsystem. All related reports/information can be found at: https://syzkaller.appspot.com/upstream/s/fbdev During the period, 2 new issues were detected and 0 were fixed. In total, 6 issues are still open and 27 have

Re: [PATCH 10/37] dt-bindings: i2c: apple,i2c: Add apple,t6020-i2c compatible

2025-09-12 Thread Wolfram Sang
On Thu, Aug 28, 2025 at 04:01:29PM +0200, Janne Grunau wrote: > After discussion with the devicetree maintainers we agreed to not extend > lists with the generic compatible "apple,i2c" anymore [1]. Use > "apple,t8103-i2c" as fallback compatible as it is the SoC the driver > and bindings were writte

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

2025-09-12 Thread Doug Anderson
Hi, On Fri, Sep 12, 2025 at 12:25 PM John Ripple wrote: > > @@ -153,6 +164,8 @@ > * @ln_polrs: Value for the 4-bit LN_POLRS field of SN_ENH_FRAME_REG. > * @comms_enabled: If true then communication over the aux channel is > enabled. > * @comms_mutex: Protects modification of comms_en

Re: [PATCH 5/8] drm: Pass supported color formats straight onto drm_bridge

2025-09-12 Thread Dmitry Baryshkov
On Fri, Sep 12, 2025 at 09:57:47PM +0300, Marius Vlad wrote: > On Fri, Sep 12, 2025 at 05:31:17PM +0200, Maxime Ripard wrote: > > Hi, > > > > On Thu, Sep 11, 2025 at 08:34:48PM +0300, Marius Vlad wrote: > > > > > diff --git a/drivers/gpu/drm/msm/dsi/dsi_manager.c > > > > > b/drivers/gpu/drm/msm/d

Re: [PATCH] Revert "drm: Add directive to format code in comment"

2025-09-12 Thread Randy Dunlap
On 9/12/25 6:06 AM, Bagas Sanjaya wrote: > Commit 6cc44e9618f03f ("drm: Add directive to format code in comment") > fixes original Sphinx indentation warning as introduced in > 471920ce25d50b ("drm/gpuvm: Add locking helpers"), by means of using > code-block:: directive. It semantically conflict

Re: [PATCH 32/38] arm64: dts: mediatek: mt8183: Migrate to display controller OF graph

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:39, AngeloGioacchino Del Regno wrote: The display related IPs in MT8183 are flexible and support being interconnected with different instances of DDP IPs forming a full Display Data Path that ends with an actual display output, which is board specific. Add a common graph in t

[PATCH v2 0/2] Remove hard coded values for MIPI-DSI

2025-09-12 Thread Chris Brandt
When the initial drivers were submitted, some of the timing was hard coded and did not allow for any MIPI-DSI panel to be attached. In general, panels or bridges can only be supported if MIPI-DSI lanes were 4. If the number of lanes were 3,2,1, the math no longer works out. A new API was created f

Re: [PATCH][next] drm/xe/guc: Fix spelling mistake "sheduling" -> "scheduling"

2025-09-12 Thread Michal Wajdeczko
On 9/12/2025 9:43 AM, Colin Ian King wrote: > There is a spelling mistake in a xe_gt_err error message. Fix it. > > Signed-off-by: Colin Ian King Reviewed-by: Michal Wajdeczko

Re: [PATCH 30/38] arm64: dts: mediatek: pumpkin-common: Fix pinctrl node names

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:39, AngeloGioacchino Del Regno wrote: Fix the pinctrl node names to adhere to the bindings, as the main pin node is supposed to be named like "uart0-pins" and the pinmux node named like "pins-bus". Signed-off-by: AngeloGioacchino Del Regno Applied, thanks --- .../boot

Re: [PATCH 34/38] arm64: dts: mediatek: mt8195: Fix ranges for jpeg enc/decoder nodes

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:39, AngeloGioacchino Del Regno wrote: The jpeg decoder main node is under the soc bus but currently has no ranges or reg specified, while the children do, and this is wrong in multiple aspects. The very same is also valid for the jpeg encoder node. Rename the decoder and enc

Re: [PATCH v4 04/13] phy: qcom: qmp-usbc: Add QCS615 DP PHY configuration and init data

2025-09-12 Thread Xiangxu Yin
On 9/12/2025 4:46 PM, Konrad Dybcio wrote: > On 9/12/25 4:15 AM, Xiangxu Yin wrote: >> On 9/12/2025 9:24 AM, Dmitry Baryshkov wrote: >>> On Thu, Sep 11, 2025 at 10:55:01PM +0800, Xiangxu Yin wrote: Introduce QCS615 hardware-specific configuration for DP PHY mode, including register offs

Re: [PATCH 2/8] hdmi: Add HDMI_COLORSPACE_AUTO enum option

2025-09-12 Thread Marius Vlad
On Fri, Sep 12, 2025 at 05:17:56PM +0200, Maxime Ripard wrote: > Hi, Hi Maxime, > > On Thu, Sep 11, 2025 at 04:07:33PM +0300, Marius Vlad wrote: > > diff --git a/drivers/video/hdmi.c b/drivers/video/hdmi.c > > index 45b42f14a750..74fe925c69a2 100644 > > --- a/drivers/video/hdmi.c > > +++ b/drivers

Re: [PATCH 20/37] dt-bindings: pwm: apple,s5l-fpwm: Add t6020-fpwm compatible

2025-09-12 Thread Uwe Kleine-König
Hello, On Thu, Aug 28, 2025 at 04:01:39PM +0200, Janne Grunau wrote: > The PWM controller on Apple's M2 Pro/Max SoCs behaves in the same way as > on previous M1 and M2 SoCs. Add its per SoC compatible. > > At the same time fix the order of existing entries. The sort order logic > is having SoC nu

Re: [PATCH][next] drm/xe/guc: Fix spelling mistake "sheduling" -> "scheduling"

2025-09-12 Thread Lucas De Marchi
On Fri, 12 Sep 2025 08:43:30 +0100, Colin Ian King wrote: > There is a spelling mistake in a xe_gt_err error message. Fix it. > > Merged to drm-xe-next, thanks! [1/1] drm/xe/guc: Fix spelling mistake "sheduling" -> "scheduling" commit: 9e0b0fd5311ef68638abcd05306233b367c6b407 -- Lucas De

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

2025-09-12 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 V2 -> V3: - Removed unused HPD IRQs

Re: [PATCH 5/8] drm: Pass supported color formats straight onto drm_bridge

2025-09-12 Thread Marius Vlad
On Fri, Sep 12, 2025 at 05:31:17PM +0200, Maxime Ripard wrote: > Hi, > > On Thu, Sep 11, 2025 at 08:34:48PM +0300, Marius Vlad wrote: > > > > diff --git a/drivers/gpu/drm/msm/dsi/dsi_manager.c > > > > b/drivers/gpu/drm/msm/dsi/dsi_manager.c > > > > index ca400924d4ee..4b87f4f78d38 100644 > > > >

Re: [PATCH 4/8] drm: Add enum conversion from/to HDMI_COLORSPACE to DRM_COLOR_FORMAT

2025-09-12 Thread Maxime Ripard
On Thu, Sep 11, 2025 at 04:07:35PM +0300, Marius Vlad wrote: > This would please the compiler to have a enum transformation from one to > another even though the values are the same. It should also make things > obvious that we use different enums. > > Signed-off-by: Marius Vlad > --- > .../gpu/

[PATCH 1/1] dt-bindings: display: simple: Add innolux, n133hse-ea1 and nlt, nl12880bc20-spwg-24

2025-09-12 Thread Frank Li
Add innolux,n133hse-ea1 13.3" TFT LCD panel and nlt,nl12880bc20-spwg-24 12.1" WXGA (1280 x 800) LVDS TFT LCD panel. Signed-off-by: Frank Li --- .../devicetree/bindings/display/panel/panel-simple.yaml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/

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

2025-09-12 Thread Nicolas Frattaroli
The MT8196 SoC uses an embedded MCU to control frequencies and power of the GPU. This controller is referred to as "GPUEB". It communicates to the application processor, among other ways, through a mailbox. The mailbox exposes one interrupt, which appears to only be fired when a response is recei

[PATCH v2 09/10] drm/panthor: devfreq: add pluggable devfreq providers

2025-09-12 Thread Nicolas Frattaroli
On some devices, devfreq is not controlled directly by DT OPPs and the common clock framework, but through an external devfreq driver. To permit this type of usage, add the concept of devfreq providers. Devfreq providers for panthor register themselves with panthor as a provider. panthor then gets

[PATCH v2 02/10] dt-bindings: devfreq: add mt8196-gpufreq binding

2025-09-12 Thread Nicolas Frattaroli
On the MediaTek MT8196 SoC, the GPU has its power and frequency dynamically controlled by an embedded special-purpose MCU. This MCU is in charge of powering up the GPU silicon. It also provides us with a list of available OPPs at runtime, and is fully in control of all the regulator and clock fiddl

[PATCH v2 04/10] dt-bindings: mailbox: Add MT8196 GPUEB Mailbox

2025-09-12 Thread Nicolas Frattaroli
The MediaTek MT8196 SoC includes an embedded MCU referred to as "GPUEB", acting as glue logic to control power and frequency of the Mali GPU. This MCU runs special-purpose firmware for this use, and the main application processor communicates with it through a mailbox. Add a binding that describes

[PATCH v2 06/10] drm/panthor: call into devfreq for current frequency

2025-09-12 Thread Nicolas Frattaroli
As it stands, panthor keeps a cached current frequency value for when it wants to retrieve it. This doesn't work well for when things might switch frequency without panthor's knowledge. Instead, implement the get_cur_freq operation, and expose it through a helper function to the rest of panthor.

[PATCH v2 01/10] dt-bindings: gpu: mali-valhall-csf: add mediatek,mt8196-mali variant

2025-09-12 Thread Nicolas Frattaroli
The Mali-based GPU on the MediaTek MT8196 SoC uses a separate MCU to control the power and frequency of the GPU. It lets us omit the OPP tables from the device tree, as those can now be enumerated at runtime from the MCU. Add the mediatek,mt8196-mali compatible, and a performance-domains property

[PATCH 1/1] dt-bindings: display: bridge: convert megachips-stdpxxxx-ge-b850v3-fw.txt to yaml

2025-09-12 Thread Frank Li
Convert megachips-stdp-ge-b850v3-fw.txt to yaml format. Additional changes: - Only keep one example. Signed-off-by: Frank Li --- .../megachips,stdp2690-ge-b850v3-fw.yaml | 105 ++ .../megachips-stdp-ge-b850v3-fw.txt | 91 --- 2 files changed, 105

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

2025-09-12 Thread Mukesh R
On 9/12/25 04:43, Greg KH wrote: > 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 trista

Re: [PATCH v4 11/13] phy: qcom: qmp-usbc: Add USB/DP mutex handling

2025-09-12 Thread Dmitry Baryshkov
On Fri, Sep 12, 2025 at 08:03:01PM +0800, Xiangxu Yin wrote: > > On 9/12/2025 6:32 PM, Dmitry Baryshkov wrote: > > On Thu, Sep 11, 2025 at 10:55:08PM +0800, Xiangxu Yin wrote: > >> Introduce mutual exclusion between USB and DP PHY modes to prevent > >> simultaneous activation. > > Describe the pro

Re: [PATCH v2 2/4] drm/panfrost: Introduce JM contexts for manging job resources

2025-09-12 Thread Adrián Larumbe
On 11.09.2025 10:30, Steven Price wrote: > On 10/09/2025 17:50, Boris Brezillon wrote: > > On Wed, 10 Sep 2025 16:56:43 +0100 > > Steven Price wrote: > > > >> On 10/09/2025 16:52, Boris Brezillon wrote: > >>> On Wed, 10 Sep 2025 16:42:32 +0100 > >>> Steven Price wrote: > >>> > > +int panfrost

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

2025-09-12 Thread Chia-I Wu
On Fri, Sep 12, 2025 at 3:59 AM Nicolas Frattaroli wrote: > > On Friday, 12 September 2025 06:48:17 Central European Summer Time Chia-I Wu > wrote: > > On Fri, Sep 5, 2025 at 3:24 AM Nicolas Frattaroli > > wrote: > > > > > > The MT8196 SoC uses an embedded MCU to control frequencies and power of

Re: [PATCH 3/4] ARM: dts: sti: extract display subsystem out of soc

2025-09-12 Thread Alain Volmat
Hi Raphael, thanks for this patch. On Thu, Jul 17, 2025 at 09:15:34PM +0200, Raphael Gallais-Pou wrote: > The display subsystem represent how IPs are interacting together and > have nothing to do within the SoC node. > > Extract it from the SoC node and let IPs nodes in the Soc node. > > Severa

Re: [PATCH v4 07/13] phy: qcom: qmp-usbc: Add DP PHY configuration support for QCS615

2025-09-12 Thread Dmitry Baryshkov
On Thu, Sep 11, 2025 at 10:55:04PM +0800, Xiangxu Yin wrote: > Introduce DisplayPort PHY configuration routines for QCS615, including > aux channel setup, lane control, voltage swing tuning, clock config and > calibration. These callbacks are registered via qmp_phy_cfg to enable DP > mode on USB/DP

Re: [PATCH 5/8] drm: Pass supported color formats straight onto drm_bridge

2025-09-12 Thread Maxime Ripard
On Thu, Sep 11, 2025 at 04:07:36PM +0300, Marius Vlad wrote: > diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c > b/drivers/gpu/drm/mediatek/mtk_dpi.c > index 61cab32e213a..15820e6ba057 100644 > --- a/drivers/gpu/drm/mediatek/mtk_dpi.c > +++ b/drivers/gpu/drm/mediatek/mtk_dpi.c > @@ -1057,7 +1057,7

Re: [PATCH v5 16/17] drm/bridge: analogix_dp: Remove bridge disabing and panel unpreparing in analogix_dp_unbind()

2025-09-12 Thread Dmitry Baryshkov
On Fri, Sep 12, 2025 at 04:58:45PM +0800, Damon Ding wrote: > The analogix_dp_unbind() should be balanced with analogix_dp_bind(). > There are no bridge enabling and panel preparing in analogix_dp_bind(), > so it should be reasonable to remove the bridge disabing and panel > unpreparing in analogix

[PATCH v8 2/3] drm/debugfs: show removed bridges

2025-09-12 Thread Luca Ceresoli
The usefulness of /sys/kernel/debug/dri/bridges is limited as it only shows bridges between drm_bridge_add() and drm_bridge_remove(). However refcounted bridges can stay allocated for a long time after drm_bridge_remove(), and a memory leak due to a missing drm_bridge_put() would not be visible in

[PATCH v8 1/3] drm/bridge: add list of removed refcounted bridges

2025-09-12 Thread Luca Ceresoli
Between drm_bridge_add() and drm_bridge_remove() bridges are registered to the DRM core via the global bridge_list and visible in /sys/kernel/debug/dri/bridges. However between drm_bridge_remove() and the last drm_bridge_put() memory is still allocated even though the bridge is not registered, i.e.

[PATCH v8 0/3] drm/bridge: debugfs: show refcount and list removed bridges

2025-09-12 Thread Luca Ceresoli
This series shows removed bridges to the global /dri/bridges file. Removed bridges are bridges after drm_bridges_remove() but before they are eventually freed on the last drm_bridge_put(). This is part of the work towards removal of bridges from a still existing DRM pipeline without use-after-free

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

2025-09-12 Thread Jens Wiklander
Hi, On Fri, Sep 12, 2025 at 6:07 AM 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 a

[pull] drm/msm: drm-msm-next-2025-09-12 for v6.18

2025-09-12 Thread Rob Clark
Hi Dave, Simona, Pull for v6.18, as described below. The following changes since commit 3cf6147f2b51a569761e1ef010efbd891e3a3a15: soc: qcom: use no-UBWC config for MSM8956/76 (2025-08-25 14:01:26 -0700) are available in the Git repository at: https://gitlab.freedesktop.org/drm/msm.git tags

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

2025-09-12 Thread Alex Deucher
On Fri, Sep 12, 2025 at 8:48 AM Thorsten Blum wrote: > > Hi Alex, > > On 9. Sep 2025, at 17:35, Alex Deucher wrote: > > Applied. Thanks! > > > > On Tue, Sep 9, 2025 at 11:29 AM Thorsten Blum > > wrote: > >> > >> Replace kmalloc() followed by copy_from_user() with memdup_user() to > >> improve a

Re: [PATCH 5/8] drm: Pass supported color formats straight onto drm_bridge

2025-09-12 Thread Maxime Ripard
Hi, On Thu, Sep 11, 2025 at 08:34:48PM +0300, Marius Vlad wrote: > > > diff --git a/drivers/gpu/drm/msm/dsi/dsi_manager.c > > > b/drivers/gpu/drm/msm/dsi/dsi_manager.c > > > index ca400924d4ee..4b87f4f78d38 100644 > > > --- a/drivers/gpu/drm/msm/dsi/dsi_manager.c > > > +++ b/drivers/gpu/drm/msm/d

Re: [PATCH 29/38] arm64: dts: mediatek: mt8183: Fix pinctrl node names

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:39, AngeloGioacchino Del Regno wrote: Fix the pinctrl node names to adhere to the bindings, as the main pin node is supposed to be named like "uart0-pins" and the pinmux node named like "pins-bus". Signed-off-by: AngeloGioacchino Del Regno Applied, thanks --- .../medi

Re: [PATCH] drm/panel: add support for KD116N3730A07

2025-09-12 Thread Doug Anderson
Hi, On Fri, Sep 12, 2025 at 6:11 AM Zhijian Yan wrote: > > Signed-off-by: Zhijian Yan > --- > drivers/gpu/drm/panel/panel-edp.c | 1 + > 1 file changed, 1 insertion(+) Please provide the EDID in the commit message. See nearly all recent commits to this file. Thanks! -Doug

[PATCH v2 1/2] clk: renesas: rzg2l: Remove DSI clock rate restrictions

2025-09-12 Thread Chris Brandt
Convert the limited MIPI clock calculations to a full range of settings based on math including H/W limitation validation. Since the required DSI division setting must be specified from external sources before calculations, expose a new API to set it. Signed-off-by: Chris Brandt Signed-off-by: hi

Re: [PATCH 2/4] drm/sti: make use of drm_of_component_probe

2025-09-12 Thread Alain Volmat
Hello Raphael, Thanks for this patch. On Thu, Jul 17, 2025 at 09:15:33PM +0200, Raphael Gallais-Pou wrote: > Enhance the probing sequence by using the ports property of the > display-subsystem node. > > That done, it becomes possible to handle the display-substem node > outside of the soc node w

Re: [PATCH 26/38] arm64: dts: mediatek: acelink-ew-7886cax: Remove unnecessary cells in spi-nand

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:39, AngeloGioacchino Del Regno wrote: There is no need to specify #address-cells and #size-cells in a node that has only one non-addressable subnode, and this is the case of the flash@0 node in this devicetree, as it has only one "partitions" subnode. Remove those to suppress

Re: [PATCH 35/38] arm64: dts: mediatek: mt8195-cherry: Move VBAT-supply to Tomato R1/R2

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:39, AngeloGioacchino Del Regno wrote: Move the VBAT supply to mt8195-cherry-tomato-{r1,r2} as this power supply is named like that only for the Realtek RT5682i codec. Signed-off-by: AngeloGioacchino Del Regno Applied, thanks --- arch/arm64/boot/dts/mediatek/mt8195-che

Re: [PATCH v5 5/7] drm/panthor: Implement the counter sampler and sample handling

2025-09-12 Thread Ketil Johnsen
On 25/07/2025 16:57, Lukas Zapolskas wrote: From: Adrián Larumbe The sampler aggregates counter and set requests coming from userspace and mediates interactions with the FW interface, to ensure that user sessions cannot override the global configuration. From the top-level interface, the samp

Re: [PATCH 38/38] arm64: dts: mediatek: mt8516-pumpkin: Fix machine compatible

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:39, AngeloGioacchino Del Regno wrote: This devicetree contained only the SoC compatible but lacked the machine specific one: add a "mediatek,mt8516-pumpkin" compatible to the list to fix dtbs_check warnings. Fixes: 9983822c8cf9 ("arm64: dts: mediatek: add pumpkin board dts")

Re: [PATCH 37/38] arm64: dts: mediatek: mt8395-kontron-i1200: Fix MT6360 regulator nodes

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:39, AngeloGioacchino Del Regno wrote: All of the MT6360 regulator nodes were wrong and would not probe because the regulator names are supposed to be lower case, but they are upper case in this devicetree. Change all nodes to be lower case to get working regulators. Fixes: 9

Re: [PATCH 36/38] arm64: dts: mediatek: mt8195-cherry: Add missing regulators to rt5682

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:39, AngeloGioacchino Del Regno wrote: Add the missing DBVDD and LDO1-IN power supplies to the codec node as both RT5682i and RT5682s require those. This commit only fixes a dtbs_check warning but doesn't produce any functional changes because the VIO18 LDO is already powered

Re: [PATCH 33/38] arm64: dts: mediatek: mt8183-kukui: Move DSI panel node to machine dtsis

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:39, AngeloGioacchino Del Regno wrote: Not all of the kukui machines have got a real DSI panel, infact, some of those have got a DSI to eDP bridge instead: this means that the address and size cells are necessary in the first case but unnecessary in the latter. Instead of addi

Re: [PATCH 25/38] arm64: dts: mediatek: mt7986a-bpi-r3: Set interrupt-parent to mdio switch

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:39, AngeloGioacchino Del Regno wrote: Being this an interrupt controller, the binding forbids to use interrupts-extended and wants an `interrupts` property instead. Since this interrupt controller's parent is on the GPIO controller set it as interrupt-parent and change interr

Re: [PATCH 20/38] arm64: dts: mediatek: mt6795-xperia-m5: Fix mmc0 latch-ck value

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:38, AngeloGioacchino Del Regno wrote: Change the latch-ck value from 0x14 to 4: as only bits [0-3] are actually used, the final value that gets written to the register field for DAT_LATCH_CK_SEL is just 0x4. This also fixes dtbs_check warnings. Fixes: 5a65dcccf483 ("arm64: d

Re: [PATCH 24/38] arm64: dts: mediatek: mt7986a-bpi-r3: Fix SFP I2C node names

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:39, AngeloGioacchino Del Regno wrote: The binding wants the node to be named "i2c-number", alternatively "i2c@address", but those are named "i2c-gpio-number" instead. Rename those to i2c-0, i2c-1 to adhere to the binding and suppress dtbs_check warnings. Signed-off-by: Angel

Re: [PATCH 23/38] arm64: dts: mediatek: mt7986a: Fix PCI-Express T-PHY node address

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:38, AngeloGioacchino Del Regno wrote: The PCIe TPHY is under the soc bus, which provides MMIO, and all nodes under that must use the bus, otherwise those would clearly be out of place. Add ranges to the PCIe tphy and assign the address to the main node to silence a dtbs_check

Re: [PATCH 21/38] arm64: dts: mediatek: mt6795-sony-xperia-m5: Add pinctrl for mmc1/mmc2

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:38, AngeloGioacchino Del Regno wrote: Add pinctrl nodes for the MicroSD slot on mmc1 and SDIO Controller on mmc2 and assign those to the respective controller nodes. This makes sure that all of the pins are muxed in the right state and with the right pullup/down(s) before tryi

[PATCH 1/2] dt-bindings: display/msm: dp-controller: Add SM6150

2025-09-12 Thread Xiangxu Yin
Add DisplayPort controller for Qualcomm SM6150 SoC. SM6150 shares the same configuration as SM8350, its hardware capabilities differ about HBR3. Explicitly listing it ensures clarity and avoids potential issues if SM8350 support evolves in the future. Signed-off-by: Xiangxu Yin --- Documentation

Re: [PATCH v2 03/12] dt-bindings: net: Convert Marvell 8897/8997 bindings to DT schema

2025-09-12 Thread Rob Herring
On Thu, Sep 11, 2025 at 12:09:52PM -0300, Ariel D'Alessandro wrote: > Convert the existing text-based DT bindings for Marvell 8897/8997 > (sd8897/sd8997) bluetooth devices controller to a DT schema. > > While here: > > * bindings for "usb1286,204e" (USB interface) are dropped from the DT > sche

Re: [PATCH 18/38] arm64: dts: mediatek: mt6797: Remove bogus id property in i2c nodes

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:38, AngeloGioacchino Del Regno wrote: All of the I2C nodes in this devicetree has a bogus "id" property, which was probably specifying the I2C bus number. This property was never parsed and never used - and besides, it also gives dtbs_check warnings: remove it from all i2c no

Re: [PATCH 17/38] arm64: dts: mediatek: mt6797: Fix pinctrl node names

2025-09-12 Thread Matthias Brugger
On 25/07/2025 12:56, Fei Shao wrote: On Thu, Jul 24, 2025 at 5:48 PM AngeloGioacchino Del Regno wrote: Change the pinctrl node names to adhere to the binding: the main nodes are now named like "uart0-pins" and the children "pins-bus". Signed-off-by: AngeloGioacchino Del Regno Reviewed-

Re: [PATCH 19/38] arm64: dts: mediatek: mt6795: Add mediatek, infracfg to iommu node

2025-09-12 Thread Matthias Brugger
On 25/07/2025 12:52, Fei Shao wrote: On Thu, Jul 24, 2025 at 5:49 PM AngeloGioacchino Del Regno wrote: The "M4U" IOMMU requires a handle to the infracfg to switch to the 4gb/pae addressing mode: add it. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Fei Shao Applied thanks

Re: [RFC PATCH] drm/uapi: Indroduce a VRR Range Control Interface

2025-09-12 Thread Derek Foreman
On 9/12/25 2:33 AM, Chuanyu Tseng wrote: Introduce a DRM interface for DRM clients to further restrict the VRR Range within the panel supported VRR range on a per-commit basis. The goal is to give DRM client the ability to do frame-doubling/ ramping themselves, or to set lower static refresh rat

[PATCH v3 2/4] drm/panfrost: Introduce JM contexts for manging job resources

2025-09-12 Thread Adrián Larumbe
From: Boris Brezillon A JM context describes user-requested priorities for the JM queues. Context creation leads to the initialization of scheduling entities of the same priority for all the device's job slots. Until context creation and destruction are exposed to UM, all issued jobs shall be b

[PATCH v3 3/4] drm/panfrost: Expose JM context IOCTLs to UM

2025-09-12 Thread Adrián Larumbe
From: Boris Brezillon Minor revision of the driver must be bumped because this expands the uAPI. On top of that, let UM know about the available priorities so that they can create contexts with legal priority values. Signed-off-by: Boris Brezillon Signed-off-by: Adrián Larumbe --- drivers/gpu

Re: [PATCH v2 01/12] dt-bindings: media: Convert MediaTek mt8173-mdp bindings to DT schema

2025-09-12 Thread Krzysztof Kozlowski
On 12/09/2025 10:27, Chen-Yu Tsai wrote: >>> +properties: >>> + compatible: >>> +oneOf: >>> + - enum: >>> + - mediatek,mt8173-mdp-rdma >>> + - mediatek,mt8173-mdp-rsz >>> + - mediatek,mt8173-mdp-wdma >>> + - mediatek,mt8173-mdp-wrot >> >> Why there is n

Re: [PATCH 14/38] dt-bindings: media: mediatek,mt8195-jpeg: Allow range number in node address

2025-09-12 Thread Krzysztof Kozlowski
On 12/09/2025 11:00, AngeloGioacchino Del Regno wrote: > Il 04/08/25 11:02, AngeloGioacchino Del Regno ha scritto: >> Il 24/07/25 11:14, Krzysztof Kozlowski ha scritto: >>> On 24/07/2025 10:38, AngeloGioacchino Del Regno wrote: The dual and triple core jpeg encoder and decoder (respectively) >

[PATCH v3 4/4] drm/panfrost: Display list of device JM contexts over debugfs

2025-09-12 Thread Adrián Larumbe
From: Boris Brezillon For DebugFS builds, create a filesystem knob that, for every single open file of the Panfrost DRM device, shows its command name information and PID (when applicable), and all of its existing JM contexts. For every context, show the DRM scheduler priority value of all of it

[PATCH v3 0/4] Introduce Panfrost JM contexts

2025-09-12 Thread Adrián Larumbe
This patch series brings the notion of JM contexts into Panfrost. UM will be able to create contexts, get a handle for them and attach it to a job submission. Contexts describe basic HW resource assignment to jobs, but at the moment that includes priorities only. There's a MR for a Mesa commit ser

[PATCH] Revert "drm: Add directive to format code in comment"

2025-09-12 Thread Bagas Sanjaya
Commit 6cc44e9618f03f ("drm: Add directive to format code in comment") fixes original Sphinx indentation warning as introduced in 471920ce25d50b ("drm/gpuvm: Add locking helpers"), by means of using code-block:: directive. It semantically conflicts with earlier bb324f85f72284 ("drm/gpuvm: Wrap drm_

Re: [PATCH 16/38] arm64: dts: mediatek: mt6331: Fix pmic, regulators, rtc, keys node names

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:38, AngeloGioacchino Del Regno wrote: The node names for "pmic", "regulators", "rtc", and "keys" are dictated by the PMIC MFD binding: change those to adhere to it. Fixes: aef783f3e0ca ("arm64: dts: mediatek: Add MT6331 PMIC devicetree") Signed-off-by: AngeloGioacchino Del Re

Re: [PATCH 06/38] dt-bindings: timer: mediatek: Add compatible for MT6795 GP Timer

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:38, AngeloGioacchino Del Regno wrote: Add a compatible for the General Purpose Timer (GPT) found on the MediaTek Helio X10 MT6795 SoC which is fully compatible with the one found in MT6577. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Matthias Brugger --- D

Re: [PATCH 04/38] ASoC: dt-bindings: mt8192-afe-pcm: Fix clocks and clock-names

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:38, AngeloGioacchino Del Regno wrote: Both clocks and clock-names are missing (a lot of) entries: add all the used audio clocks and their description and also fix the example node. You forgot to fix the example node. Matthias Signed-off-by: AngeloGioacchino Del Regno -

Re: [PATCH 03/38] dt-bindings: mailbox: mediatek,gce-mailbox: Make clock-names optional

2025-09-12 Thread Matthias Brugger
On 24/07/2025 10:38, AngeloGioacchino Del Regno wrote: The GCE Mailbox needs only one clock and the clock-names can be used only by the driver (which, for instance, does not use it), and this is true for all of the currently supported MediaTek SoCs. Stop requiring to specify clock-names on al

Re: [PATCH v3 3/5] dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp-phy: Document lanes mapping when not using in USB-C complex

2025-09-12 Thread Dmitry Baryshkov
On Tue, Sep 09, 2025 at 01:21:19PM +0200, Konrad Dybcio wrote: > On 9/9/25 1:16 PM, Dmitry Baryshkov wrote: > > On Tue, Sep 09, 2025 at 09:14:49AM +0200, Neil Armstrong wrote: > >> On 08/09/2025 23:14, Dmitry Baryshkov wrote: > >>> On Mon, Sep 08, 2025 at 03:04:20PM +0200, Neil Armstrong wrote: > >

Re: [PATCH 1/2] dt-bindings: display/msm: dp-controller: Add SM6150

2025-09-12 Thread Dmitry Baryshkov
On Fri, Sep 12, 2025 at 07:54:31PM +0800, Xiangxu Yin wrote: > > On 9/12/2025 7:46 PM, Dmitry Baryshkov wrote: > > On Fri, Sep 12, 2025 at 07:39:16PM +0800, Xiangxu Yin wrote: > >> Add DisplayPort controller for Qualcomm SM6150 SoC. > >> SM6150 shares the same configuration as SM8350, its hardware

  1   2   >