Re: [PATCH v2 1/5] dt-bindings: display: bridge: simple: document the Realtek RTD2171 DP-to-HDMI bridge

2025-09-02 Thread Krzysztof Kozlowski
On Tue, Sep 02, 2025 at 11:00:28AM +0200, Neil Armstrong wrote: > The Realtek RTD2171 chipset is a transparent DisplayPort 1.4 to > HDMI 2.0 bridge. > > This chipset is usually found in USB-C To HDMI Adapters and Docks, > or laptops to provide HDMI display output. > > Signed-off-by: Neil Armstron

Re: [PATCH v4 3/4] drm/atomic: Return user readable error in atomic_ioctl

2025-09-02 Thread Murthy, Arun R
On 02-09-2025 15:46, Jani Nikula wrote: On Tue, 02 Sep 2025, Arun R Murthy wrote: Add user readable error codes for failure cases in drm_atomic_ioctl() so that user can decode the error code and take corrective measurements. Signed-off-by: Arun R Murthy --- drivers/gpu/drm/drm_atomic.c

Re: [PATCH v4 1/4] drm: Define user readable error codes for atomic ioctl

2025-09-02 Thread Murthy, Arun R
On 02-09-2025 15:36, Jani Nikula wrote: On Tue, 02 Sep 2025, Arun R Murthy wrote: There can be multiple reasons for a failure in atomic_ioctl. Most often in these error conditions -EINVAL is returned. User/Compositor would have to blindly take a call on failure of this ioctl so as to use ALLOW_

Re: [PATCH v4 1/2] dt-bindings: drm/bridge: ti-tmds181: Add TI TMDS181 and SN65DP159 bindings

2025-09-02 Thread Mike Looijmans
On 02-09-2025 19:29, Maxime Ripard wrote: On Mon, Sep 01, 2025 at 04:29:01PM +0200, Mike Looijmans wrote: + ti,retimer-threshold-hz: +minimum: 2500 +maximum: 6 +default: 2 +description: + Cross-over point. Up until this pixel clock frequency + the c

Re: [v4 05/15] mm/migrate_device: handle partially mapped folios during collection

2025-09-02 Thread Balbir Singh
On 9/3/25 14:40, Mika Penttilä wrote: > Hi, > > On 9/3/25 04:18, Balbir Singh wrote: > >> Extend migrate_vma_collect_pmd() to handle partially mapped large >> folios that require splitting before migration can proceed. >> >> During PTE walk in the collection phase, if a large folio is only >> par

Re: [PATCH v3 12/12] PM: EM: Use scope-based cleanup helper

2025-09-02 Thread Krzysztof Kozlowski
On 03/09/2025 04:12, Zihuan Zhang wrote: >> You are not improving the source code here. This is not how to use >> __free() and you clearly do not understand the source code. > > Sorry for the problem, policy should be assigned after cpumask_test_cpu(). > > I actually realized earlier that __free

Re: [PATCH v6 00/11] Improvements to S5 power consumption

2025-09-02 Thread Mario Limonciello
On 8/17/2025 9:00 PM, Mario Limonciello (AMD) wrote: A variety of issues both in function and in power consumption have been raised as a result of devices not being put into a low power state when the system is powered off. There have been some localized changes[1] to PCI core to help these issu

[PATCH v2 1/1] [DRIVER] gpu: drm: add support for Yhgc ZX1000 soc chipset

2025-09-02 Thread chuguangqing
add support for Yhgc BMC soc chipset Signed-off-by: chuguangqing --- MAINTAINERS | 5 + drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/yhgch/Kconfig | 3 + drivers

[PATCH v2 0/1] [DRIVER] gpu: drm: add support for Yhgc ZX1000 soc chipset

2025-09-02 Thread chuguangqing
1. Delete unnecessary comments 2. Delete unnecessary branch 3. Use drm_atomic_helper_check_plane_state 4. remove the alpha formats form this list. 5. use w,h rather than x, y 7. delete type casting 8. use a simple call to drm_atomic_helper_shutdown() 9. delete yhgch_load function 10. delete vblanki

[PATCH V4] accel/amdxdna: Add ioctl DRM_IOCTL_AMDXDNA_GET_ARRAY

2025-09-02 Thread Lizhi Hou
Add interface for applications to get information array. The application provides a buffer pointer along with information type, maximum number of entries and maximum size of each entry. The buffer may also contain match conditions based on the information type. After the ioctl completes, the actual

Re: [PATCH v3 6/6] drm: panel-backlight-quirks: Log applied panel brightness quirks

2025-09-02 Thread Mario Limonciello
On 8/29/2025 10:01 AM, Antheas Kapenekakis wrote: On Fri, 29 Aug 2025 at 16:57, Antheas Kapenekakis wrote: Currently, when a panel brightness quirk is applied, there is no log indicating that a quirk was applied. Unwrap the drm device on its own and use drm_info() to log when a quirk is applie

Re: [v4 05/15] mm/migrate_device: handle partially mapped folios during collection

2025-09-02 Thread Mika Penttilä
Hi, On 9/3/25 04:18, Balbir Singh wrote: > Extend migrate_vma_collect_pmd() to handle partially mapped large > folios that require splitting before migration can proceed. > > During PTE walk in the collection phase, if a large folio is only > partially mapped in the migration range, it must be sp

Re: [PATCH v10 0/4] Adjust fbcon console device detection

2025-09-02 Thread Mario Limonciello
On 8/11/2025 11:26 AM, Mario Limonciello (AMD) wrote: Systems with more than one GPU userspace doesn't know which one to be used to treat as primary. The concept of primary is important to be able to decide which GPU is used for display and which is used for rendering. If it's guessed wrong th

[PATCH v2 18/37] mm/gup: drop nth_page() usage within folio when recording subpages

2025-09-02 Thread David Hildenbrand
nth_page() is no longer required when iterating over pages within a single folio, so let's just drop it when recording subpages. Reviewed-by: Lorenzo Stoakes Signed-off-by: David Hildenbrand --- mm/gup.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mm/gup.c b/mm/gu

Re: [PATCH v2 26/37] drm/i915/gem: drop nth_page() usage within SG entry

2025-09-02 Thread Tvrtko Ursulin
On 01/09/2025 16:03, David Hildenbrand wrote: It's no longer required to use nth_page() when iterating pages within a single SG entry, so let's drop the nth_page() usage. Reviewed-by: Lorenzo Stoakes Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc: Tvrtko Ursulin Cc: David Airlie

[PATCH 8/9] arm64: tegra: Hook up VPR to host1x

2025-09-02 Thread Thierry Reding
From: Thierry Reding The host1x needs access to the VPR region, so make sure to reference it via the memory-region property. Signed-off-by: Thierry Reding --- arch/arm64/boot/dts/nvidia/tegra234.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dts

[PATCH 09/29] drm/modeset: Create atomic_reset hook

2025-09-02 Thread Maxime Ripard
Since we're about to integrate some infrastructure to implement hardware state readout, we need a way to differentiate between drivers wanting to start from a pristine state, with the classic reset sequence, and drivers that want to pickup their initial state from reading out the hardware state. T

Re: [PATCH v7 2/9] dt-bindings: display/msm: dp-controller: fix fallback for SM6350

2025-09-02 Thread Krzysztof Kozlowski
On 02/09/2025 12:01, Dmitry Baryshkov wrote: > On Tue, Sep 02, 2025 at 08:04:54AM +0200, Krzysztof Kozlowski wrote: >> On 02/09/2025 06:03, Dmitry Baryshkov wrote: >>> On Mon, Sep 01, 2025 at 05:45:49AM +0200, Krzysztof Kozlowski wrote: On Fri, Aug 29, 2025 at 01:48:15AM +0300, Dmitry Baryshko

Re: [PATCH v2 1/9] list: add list_last_entry_or_null()

2025-09-02 Thread Luca Ceresoli
Hello DRM maintainers, On Wed, 20 Aug 2025 16:43:56 +0300 Andy Shevchenko wrote: > On Thu, Aug 14, 2025 at 06:36:09PM +0200, Luca Ceresoli wrote: > > On Wed, 6 Aug 2025 00:55:02 +0300 > > Andy Shevchenko wrote: > > > > > On Fri, Aug 01, 2025 at 07:05:23PM +0200, Luca Ceresoli wrote: > > >

Re: [PATCH 4/7] drm/panthor: Bump the driver version to 1.6

2025-09-02 Thread Adrian Larumbe
On 22.08.2025 10:29, Faith Ekstrand wrote: > Signed-off-by: Faith Ekstrand > --- > drivers/gpu/drm/panthor/panthor_drv.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/panthor/panthor_drv.c > b/drivers/gpu/drm/panthor/panthor_drv.c > index 1527966604e

[PATCH v2 04/37] drm/atomic: Convert __drm_atomic_get_current_plane_state() to modern accessor

2025-09-02 Thread Maxime Ripard
The __drm_atomic_get_current_plane_state() function tries to get and return the existing plane state, and if it doesn't exist returns the one stored in the drm_plane->state field. Using the current nomenclature, it tries to get the existing plane state with an ad-hoc implementation of drm_atomic_g

Re: [PATCH v7 2/9] dt-bindings: display/msm: dp-controller: fix fallback for SM6350

2025-09-02 Thread Krzysztof Kozlowski
On 02/09/2025 06:03, Dmitry Baryshkov wrote: > On Mon, Sep 01, 2025 at 05:45:49AM +0200, Krzysztof Kozlowski wrote: >> On Fri, Aug 29, 2025 at 01:48:15AM +0300, Dmitry Baryshkov wrote: >>> The SM6350 doesn't have MST support, as such it is not compatible with >>> the SM8350 platform. Add new entry

Re: [PATCH v3] MAINTAINERS: Update Min Ma's email for AMD XDNA driver

2025-09-02 Thread Lizhi Hou
Reviewed-by: Lizhi Hou On 8/30/25 17:12, Min Ma wrote: I recently left AMD and would like to continue participating in the review and maintenance of the XDNA driver using my personal email address. Signed-off-by: Min Ma --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 24/29] drm/tidss: dispc: Improve mode checking logs

2025-09-02 Thread Thomas Zimmermann
Am 02.09.25 um 10:32 schrieb Maxime Ripard: The dispc_vp_mode_valid() function checks whether a mode can be handled by the display controller. There's a whole bunch of criteria, and it's not clear when a rejection happens why it did. Let's add a bunch of logs on error to make it clearer. Sig

Re: [RFC 0/3] cgroups: Add support for pinned device memory

2025-09-02 Thread David Hildenbrand
On 19.08.25 13:49, Maarten Lankhorst wrote: When exporting dma-bufs to other devices, even when it is allowed to use move_notify in some drivers, performance will degrade severely when eviction happens. A perticular example where this can happen is in a multi-card setup, where PCI-E peer-to-peer

Re: [PATCH v2 3/5] dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp-phy: Document static lanes mapping

2025-09-02 Thread Neil Armstrong
On 02/09/2025 13:50, Konrad Dybcio wrote: On 9/2/25 11:00 AM, 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 The layout

[PATCH v2 01/37] drm/atomic: Convert drm_atomic_get_connector_state() to use new connector state

2025-09-02 Thread Maxime Ripard
The drm_atomic_get_connector_state() function calls a hand-rolled implementation of the deprecated drm_atomic_get_existing_connector_state() helper to get find if a connector state had already been allocated and was part of the given drm_atomic_state. At the point in time where drm_atomic_get_conn

Re: [PATCH v2 01/37] drm/atomic: Convert drm_atomic_get_connector_state() to use new connector state

2025-09-02 Thread Dmitry Baryshkov
On Tue, Sep 02, 2025 at 11:35:00AM +0200, Maxime Ripard wrote: > The drm_atomic_get_connector_state() function calls a hand-rolled > implementation of the deprecated > drm_atomic_get_existing_connector_state() helper to get find if a > connector state had already been allocated and was part of the

[PATCH v9 01/11] tee: allow a driver to allocate a tee_device without a pool

2025-09-02 Thread Amirreza Zarrabi
A TEE driver doesn't always need to provide a pool if it doesn't support memory sharing ioctls and can allocate memory for TEE messages in another way. Although this is mentioned in the documentation for tee_device_alloc(), it is not handled correctly. Reviewed-by: Sumit Garg Signed-off-by: Amirr

Re: [PATCH v1 11/19] staging: media: tegra-video: tegra20: add support for second output of VI

2025-09-02 Thread Mikko Perttunen
On Tuesday, August 19, 2025 9:16 PM Svyatoslav Ryhel wrote: > VI in Tegra20/Tegra30 has 2 VI outputs with different set of supported > formats. Convert output registers to macros for simpler work with both > outputs since apart formats their layout matches. > > Signed-off-by: Svyatoslav Ryhel > -

[PATCH v9 02/11] tee: add close_context to TEE driver operation

2025-09-02 Thread Amirreza Zarrabi
The tee_context can be used to manage TEE user resources, including those allocated by the driver for the TEE on behalf of the user. The release() callback is invoked only when all resources, such as tee_shm, are released and there are no references to the tee_context. When a user closes the devic

Re: [PATCH v4 1/2] dt-bindings: drm/bridge: ti-tmds181: Add TI TMDS181 and SN65DP159 bindings

2025-09-02 Thread Krzysztof Kozlowski
On Mon, Sep 01, 2025 at 04:29:01PM +0200, Mike Looijmans wrote: > .../bindings/display/bridge/ti,tmds181.yaml | 152 ++ > 1 file changed, 152 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/display/bridge/ti,tmds181.yaml > > diff --git a/Documentation/de

Re: [PATCH v10 2/6] dt-bindings: display/msm: dp-controller: document QCS8300 compatible

2025-09-02 Thread Krzysztof Kozlowski
On 02/09/2025 08:38, Krzysztof Kozlowski wrote: > On Mon, Sep 01, 2025 at 05:57:30PM +0800, Yongxing Mou wrote: >> + - if: >> + properties: >> +compatible: >> + contains: >> +enum: >> + # QCS8300 only has one DP controller that supports 4 >> +

[PATCH v2 10/37] mm: sanity-check maximum folio size in folio_set_order()

2025-09-02 Thread David Hildenbrand
Let's sanity-check in folio_set_order() whether we would be trying to create a folio with an order that would make it exceed MAX_FOLIO_ORDER. This will enable the check whenever a folio/compound page is initialized through prepare_compound_head() / prepare_compound_page() with CONFIG_DEBUG_VM set.

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

2025-09-02 Thread Arunpravin Paneer Selvam
On 9/2/2025 1:11 AM, Peter Zijlstra wrote: On Tue, Sep 02, 2025 at 12:26:04AM +0530, Arunpravin Paneer Selvam wrote: Replace the freelist (O(n)) used for free block management with a red-black tree, providing more efficient O(log n) search, insert, and delete operations. This improves scalabil

Re: [PATCH v2] drm/sched: Fix racy access to drm_sched_entity.dependency

2025-09-02 Thread Tvrtko Ursulin
On 02/09/2025 08:27, Philipp Stanner wrote: On Mon, 2025-09-01 at 14:40 +0200, Pierre-Eric Pelloux-Prayer wrote: The drm_sched_job_unschedulable trace point can access entity->dependency after it was cleared by the callback installed in drm_sched_entity_add_dependency_cb, causing: BUG: kernel

Re: [PATCH v2] drm/bridge: ti-sn65dsi86: fix REFCLK setting

2025-09-02 Thread Doug Anderson
Hi, On Sun, Aug 31, 2025 at 11:20 PM Michael Walle wrote: > > Hi, > > On Fri Aug 29, 2025 at 12:52 AM CEST, Doug Anderson wrote: > > > On Thu, Aug 21, 2025 at 5:23 AM Michael Walle wrote: > > > > > > > > The bridge has three bootstrap pins which are sampled to determine the > > > > frequency of

Re: [PATCH 3/4] drm/msm/adreno: Add a modparam to skip GPU

2025-09-02 Thread Dmitry Baryshkov
On Tue, Sep 02, 2025 at 02:30:48PM +0200, Konrad Dybcio wrote: > On 9/2/25 1:50 PM, Akhil P Oommen wrote: > > During bringup of a new GPU support, it is convenient to have knob to > > quickly disable GPU, but keep the display support. This helps to > > fallback to 'kms_swrast' in case of bootup iss

Patch "Revert "drm/dp: Change AUX DPCD probe address from DPCD_REV to LANE0_1_STATUS"" has been added to the 6.1-stable tree

2025-09-02 Thread gregkh
This is a note to let you know that I've just added the patch titled Revert "drm/dp: Change AUX DPCD probe address from DPCD_REV to LANE0_1_STATUS" to the 6.1-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filena

[PATCH 3/9] mm/cma: Allow dynamically creating CMA areas

2025-09-02 Thread Thierry Reding
From: Thierry Reding There is no technical reason why there should be a limited number of CMA regions, so extract some code into helpers and use them to create extra functions (cma_create() and cma_free()) that allow creating and freeing, respectively, CMA regions dynamically at runtime. Note th

[PATCH v2 07/37] drm/tilcdc: crtc: Use drm_atomic_helper_check_crtc_primary_plane()

2025-09-02 Thread Maxime Ripard
In the tilcdc_crtc_atomic_check(), the tilcdc driver hand-crafts its own implementation of drm_atomic_helper_check_crtc_primary_plane(). And it does so by accessing the state pointer in drm_atomic_state->planes which is deprecated. Let's use the right helper here. Signed-off-by: Maxime Ripard -

[PATCH net-next v2 5/6] net: ti: icssg-prueth: Add AF_XDP zero copy for RX

2025-09-02 Thread Meghana Malladi
Use xsk_qid to check if a given port+qid has been registered for xsk zero copy and populate it inside rx channel xsk_pool. If xsk_pool is registered, allocate buffers from UMEM and map them to the hardware Rx descriptors. In NAPI context, run the XDP program for each packet and process the xsk buf

Re: [PATCH v1 2/2] drm/sched: limit sched score update to jobs change

2025-09-02 Thread Philipp Stanner
On Mon, 2025-09-01 at 15:14 +0200, Pierre-Eric Pelloux-Prayer wrote: > > > Le 25/08/2025 à 15:13, Philipp Stanner a écrit : > > On Fri, 2025-08-22 at 15:43 +0200, Pierre-Eric Pelloux-Prayer wrote: > > > Currently, the scheduler score is incremented when a job is pushed to an > > > entity and when

[PATCH v3 08/12] cpufreq: powerpc: macintosh: Use scope-based cleanup helper

2025-09-02 Thread Zihuan Zhang
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. Signed-off-by: Zihuan Zhang --- drivers/macintosh/windfarm

[PATCH v3 08/11] gpu: nova-core: firmware: process the GSP bootloader

2025-09-02 Thread Alexandre Courbot
The GSP bootloader is a small RISC-V firmware that is loaded by Booter onto the GSP core and is in charge of loading, validating, and starting the actual GSP firmware. It is a regular binary firmware file containing a specific header. Create a type holding the DMA-mapped firmware as well as useful

[PATCH 12/29] drm/atomic_helper: Pass nonblock to commit_tail

2025-09-02 Thread Maxime Ripard
We'll need to know if a commit is blocking or non-blocking in commit_tail later on, so let's pass it along. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/drm_atomic_helper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/driver

[PATCH 03/15] ttm/pool: port to list_lru. (v2)

2025-09-02 Thread Dave Airlie
From: Dave Airlie This is an initial port of the TTM pools for write combined and uncached pages to use the list_lru. This makes the pool's more NUMA aware and avoids needing separate NUMA pools (later commit enables this). Cc: Christian Koenig Cc: Johannes Weiner Cc: Dave Chinner Signed-off

[PATCH v2 17/37] mm/pagewalk: drop nth_page() usage within folio in folio_walk_start()

2025-09-02 Thread David Hildenbrand
It's no longer required to use nth_page() within a folio, so let's just drop the nth_page() in folio_walk_start(). Reviewed-by: Lorenzo Stoakes Reviewed-by: Liam R. Howlett Signed-off-by: David Hildenbrand --- mm/pagewalk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm

Re: [PATCH v1 19/19] staging: media: tegra-video: add CSI support for Tegra20 and Tegra30

2025-09-02 Thread Svyatoslav Ryhel
вт, 2 вер. 2025 р. о 09:18 Mikko Perttunen пише: > > On Tuesday, September 2, 2025 2:51 PM Svyatoslav Ryhel wrote: > > вт, 2 вер. 2025 р. о 05:38 Mikko Perttunen пише: > > > > > > On Tuesday, August 19, 2025 9:16 PM Svyatoslav Ryhel wrote: > > > > Add support for MIPI CSI device found in Tegra20

Re: [PATCH v2 36/37] drm/atomic: Convert drm_atomic_get_private_obj_state() to use new plane state

2025-09-02 Thread Ville Syrjälä
On Tue, Sep 02, 2025 at 04:25:12PM +0300, Dmitry Baryshkov wrote: > On Tue, Sep 02, 2025 at 11:35:35AM +0200, Maxime Ripard wrote: > > The drm_atomic_get_private_obj_state() function tries to find if a > > private_obj had already been allocated and was part of the given > > drm_atomic_state. If one

[PATCH v3 00/11] gpu: nova-core: process and prepare more firmwares to boot GSP

2025-09-02 Thread Alexandre Courbot
This series makes more progress on the GSP boot process for Ampere GPUs. At the end of the previous series [1], we were left with a WPR memory region created by the FRTS firmware, but still far from the GSP running. This series brings us closer to that goal by preparing 2 new firmware packages: *

Re: [PATCH v1 1/3] misc: fastrpc: Move fdlist to invoke context structure

2025-09-02 Thread Dmitry Baryshkov
On Mon, Sep 01, 2025 at 11:03:34AM +0530, Ekansh Gupta wrote: > FD list is part of meta buffer which is calculated during put args. > Move fdlist to invoke context structure for better maintenance and > to avoid code duplicacy for calculation of critical meta buffer > contents that are used by fast

[v4 13/15] selftests/mm/hmm-tests: partial unmap, mremap and anon_write tests

2025-09-02 Thread Balbir Singh
From: Matthew Brost Add partial unmap test case which munmaps memory while in the device. Add tests exercising mremap on faulted-in memory (CPU and GPU) at various offsets and verify correctness. Update anon_write_child to read device memory after fork verifying this flow works in the kernel.

Re: [PATCH v7 2/9] dt-bindings: display/msm: dp-controller: fix fallback for SM6350

2025-09-02 Thread Dmitry Baryshkov
On Mon, Sep 01, 2025 at 05:45:49AM +0200, Krzysztof Kozlowski wrote: > On Fri, Aug 29, 2025 at 01:48:15AM +0300, Dmitry Baryshkov wrote: > > The SM6350 doesn't have MST support, as such it is not compatible with > > the SM8350 platform. Add new entry for SM6350 with fallback to SC7180 > > (which be

Re: [PATCH v8 5/7] arm64: dts: qcom: Add initial support for MSM8937

2025-09-02 Thread Dmitry Baryshkov
On Sun, Aug 31, 2025 at 02:29:28PM +0200, Barnabás Czémán wrote: > From: Dang Huynh > > Add initial support for MSM8937 SoC. > > Signed-off-by: Dang Huynh > Co-developed-by: Barnabás Czémán > Signed-off-by: Barnabás Czémán > --- > arch/arm64/boot/dts/qcom/msm8937.dtsi | 2134 > +

Re: [PATCH 2/2] drm/bridge: ti-sn65dsi86: break probe dependency loop

2025-09-02 Thread John Ripple
Hi, >Which i2c bridge are you talking about? You mean the one created by >i2c_add_adapter() in drm_dp_aux_register()? I guess I'm confused about >why the DSI probe routine would even be looking for that adapter. The i2c bridge I was seeing was created by the drm_bridge_add() function in the ti_sn

Re: [PATCH] docs: gpu: fix spelling error in drm-uapi.rst

2025-09-02 Thread Mohin Nadaf
Thank you for pointing this out, Randy. I have checked the lore link and confirmed that the same typo fix was already submitted on Aug 21st. I apologize for the duplicate submission. I should have checked recent patches before sending. I will verify existing patches in git log and lore.kernel.org b

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

2025-09-02 Thread Arunpravin Paneer Selvam
On 9/2/2025 3:53 PM, Jani Nikula wrote: On Tue, 02 Sep 2025, Arunpravin Paneer Selvam wrote: Replace the freelist (O(n)) used for free block management with a red-black tree, providing more efficient O(log n) search, insert, and delete operations. This improves scalability and performance w

[PATCH 09/15] ttm/pool: initialise the shrinker earlier

2025-09-02 Thread Dave Airlie
From: Dave Airlie Later memcg enablement needs the shrinker initialised before the list lru, Just move it for now. Signed-off-by: Dave Airlie --- drivers/gpu/drm/ttm/ttm_pool.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_

Re: [PATCH 21/29] drm/tidss: crtc: Implement destroy_state

2025-09-02 Thread Thomas Zimmermann
Am 02.09.25 um 10:32 schrieb Maxime Ripard: The tidss crtc driver implements its own state, with its own implementation of reset and duplicate_state, but uses the default destroy_state helper. This somewhat works for now because the drm_crtc_state field in tidss_crtc_state is the first field

Re: [PATCH v7 00/10] Add support for RK3588 DisplayPort Controller

2025-09-02 Thread Maxime Ripard
On Thu, Aug 28, 2025 at 03:56:21PM +0300, Dmitry Baryshkov wrote: > On Thu, Aug 28, 2025 at 10:05:28AM +0200, Maxime Ripard wrote: > > On Thu, Aug 28, 2025 at 09:50:34AM +0200, Thomas Zimmermann wrote: > > > Hi > > > > > > Am 28.08.25 um 00:24 schrieb Dmitry Baryshkov: > > > > On Fri, Aug 22, 2025

[PATCH v9 08/11] tee: add Qualcomm TEE driver

2025-09-02 Thread Amirreza Zarrabi
Introduce qcomtee_object, which represents an object in both QTEE and the kernel. QTEE clients can invoke an instance of qcomtee_object to access QTEE services. If this invocation produces a new object in QTEE, an instance of qcomtee_object will be returned. Similarly, QTEE can request services fr

Re: [PATCH v3] drm/gud: Replace simple display pipe with DRM atomic helpers

2025-09-02 Thread Thomas Zimmermann
Hi, apologies for the late review. I simply missed the mail. There's quite some traffic on the list and things get lost. Am 18.08.25 um 21:35 schrieb Ruben Wauters: The simple display pipe is obsolete and the atomic helpers allow for more control over the rendering process. As such, this patc

Re: [PATCH 18/29] drm/tidss: Convert to drm logging

2025-09-02 Thread Thomas Zimmermann
Hi Am 02.09.25 um 10:32 schrieb Maxime Ripard: DRM drivers should prefer the drm logging functions to the dev logging ones when possible. Let's convert the existing dev_* logs to their drm counterparts. Signed-off-by: Maxime Ripard Reviewed-by: Thomas Zimmermann --- drivers/gpu/drm/tids

Re: [PATCH v2 1/9] list: add list_last_entry_or_null()

2025-09-02 Thread Andy Shevchenko
On Tue, Sep 02, 2025 at 02:22:28PM +0200, Maxime Ripard wrote: > On Tue, Sep 02, 2025 at 01:57:09PM +0200, Luca Ceresoli wrote: > > On Wed, 20 Aug 2025 16:43:56 +0300 > > Andy Shevchenko wrote: ... > > While applying this patch with dim on drm-misc-next, dim push-branch > > failed because: > >

[PATCH 06/15] ttm/pool: track allocated_pages per numa node.

2025-09-02 Thread Dave Airlie
From: Dave Airlie This gets the memory sizes from the nodes and stores the limit as 50% of those. I think eventually we should drop the limits once we have memcg aware shrinking, but this should be more NUMA friendly, and I think seems like what people would prefer to happen on NUMA aware systems

[PATCH v2 04/37] x86/Kconfig: drop superfluous "select SPARSEMEM_VMEMMAP"

2025-09-02 Thread David Hildenbrand
Now handled by the core automatically once SPARSEMEM_VMEMMAP_ENABLE is selected. Reviewed-by: Mike Rapoport (Microsoft) Acked-by: Dave Hansen Reviewed-by: Lorenzo Stoakes Reviewed-by: Liam R. Howlett Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Signed-off-by: David Hildenbrand -

[PATCH v3 09/11] gpu: nova-core: firmware: use 570.144 firmware

2025-09-02 Thread Alexandre Courbot
570.144 is the latest available into linux-firmware as of this commit, and the one we will use to start development of nova-core. It should eventually be dropped for a newer version before the driver becomes able to do anything useful. The newer firmware is expected to iron out some of the inelegan

Re: [PATCH] gpu: nova-core: take advantage of pci::Device::unbind()

2025-09-02 Thread Danilo Krummrich
On Mon Sep 1, 2025 at 3:13 PM CEST, Alexandre Courbot wrote: > On Mon Sep 1, 2025 at 7:41 PM JST, Danilo Krummrich wrote: >> On Sun Aug 31, 2025 at 3:50 PM CEST, Alexandre Courbot wrote: +pub(crate) fn unbind(&self, pdev: &pci::Device) { +// Unregister the sysmem flush page be

Re: [PATCH v2 00/37] drm/atomic: Get rid of existing states (not really)

2025-09-02 Thread Ville Syrjälä
On Tue, Sep 02, 2025 at 11:34:59AM +0200, Maxime Ripard wrote: > Hi, > > Here's a series to get rid of the drm_atomic_helper_get_existing_*_state > accessors. > > The initial intent was to remove the __drm_*_state->state pointer to > only rely on old and new states, but we still need it now to kn

Re: [PATCH v5 2/6] drm/bridge: cadence: cdns-mhdp8546*: Change drm_connector from structure to pointer

2025-09-02 Thread Harikrishna Shenoy
On 9/1/25 15:30, Tomi Valkeinen wrote: Hi, On 11/08/2025 10:59, Harikrishna Shenoy wrote: From: Jayesh Choudhary After adding DBANC framework, mhdp->connector is not initialised during bridge_attach(). The connector is however required in few driver calls like cdns_mhdp_hdcp_enable() and cd

Re: [PATCH 07/29] drm/atomic: Implement drm_atomic_print_old_state

2025-09-02 Thread Laurent Pinchart
Hi Maxime, Thank you for the patch. On Tue, Sep 02, 2025 at 10:32:35AM +0200, Maxime Ripard wrote: > We currently have a helper to print the new states associated to a > drm_atomic_state, but we don't have a variant to print the old state. > > It's somewhat expected, since we almost never care a

Re: [PATCH v2 0/6] drm/st7571-i2c: add support for grayscale xrgb8888

2025-09-02 Thread Javier Martinez Canillas
Marcus Folkesson writes: Hello Marcus, > The goal with this series is to add support for 2bit grayscale with > the xrgb pixel format for the st7571 display controller. > > The first patch only corrects a comment of the pixel format. > > The next four patches adds support for inverting pixels

[PATCH v2 25/37] ata: libata-sff: drop nth_page() usage within SG entry

2025-09-02 Thread David Hildenbrand
It's no longer required to use nth_page() when iterating pages within a single SG entry, so let's drop the nth_page() usage. Acked-by: Damien Le Moal Reviewed-by: Lorenzo Stoakes Cc: Niklas Cassel Signed-off-by: David Hildenbrand --- drivers/ata/libata-sff.c | 6 +++--- 1 file changed, 3 inse

Re: [PATCH v3 01/14] dt-bindings: display/msm: dp-controller: Add sm6150

2025-09-02 Thread Konrad Dybcio
On 9/1/25 2:32 PM, Xiangxu Yin wrote: > > On 8/28/2025 7:05 PM, Dmitry Baryshkov wrote: >> On 28/08/2025 07:51, Xiangxu Yin wrote: >>> >>> On 8/20/2025 6:18 PM, Dmitry Baryshkov wrote: On Wed, Aug 20, 2025 at 05:34:43PM +0800, Xiangxu Yin wrote: > Add DisplayPort controller for Qualcomm S

Re: [PATCH 0/2] Rocket Kconfig fixes

2025-09-02 Thread Tomeu Vizoso
Thanks, Heiko, I have applied them to drm-misc-next. Regards, Tomeu On Thu, Aug 14, 2025 at 1:35 PM Heiko Stuebner wrote: > > More common indentation and depending on the actual accel framework. > > Heiko Stuebner (2): > accel/rocket: Fix indentation of Kconfig entry > accel/rocket: Depend

[PATCH] MAINTAINERS: Add drm-rust tree for Rust DRM drivers and infrastructure

2025-09-02 Thread Danilo Krummrich
Multiple DRM Rust drivers (e.g. nova-core, nova-drm, Tyr, rvkms) are in development, with at least Nova and (soon) Tyr already upstream. Having a shared tree will ease and accelerate development, since all drivers can consume new infrastructure in the same release cycle. This includes infrastructu

[PATCH 1/3] drm/panel: visionox-rm69299: Fix clock frequency for SHIFT6mq

2025-09-02 Thread Guido Günther
Make the clock frequency match what the sdm845 downstream kernel uses. Otherwise the panel stays black. Signed-off-by: Guido Günther Reviewed-by: Neil Armstrong --- drivers/gpu/drm/panel/panel-visionox-rm69299.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm

[PATCH v2 32/37] vfio/pci: drop nth_page() usage within SG entry

2025-09-02 Thread David Hildenbrand
It's no longer required to use nth_page() when iterating pages within a single SG entry, so let's drop the nth_page() usage. Reviewed-by: Lorenzo Stoakes Reviewed-by: Alex Williamson Reviewed-by: Brett Creeley Cc: Jason Gunthorpe Cc: Yishai Hadas Cc: Shameer Kolothum Cc: Kevin Tian Signed-o

[PATCH 05/15] ttm/pool: make pool shrinker NUMA aware

2025-09-02 Thread Dave Airlie
From: Dave Airlie This enable NUMA awareness for the shrinker on the ttm pools. Cc: Christian Koenig Cc: Dave Chinner Signed-off-by: Dave Airlie --- drivers/gpu/drm/ttm/ttm_pool.c | 38 +++--- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/drivers

Re: linux-next: build failure after merge of the drm-exynos tree

2025-09-02 Thread Stephen Rothwell
Hi all, On Tue, 26 Aug 2025 12:13:20 +1000 Stephen Rothwell wrote: > > On Thu, 21 Aug 2025 11:27:40 +1000 Stephen Rothwell > wrote: > > > > After merging the drm-exynos tree, today's linux-next build (arm > > multi_v7_defconfig) failed like this: > > > > drivers/gpu/drm/exynos/exynos_drm_dsi.

Re: [PATCH v2] drm/rcar-du: dsi: Fix 1/2/3 lane support

2025-09-02 Thread Tomi Valkeinen
Hi, On 31/08/2025 20:01, Marek Vasut wrote: > On 8/14/25 7:54 AM, Tomi Valkeinen wrote: > > Hello Tomi, > >> On 14/08/2025 00:08, Marek Vasut wrote: >>> Remove fixed PPI lane count setup. The R-Car DSI host is capable >>> of operating in 1..4 DSI lane mode. Remove the hard-coded 4-lane >>> confi

Re: [PATCH v2 12/37] drm/arm/malidp: Switch to drm_atomic_get_new_crtc_state()

2025-09-02 Thread Liviu Dudau
On Tue, Sep 02, 2025 at 11:35:11AM +0200, Maxime Ripard wrote: > The malidp atomic_check implementation uses the deprecated > drm_atomic_get_existing_crtc_state() helper. > > This hook is called as part of the global atomic_check, thus before the > states are swapped. The existing state thus point

Re: [PATCH v1 07/19] staging: media: tegra-video: csi: parametrize MIPI calibration device presence

2025-09-02 Thread Mikko Perttunen
On Tuesday, August 19, 2025 9:16 PM Svyatoslav Ryhel wrote: > Dedicated MIPI calibration block appears only in Tegra114, before Tegra114 > all MIPI calibration pads were part of VI block. > > Signed-off-by: Svyatoslav Ryhel > --- > drivers/staging/media/tegra-video/csi.c | 12 +++- >

[PATCH v2 37/37] mm: remove nth_page()

2025-09-02 Thread David Hildenbrand
Now that all users are gone, let's remove it. Reviewed-by: Lorenzo Stoakes Signed-off-by: David Hildenbrand --- include/linux/mm.h | 2 -- tools/testing/scatterlist/linux/mm.h | 1 - 2 files changed, 3 deletions(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index 2c

Re: [PATCH v2 5/6] drm/format-helper: introduce drm_fb_xrgb8888_to_gray2()

2025-09-02 Thread Javier Martinez Canillas
Thomas Zimmermann writes: Hello Thomas, > Hi > > Am 11.08.25 um 14:06 schrieb Marcus Folkesson: >> On Mon, Jul 21, 2025 at 01:24:19PM +0200, Javier Martinez Canillas wrote: >>> Marcus Folkesson writes: >>> Convert XRGB to 2bit grayscale. It uses drm_fb_xrgb_to_gray8() to

[PATCH v1 2/3] misc: fastrpc: Update context ID mask for polling mode support

2025-09-02 Thread Ekansh Gupta
Current fastrpc message context uses a 12-bit mask where the upper 8 bits are context ID from idr_alloc_cyclic and the lower 4 bits represent PD type. This design works for normal fastrpc calls but doesn't work as expected for polling mode. To enable polling mode support from DSP(DSP writes to poll

Re: [PATCH 3/3] drm/panic: Add a kconfig option to dump kunits results to png

2025-09-02 Thread Maxime Ripard
On Mon, Sep 01, 2025 at 03:04:26PM +0200, Jocelyn Falempe wrote: > On 27/08/2025 12:45, Thomas Zimmermann wrote: > > Hi > > > > Am 21.08.25 um 11:49 schrieb Jocelyn Falempe: > > > This is a bit hacky, but very handy if you want to customize the > > > panic screen. > > > It allows to dump the gener

Re: [PATCH 2/2] drm/bridge: ti-sn65dsi86: break probe dependency loop

2025-09-02 Thread Doug Anderson
Hi, On Tue, Sep 2, 2025 at 9:23 AM John Ripple wrote: > > Hi, > > >Which i2c bridge are you talking about? You mean the one created by > >i2c_add_adapter() in drm_dp_aux_register()? I guess I'm confused about > >why the DSI probe routine would even be looking for that adapter. > > The i2c bridge

Re: [PATCH 04/14] Documentation: amd-pstate: Use internal link to kselftest

2025-09-02 Thread Mario Limonciello
On 8/29/2025 2:55 AM, Bagas Sanjaya wrote: Convert kselftest docs link to internal cross-reference. Signed-off-by: Bagas Sanjaya --- Documentation/admin-guide/pm/amd-pstate.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/admin-guide/pm/amd-pstate.rst

Re: [PATCH 4/9] dma-buf: heaps: Add debugfs support

2025-09-02 Thread John Stultz
On Tue, Sep 2, 2025 at 8:46 AM Thierry Reding wrote: > > From: Thierry Reding > > Add a callback to struct dma_heap_ops that heap providers can implement > to show information about the state of the heap in debugfs. A top-level > directory named "dma_heap" is created in debugfs and individual fil

Re: [PATCH v3 12/12] PM: EM: Use scope-based cleanup helper

2025-09-02 Thread Zihuan Zhang
> You are not improving the source code here. This is not how to use > __free() and you clearly do not understand the source code. Sorry for the problem, policy should be assigned after cpumask_test_cpu(). I actually realized earlier that __free() only frees at the end of the variable???s lifet

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

2025-09-02 Thread Balbir Singh
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 existing page_free() callback in pgmap is called when the folio is freed

[v4 07/15] mm/memory/fault: add THP fault handling for zone device private pages

2025-09-02 Thread Balbir Singh
Implement CPU fault handling for zone device THP entries through do_huge_pmd_device_private(), enabling transparent migration of device-private large pages back to system memory on CPU access. When the CPU accesses a zone device THP entry, the fault handler calls the device driver's migrate_to_ram

[v4 06/15] mm/migrate_device: implement THP migration of zone device pages

2025-09-02 Thread Balbir Singh
MIGRATE_VMA_SELECT_COMPOUND will be used to select THP pages during migrate_vma_setup() and MIGRATE_PFN_COMPOUND will make migrating device pages as compound pages during device pfn migration. migrate_device code paths go through the collect, setup and finalize phases of migration. The entries in

[PATCH] drm/tidss: dispc: Explicitly include bitfield.h

2025-09-02 Thread Nathan Chancellor
tidss/tidss_dispc.c @@ -4,6 +4,7 @@ * Author: Jyri Sarha */ +#include #include #include #include --- base-commit: 306734a1c76ce35fa613ea823a31ddbcdbf1eef5 change-id: 20250902-drm-tidss-fix-missing-bitfield-h-9b004e613a71 Best regards, -- Nathan Chancellor

Re: [PATCH V3] accel/amdxdna: Add ioctl DRM_IOCTL_AMDXDNA_GET_ARRAY

2025-09-02 Thread Mario Limonciello
On 9/2/2025 12:50 PM, Lizhi Hou wrote: Add interface for applications to get information array. The application provides a buffer pointer along with information type, maximum number of entries and maximum size of each entry. The buffer may also contain match conditions based on the information ty

[v4 10/15] mm/migrate_device: add THP splitting during migration

2025-09-02 Thread Balbir Singh
Implement migrate_vma_split_pages() to handle THP splitting during the migration process when destination cannot allocate compound pages. This addresses the common scenario where migrate_vma_setup() succeeds with MIGRATE_PFN_COMPOUND pages, but the destination device cannot allocate large pages du

[v4 12/15] selftests/mm/hmm-tests: new tests for zone device THP migration

2025-09-02 Thread Balbir Singh
Add new tests for migrating anon THP pages, including anon_huge, anon_huge_zero and error cases involving forced splitting of pages during migration. Cc: Andrew Morton Cc: David Hildenbrand Cc: Zi Yan Cc: Joshua Hahn Cc: Rakie Kim Cc: Byungchul Park Cc: Gregory Price Cc: Ying Huang Cc: Ali

[v4 15/15] gpu/drm/nouveau: enable THP support for GPU memory migration

2025-09-02 Thread Balbir Singh
Enable MIGRATE_VMA_SELECT_COMPOUND support in nouveau driver to take advantage of THP zone device migration capabilities. Update migration and eviction code paths to handle compound page sizes appropriately, improving memory bandwidth utilization and reducing migration overhead for large GPU memor

  1   2   3   4   >