udmabuf vmap failed (Revert "udmabuf: fix vmap_udmabuf error page set" can help)

2025-03-10 Thread Bingbu Cao
Huan Yang and Vivek, I am trying to use udmabuf for my test, and I cannot vmap the udmabuf buffers now. vmap_pfn_apply() will report a warning to complain that the pfns are invalid. I dump the pfn numbers as below: [ 3365.399641] pg[0] pfn 1148695 [ 3365.399642] pg[1] pfn 1145057 [ 3365.399642]

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

2025-03-10 Thread Andy Yan
Hi Simona and Laurent, At 2025-03-07 21:25:02, "Simona Vetter" wrote: >On Fri, Mar 07, 2025 at 03:30:41PM +0800, Andy Yan wrote: >> >> Hi All, >> At 2025-03-07 09:08:48, "Andy Yan" wrote: >> >Hi All, >> > >> >At 2025-03-06 23:41:24, "Simona Vetter" wrote: >> >>On Thu, Mar 06, 2025 at 08:10:1

Re: [PATCH v2] drm/ci: use shallow clone to avoid timeouts

2025-03-10 Thread Vignesh Raman
Hi Daniel, On 10/03/25 13:55, Daniel Stone wrote: Hi Vignesh, On Fri, 28 Feb 2025 at 15:12, Vignesh Raman wrote: The python-artifacts job has a timeout of 10 minutes, which causes build failures as it was unable to clone the repository within the specified limits. Set GIT_DEPTH to 50 to speed

[PATCH V3] drm/sched: Fix fence reference count leak

2025-03-10 Thread Qianyi Liu
> Sorry for the delay > > On Wed, 2025-02-26 at 17:05 +0800, Qianyi Liu wrote: >> From: qianyi liu >> >> The last_scheduled fence leaked when an entity was being killed and >> adding its callback failed. > > s/leaked/leaks > > s/was being/is being > > s/its callback/the cleanup callback > > s/fail

Re: linux-next: manual merge of the drm-xe tree with the mm tree

2025-03-10 Thread Alistair Popple
On Tue, Mar 11, 2025 at 01:12:14PM +1100, Stephen Rothwell wrote: > Hi all, > > On Fri, 7 Mar 2025 12:29:54 +1100 Stephen Rothwell > wrote: > > > > Hi all, > > > > Today's linux-next merge of the drm-xe tree got a conflict in: > > > > mm/memory.c > > > > between commit: > > > > 089b22f60

[PATCH v2 0/9] Remove pcf50633

2025-03-10 Thread linux
From: "Dr. David Alan Gilbert" The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in: commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support") See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/ Remove it. I've split this up

[PATCH v1] arm64: defconfig: mediatek: enable PHY drivers

2025-03-10 Thread Vignesh Raman
The mediatek display driver fails to probe on mt8173 and mt8183 in v6.14-rc4, with the following errors: mt8173: platform 1401b000.dsi: deferred probe pending: mtk-dsi: Failed to get hs clock platform 14025000.hdmi: deferred probe pending: (reason unknown) i2c 1-0008: deferred probe pending: (reas

Re: [PATCH v2 0/6] Support for Adreno 623 GPU

2025-03-10 Thread Akhil P Oommen
cc_cx_gmu_clk' was expected > from schema $id: http://devicetree.org/schemas/iommu/arm,smmu.yaml# > arch/arm64/boot/dts/qcom/qcs8300-ride.dtb: iommu@3da: clock-names:5: > 'gpu_cc_hub_cx_int_clk' was expected > from schema $id: http://devicetree.org/schemas/iommu/arm,smmu.yaml# > > > > > These warnings are for the smmu dt change which I marked as a dependency. Hopefully, the v6 revision from Pratyush will fix this. https://lore.kernel.org/linux-arm-kernel/20250310-b4-branch-gfx-smmu-v6-1-15c60b8ab...@quicinc.com/T/ -Akhil.

Re: [PATCH v2 4/6] dt-bindings: gpu: v3d: Add SMS to the registers' list

2025-03-10 Thread Krzysztof Kozlowski
On 10/03/2025 14:15, Maíra Canal wrote: > Hi Krzysztof, > > On 3/10/25 09:55, Krzysztof Kozlowski wrote: >> On 10/03/2025 12:57, Maíra Canal wrote: > Signed-off-by: Maíra Canal > --- >.../devicetree/bindings/gpu/brcm,bcm-v3d.yaml | 60 > -- >

Re: [PATCH v10 00/13] drm/bridge: cdns-dsi: Fix the color-shift issue

2025-03-10 Thread Aradhya Bhatia
Hi, All the patches within this series have been reviewed. Are there any more concerns that should be taken care of? On 26/02/25 21:22, Aradhya Bhatia wrote: > Hello all, > > This series provides some crucial fixes and improvements for the Cadence's DSI > TX (cdns-dsi) controller found commonly

Re: [PATCH next] drm/xe: Fix uninitialized variable in xe_vm_bind_ioctl()

2025-03-10 Thread Matthew Brost
On Mon, Mar 10, 2025 at 10:04:22PM -0700, Matthew Brost wrote: > On Mon, Mar 10, 2025 at 09:22:50PM +0300, Dan Carpenter wrote: > > On Mon, Mar 10, 2025 at 12:56:46PM -0400, Rodrigo Vivi wrote: > > > On Mon, Mar 10, 2025 at 01:48:00PM +0300, Dan Carpenter wrote: > > > > The error handling assumes t

[PATCH v2 1/9] mfd: pcf50633-adc: Remove

2025-03-10 Thread linux
From: "Dr. David Alan Gilbert" The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in: commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support") See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/ Remove it. Signed-off-by: Dr.

Re: [PATCH v2 4/6] dt-bindings: gpu: v3d: Add SMS to the registers' list

2025-03-10 Thread Krzysztof Kozlowski
On Sat, Mar 08, 2025 at 11:33:43AM -0300, Maíra Canal wrote: > V3D 7.1 exposes a new register block, called V3D_SMS. As BCM2712 has a Where is the comaptible for this new block? Or was it already documented but with missing register? > V3D 7.1 core, add a new register item to the list. Similar to

Re: [PATCH v7 4/6] drm/xe/uapi: Define drm_xe_vm_get_faults

2025-03-10 Thread Zhang, Jianxun
From: Cavitt, Jonathan Sent: Monday, March 10, 2025 10:18 AM To: intel...@lists.freedesktop.org Cc: Gupta, saurabhg ; Zuo, Alex ; Cavitt, Jonathan ; joonas.lahti...@linux.intel.com ; Brost, Matthew ; Zhang, Jianxun ; Lin, Shuicheng ; dri-devel@lists.freedesk

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

2025-03-10 Thread Stephen Rothwell
Hi all, On Fri, 7 Mar 2025 12:58:03 +1100 Stephen Rothwell wrote: > > After merging the drm-xe tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/gpu/drm/drm_gpusvm.c: In function 'drm_gpusvm_range_get_pages': > drivers/gpu/drm/drm_gpusvm.c:1404:44: error: 'str

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

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

Re: [PATCH 2/2] drm/amdgpu: Make use of drm_wedge_app_info

2025-03-10 Thread Alex Deucher
On Mon, Mar 10, 2025 at 5:54 PM André Almeida wrote: > > Em 01/03/2025 03:04, Raag Jadav escreveu: > > On Fri, Feb 28, 2025 at 06:49:43PM -0300, André Almeida wrote: > >> Hi Raag, > >> > >> On 2/28/25 11:58, Raag Jadav wrote: > >>> On Fri, Feb 28, 2025 at 09:13:53AM -0300, André Almeida wrote: > >

[PATCH v3 04/18] drm/imagination: Use new generic compatible string

2025-03-10 Thread Matt Coster
Follow-on from the companion dt-bindings change ("dt-bindings: gpu: img: More explicit compatible strings"), deprecating "img,img-axe" in favour of the more explicit combination of "img,img-rogue" and "img,img-axe-1-16m". Since all relevant details are interrogated from the device at runtime, we c

Re: (subset) [PATCH v3 00/16] Converge on using secs_to_jiffies() part two

2025-03-10 Thread Martin K. Petersen
Hi Andrew! > Really, an acked-by would have been much easier all around, but > whatever. Hard to keep track of which of these kernel-wide series go through one tree and which ones don't. I generally err on the side of picking up things which may conflict with driver updates in my tree. Judging

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

2025-03-10 Thread Stephen Rothwell
Hi Stephen, On Fri, 7 Mar 2025 13:21:12 +1100 Stephen Rothwell wrote: > > Hi all, > > After merging the drm-xe tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > In file included from include/linux/kernel.h:22, > from include/linux/cpumask.h:11, >

Re: linux-next: manual merge of the drm-xe tree with the mm tree

2025-03-10 Thread Stephen Rothwell
Hi all, On Fri, 7 Mar 2025 12:29:54 +1100 Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the drm-xe tree got a conflict in: > > mm/memory.c > > between commit: > > 089b22f60a0f ("mm: allow compound zone device pages") > > from the mm-unstable branch of the mm tree a

Re: (subset) [PATCH v3 00/16] Converge on using secs_to_jiffies() part two

2025-03-10 Thread Andrew Morton
On Mon, 10 Mar 2025 21:19:03 -0400 "Martin K. Petersen" wrote: > On Tue, 25 Feb 2025 20:17:14 +, Easwar Hariharan wrote: > > > This is the second series (part 1*) that converts users of > > msecs_to_jiffies() that > > either use the multiply pattern of either of: > > - msecs_to_jiffies(N*1

[PATCH v2 5/9] regulator: pcf50633-regulator: Remove

2025-03-10 Thread linux
From: "Dr. David Alan Gilbert" The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in: commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support") See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/ Remove it. Signed-off-by: Dr.

[PATCH v1 2/6] drm/panfrost: Use GPU_MMU_FEATURES_VA_BITS/PA_BITS macros

2025-03-10 Thread Ariel D'Alessandro
As done in panthor, define and use these GPU_MMU_FEATURES_* macros, which makes code easier to read and reuse. Signed-off-by: Ariel D'Alessandro Reviewed-by: Boris Brezillon Reviewed-by: Steven Price --- drivers/gpu/drm/panfrost/panfrost_mmu.c | 6 -- drivers/gpu/drm/panfrost/panfrost_reg

[PATCH v2 9/9] mfd: pcf50633: Remove remains

2025-03-10 Thread linux
From: "Dr. David Alan Gilbert" Remove the remaining parts of the 50633, the core, headers and glue. The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in: commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support") See https://lore.kern

[PATCH v2 4/9] Input: pcf50633-input - Remove

2025-03-10 Thread linux
From: "Dr. David Alan Gilbert" The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in: commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support") See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/ Remove it. Signed-off-by: Dr.

[PATCH v2 8/9] mfd: pcf50633: Remove irq code

2025-03-10 Thread linux
From: "Dr. David Alan Gilbert" As part of the pcf50633 removal, take out it's irq code (which includes one bit still called from the core, but it'll go soon). Signed-off-by: Dr. David Alan Gilbert --- drivers/mfd/Makefile| 2 +- drivers/mfd/pcf50633-core.c | 5 +- drivers/mfd/pcf50

[PATCH v2 2/9] rtc: pcf50633: Remove

2025-03-10 Thread linux
From: "Dr. David Alan Gilbert" The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in: commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support") See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/ Remove it. Signed-off-by: Dr.

Re: [PATCH 0/9] Remove pcf50633

2025-03-10 Thread Dr. David Alan Gilbert
* Dr. David Alan Gilbert (li...@treblig.org) wrote: > * li...@treblig.org (li...@treblig.org) wrote: > > From: "Dr. David Alan Gilbert" > > > > The pcf50633 was used as part of the OpenMoko devices but > > the support for its main chip was recently removed in: > > commit 61b7f8920b17 ("ARM: s3c:

[PATCH v2 3/9] mfd: pcF50633-gpio: Remove

2025-03-10 Thread linux
From: "Dr. David Alan Gilbert" The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in: commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support") See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/ Remove it. Signed-off-by: Dr.

[PATCH v2 7/9] backlight: pcf50633-backlight: Remove

2025-03-10 Thread linux
From: "Dr. David Alan Gilbert" The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in: commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support") See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/ Remove it. Signed-off-by: Dr.

[PATCH v2 6/9] power: supply: pcf50633: Remove charger

2025-03-10 Thread linux
From: "Dr. David Alan Gilbert" The pcf50633 was used as part of the OpenMoko devices but the support for its main chip was recently removed in: commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support") See https://lore.kernel.org/all/Z8z236h4B5A6Ki3D@gallifrey/ Remove it. Signed-off-by: Dr.

Re: (subset) [PATCH v3 00/16] Converge on using secs_to_jiffies() part two

2025-03-10 Thread Martin K. Petersen
On Tue, 25 Feb 2025 20:17:14 +, Easwar Hariharan wrote: > This is the second series (part 1*) that converts users of msecs_to_jiffies() > that > either use the multiply pattern of either of: > - msecs_to_jiffies(N*1000) or > - msecs_to_jiffies(N*MSEC_PER_SEC) > > where N is a constant or an

Re: [PATCH v2 4/6] dt-bindings: gpu: v3d: Add SMS to the registers' list

2025-03-10 Thread Krzysztof Kozlowski
On 10/03/2025 12:57, Maíra Canal wrote: >> >>> Signed-off-by: Maíra Canal >>> --- >>> .../devicetree/bindings/gpu/brcm,bcm-v3d.yaml | 60 >>> -- >>> 1 file changed, 55 insertions(+), 5 deletions(-) >>> >>> diff --git a/Documentation/devicetree/bindings/gpu/brcm,bcm-v3d

Re: [PATCH v3] drm/amdgpu: Trigger a wedged event for ring reset

2025-03-10 Thread Alex Deucher
Applied. Thanks On Tue, Mar 4, 2025 at 4:29 AM Christian König wrote: > > Am 25.02.25 um 02:02 schrieb André Almeida: > > Instead of only triggering a wedged event for complete GPU resets, > > trigger for ring resets. Regardless of the reset, it's useful for > > userspace to know that it happen

[Bug 219507] nouveau: GeForce GT 710: irq 166 handler nvkm_intr+0x0/0x1b3 [nouveau] enabled interrupts

2025-03-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=219507 Joe Breuer (linux-ker...@jmbreuer.net) changed: What|Removed |Added CC||linux-ker...@jmbr

[PATCH v1 2/2] drm/msm/dp: Introduce link training per-segment for LTTPRs

2025-03-10 Thread Aleksandrs Vinarskis
DisplayPort requires per-segment link training when LTTPR are switched to non-transparent mode, starting with LTTPR closest to the source. Only when each segment is trained individually, source can link train to sink. Implement per-segment link traning when LTTPR(s) are detected, to support extern

Re: [PATCH RFC v2 1/5] rust: add useful ops for u64

2025-03-10 Thread Timur Tabi
On Tue, 2025-03-04 at 22:53 +0900, Alexandre Courbot wrote: > +/// Useful operations for `u64`. > +pub trait U64Ext { > +    /// Build a `u64` by combining its `high` and `low` parts. > +    /// > +    /// ``` > +    /// use kernel::num::U64Ext; > +    /// assert_eq!(u64::from_u32s(0x01234567, 0x89

[PATCH v1 1/2] drm/msm/dp: Fix support of LTTPR handling

2025-03-10 Thread Aleksandrs Vinarskis
Take into account LTTPR capabilities when selecting maximum allowed link rate, number of data lines. Initialize LTTPR before msm_dp_panel_read_sink_caps, as a) Link params computation need to take into account LTTPR's caps b) It appears DPTX shall (re)read DPRX caps after LTTPR detection Return lt

Re: [RFC PATCH 3/4] drm/panfrost: Support ARM_64_LPAE_S1 page table

2025-03-10 Thread Ariel D'Alessandro
Hi Boris, On 2/27/25 11:55 AM, Boris Brezillon wrote: On Wed, 26 Feb 2025 15:30:42 -0300 Ariel D'Alessandro wrote: @@ -642,8 +713,15 @@ struct panfrost_mmu *panfrost_mmu_ctx_create(struct panfrost_device *pfdev) .iommu_dev = pfdev->dev, }; - mmu->pgtbl_ops = a

[PATCH v3 15/18] drm/imagination: Use cached memory with dma_coherent

2025-03-10 Thread Matt Coster
The TI k3-j721s2 platform does not allow us to use uncached memory (which is what the driver currently does) without disabling cache snooping on the AXI ACE-Lite interface, which would be too much of a performance hit. Given the platform is dma-coherent, we can simply force all device-accessible m

[PATCH v1 0/2] drm/msm/dp: Introduce link training per-segment for LTTPRs

2025-03-10 Thread Aleksandrs Vinarskis
Recently added Initial LTTPR support in msm/dp has configured LTTPR(s) to non-transparent mode to enable video output on X1E-based devices that come with LTTPR on the motherboards. However, video would not work if additional LTTPR(s) are present between sink and source, which is the case for USB Ty

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

2025-03-10 Thread Dmitry Baryshkov
On Mon, 10 Mar 2025 at 17:08, Maxime Ripard wrote: > > On Fri, Mar 07, 2025 at 07:55:53AM +0200, Dmitry Baryshkov wrote: > > From: Dmitry Baryshkov > > > > The MSM DisplayPort driver implements several HDMI codec functions > > in the driver, e.g. it manually manages HDMI codec device registration

[PATCH v1 5/6] drm/panfrost: Enable AARCH64_4K page table format on mediatek_mt8188

2025-03-10 Thread Ariel D'Alessandro
Now that Panfrost supports AARCH64_4K page table format, let's enable it on Mediatek MT8188. Signed-off-by: Ariel D'Alessandro --- drivers/gpu/drm/panfrost/panfrost_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panfrost/panfrost_drv.c b/drivers/gpu/drm/panfrost/panfr

[PATCH v3 10/18] drm/imagination: Make has_fixed_data_addr a value

2025-03-10 Thread Matt Coster
This is currently a callback function which takes no parameters; there's no reason for this so let's make it a straightforward value in pvr_fw_defs. Signed-off-by: Matt Coster --- Changes in v3: - None - Link to v2: https://lore.kernel.org/r/20241118-sets-bxs-4-64-patch-v1-v2-11-3fd45d9fb...@img

[PATCH v7 4/6] drm/xe/uapi: Define drm_xe_vm_get_faults

2025-03-10 Thread Jonathan Cavitt
Add initial declarations for the drm_xe_vm_get_faults ioctl. Signed-off-by: Jonathan Cavitt --- include/uapi/drm/xe_drm.h | 49 +++ 1 file changed, 49 insertions(+) diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h index 616916985e3f..90c2fcd

Re: [PATCH v8 05/11] dt-bindings: allwinner: add H616 DE33 bus binding

2025-03-10 Thread Rob Herring
On Mon, Mar 10, 2025 at 10:09:51PM +1300, Ryan Walklin wrote: > The Allwinner H616 and variants have a new display engine revision > (DE33). > > Add a display engine bus binding for the DE33 and increase reg maxItems > to 3 to accommodate additional register blocks. > > Signed-off-by: Ryan Walkli

[PATCH v1 3/6] drm/panfrost: Unify panfrost_mmu_enable/disable common code

2025-03-10 Thread Ariel D'Alessandro
Both these functions write to MMU_AS_CONTROL register in the same way. Define a common _panfrost_mmu_as_control_write function with the shared code. Signed-off-by: Ariel D'Alessandro --- drivers/gpu/drm/panfrost/panfrost_mmu.c | 33 - 1 file changed, 16 insertions(+), 17

Re: drm: mipi_dbi_hw_reset() keeps display in reset

2025-03-10 Thread Alex Lanzano
On Fri, Mar 07, 2025 at 10:25:18AM +0100, Josef Luštický wrote: > Ok, I'll implement the change and post it for a review. > About the property naming, I tend to name it something like > "inverted-reset-gpio-fixed" to denote that it is assumed the code > using the "reset-gpios" property was fixed. >

[PATCH v6 3/6] drm/sched: Add a simple timeout test

2025-03-10 Thread Tvrtko Ursulin
Add a very simple timeout test which submits a single job and verifies that the timeout handling will run if the backend failed to complete the job in time. Signed-off-by: Tvrtko Ursulin Cc: Christian König Cc: Danilo Krummrich Cc: Matthew Brost Cc: Philipp Stanner --- .../gpu/drm/scheduler/

Re: [PATCH] drm/dp_mst: Fix locking when skipping CSN before topology probing

2025-03-10 Thread Lyude Paul
Reviewed-by: Lyude Paul And yes - feel free to push this change! On Mon, 2025-03-10 at 19:24 +0200, Imre Deak wrote: > On Mon, Mar 10, 2025 at 01:01:25PM +, Lin, Wayne wrote: > > [Public] > > > > > -Original Message- > > > From: Imre Deak > > > Sent: Monday, March 10, 2025 7:00 PM

Re: [PATCH 2/2] drm/amdgpu: Make use of drm_wedge_app_info

2025-03-10 Thread André Almeida
Em 01/03/2025 03:04, Raag Jadav escreveu: On Fri, Feb 28, 2025 at 06:49:43PM -0300, André Almeida wrote: Hi Raag, On 2/28/25 11:58, Raag Jadav wrote: On Fri, Feb 28, 2025 at 09:13:53AM -0300, André Almeida wrote: To notify userspace about which app (if any) made the device get in a wedge stat

RE: [PATCH v7 2/6] drm/xe/xe_gt_pagefault: Migrate pagefault struct to header

2025-03-10 Thread Cavitt, Jonathan
-Original Message- From: Wajdeczko, Michal Sent: Monday, March 10, 2025 11:20 AM To: Cavitt, Jonathan ; intel...@lists.freedesktop.org Cc: Gupta, saurabhg ; Zuo, Alex ; joonas.lahti...@linux.intel.com; Brost, Matthew ; Zhang, Jianxun ; Lin, Shuicheng ; dri-devel@lists.freedesktop.org S

Re: [PATCH 1/2] drm: Create an app info option for wedge events

2025-03-10 Thread André Almeida
Em 01/03/2025 02:53, Raag Jadav escreveu: On Fri, Feb 28, 2025 at 06:54:12PM -0300, André Almeida wrote: Hi Raag, On 2/28/25 11:20, Raag Jadav wrote: Cc: Lucas On Fri, Feb 28, 2025 at 09:13:52AM -0300, André Almeida wrote: When a device get wedged, it might be caused by a guilty application.

Re: [V7 14/45] drm/vkms: Add enumerated 1D curve colorop

2025-03-10 Thread Harry Wentland
On 2025-02-25 06:18, Louis Chauvet wrote: > Le 20/12/2024 à 05:33, Alex Hung a écrit : >> From: Harry Wentland >> (snip) >> +    { 0xfbfb, 0xfbfb, 0xfbfb, 0 }, >> +    { 0xfcfc, 0xfcfc, 0xfcfc, 0 }, >> +    { 0xfdfd, 0xfdfd, 0xfdfd, 0 }, >> +    { 0xfefe, 0xfefe, 0xfefe, 0 }, >> +    { 0x

[PATCH v6 0/6] DRM scheduler kunit tests

2025-03-10 Thread Tvrtko Ursulin
There has repeatedly been quite a bit of apprehension when any change to the DRM scheduler is proposed, with two main reasons being code base is considered fragile, not well understood and not very well documented, and secondly the lack of systematic testing outside the vendor specific tests suites

Re: [PATCH v5 RESEND 1/2] dmaengine: qcom: gpi: Add GPI Block event interrupt support

2025-03-10 Thread Vinod Koul
On 12-02-25, 17:35, Jyothi Kumar Seerapu wrote: > GSI hardware generates an interrupt for each transfer completion. > For multiple messages within a single transfer, this results in > N interrupts for N messages, leading to significant software > interrupt latency. > > To mitigate this latency, ut

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

2025-03-10 Thread Dmitry Baryshkov
On Mon, Mar 10, 2025 at 12:01:36PM +0800, Yongbang Shi wrote: > From: Baihan Li > > Add HPD interrupt enable functions in drm framework, and also add > detect_ctx functions. Because of the debouncing when HPD pulled out, > add 200 ms delay in detect_ctx(). Add link reset process to reset link > s

Re: [PATCH 1/4] drm/display: hdmi: provide central data authority for ACR params

2025-03-10 Thread Dmitry Baryshkov
On Mon, Mar 10, 2025 at 03:46:33PM +0100, Maxime Ripard wrote: > On Sun, Mar 09, 2025 at 10:13:56AM +0200, Dmitry Baryshkov wrote: > > From: Dmitry Baryshkov > > > > HDMI standard defines recommended N and CTS values for Audio Clock > > Regeneration. Currently each driver implements those, freque

[PATCH 5.15 256/620] m68k: vga: Fix I/O defines

2025-03-10 Thread Greg Kroah-Hartman
5.15-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Zimmermann commit 53036937a101b5faeaf98e7438555fa854a1a844 upstream. Including m68k's in vga.h on nommu platforms results in conflicting defines with io_no.h for various I/O macros fro

Re: [PATCH v8 06/13] drm/bridge: analogix_dp: Add support to get panel from the DP AUX bus

2025-03-10 Thread Dmitry Baryshkov
On Mon, Mar 10, 2025 at 06:41:07PM +0800, Damon Ding wrote: > The main modification is moving the DP AUX initialization from function > analogix_dp_bind() to analogix_dp_probe(). In order to get the EDID of > eDP panel during probing, it is also needed to advance PM operations to > ensure that eDP

[PATCH v2] drm/panthor: Make the timeout per-queue instead of per-job

2025-03-10 Thread Ashley Smith
The timeout logic provided by drm_sched leads to races when we try to suspend it while the drm_sched workqueue queues more jobs. Let's overhaul the timeout handling in panthor to have our own delayed work that's resumed/suspended when a group is resumed/suspended. When an actual timeout occurs, we

Re: [PATCH V2 2/2] drm/vc4: hdmi: Add jack detection to HDMI audio driver

2025-03-10 Thread Maxime Ripard
On Thu, Mar 06, 2025 at 03:47:27PM +, David Turner wrote: > Hi all, > > On Thu, 6 Mar 2025 at 13:39, Maxime Ripard wrote: > > It looks fairly generic to me. Is there any reason you didn't put it in > > the HDMI audio helpers? > > I originally wrote the downstream patch last year on 6.6, befo

Re: [PATCH 05/10] dt-bindings: display/msm: Add Qualcomm SAR2130P

2025-03-10 Thread Rob Herring
On Fri, Mar 7, 2025 at 11:09 PM Dmitry Baryshkov wrote: > > On Fri, Mar 07, 2025 at 09:40:56PM -0600, Rob Herring (Arm) wrote: > > > > On Sat, 08 Mar 2025 03:42:23 +0200, Dmitry Baryshkov wrote: > > > From: Dmitry Baryshkov > > > > > > Describe the Mobile Display SubSystem (MDSS) device present o

Re: [PATCH v2 4/6] dt-bindings: gpu: v3d: Add SMS to the registers' list

2025-03-10 Thread Maíra Canal
Hi Krzysztof, On 3/10/25 09:55, Krzysztof Kozlowski wrote: On 10/03/2025 12:57, Maíra Canal wrote: Signed-off-by: Maíra Canal --- .../devicetree/bindings/gpu/brcm,bcm-v3d.yaml | 60 -- 1 file changed, 55 insertions(+), 5 deletions(-) diff --git a/Documentation

[PATCH v3 08/18] drm/imagination: Remove firmware enable_reg

2025-03-10 Thread Matt Coster
After a previous commit ("drm/imagination: Mask GPU IRQs in threaded handler"), this register is now only used to enable firmware interrupts at start-of-day. This is, however, unnecessary since they are enabled by default. In addition, the soon-to-be-added RISC-V firmware processors do not have an

[PATCH DO NOT MERGE v3 17/18] arm64: dts: ti: k3-am62: New GPU binding details

2025-03-10 Thread Matt Coster
Use the new compatible string introduced earlier (in "dt-bindings: gpu: img: More explicit compatible strings") and add a name to the single power domain for this GPU (introduced in "dt-bindings: gpu: img: Power domain details"). Signed-off-by: Matt Coster --- Changes in v3: - None - Link to v2:

[PATCH v3 05/18] drm/imagination: Add power domain control

2025-03-10 Thread Matt Coster
The first supported GPU only used a single power domain so this was automatically handled by the device runtime. In order to support multiple power domains, they must be enumerated from devicetree and linked to both the GPU device and each other to ensure correct power sequencing at start time. F

[PATCH v3 16/18] drm/imagination: Add support for TI AM68 GPU

2025-03-10 Thread Matt Coster
Since we already added a generic compatible string for all IMG Rogue GPUs ("img,img-rogue"), all that's needed here is to link the appropriate firmware for the BXS-4-64 GPU in the AM68. Signed-off-by: Matt Coster --- Changes in v3: - Remove device overrides - Remove specific compatible string - L

[PATCH v3 14/18] drm/imagination: Add RISC-V firmware processor support

2025-03-10 Thread Matt Coster
From: Sarah Walker Newer PowerVR GPUs (such as the BXS-4-64 MC1) use a RISC-V firmware processor instead of the previous MIPS or META. Signed-off-by: Sarah Walker Signed-off-by: Matt Coster --- Changes in v3: - Don't enable debug module - Link to v2: https://lore.kernel.org/r/20241118-sets-bx

[PATCH v3 03/18] drm/imagination: Update register defs for newer GPUs

2025-03-10 Thread Matt Coster
From: Alessio Belle Update the register define header to a newer version that covers more recent GPUs, including BXS-4-64. Signed-off-by: Alessio Belle Signed-off-by: Matt Coster --- Changes in v3: - Added --- drivers/gpu/drm/imagination/pvr_rogue_cr_defs.h | 153 +--- 1 f

[PATCH v3 09/18] drm/imagination: Rename event_mask -> status_mask

2025-03-10 Thread Matt Coster
Now that enable_reg isn't used, rename the previously shared event_mask to status_mask since it's only used with status_reg. Signed-off-by: Matt Coster --- Changes in v3: - None - Link to v2: https://lore.kernel.org/r/20241118-sets-bxs-4-64-patch-v1-v2-11-3fd45d9fb...@imgtec.com Changes in v2: -

[PATCH v3 12/18] drm/imagination: Use callbacks for fw irq handling

2025-03-10 Thread Matt Coster
This allows for more versatility in checking and clearing firmware registers used for interrupt handling. Signed-off-by: Matt Coster --- Changes in v3: - None - Link to v2: https://lore.kernel.org/r/20241118-sets-bxs-4-64-patch-v1-v2-14-3fd45d9fb...@imgtec.com Changes in v2: - None - Link to v1:

[PATCH v3 01/18] dt-bindings: gpu: img: Future-proofing enhancements

2025-03-10 Thread Matt Coster
The first compatible strings added for the AXE-1-16M are not sufficient to accurately describe all the IMG Rogue GPUs. The current "img,img-axe" string refers to the entire family of Series AXE GPUs, but this is primarily a marketing term and does not denote a level of hardware similarity any great

[PATCH v3 06/18] drm/imagination: Mask GPU IRQs in threaded handler

2025-03-10 Thread Matt Coster
From: Alessio Belle Pass IRQF_ONESHOT flag to request_threaded_irq(), so that interrupts will be masked by the kernel until the end of the threaded IRQ handler. Since the calls to pvr_fw_irq_enable() and pvr_fw_irq_disable() are now redundant, remove them. Interrupts to the host from the soon-to

RE: [PATCH] drm/dp_mst: Fix locking when skipping CSN before topology probing

2025-03-10 Thread Lin, Wayne
[Public] > -Original Message- > From: Imre Deak > Sent: Monday, March 10, 2025 7:00 PM > To: Lin, Wayne > Cc: intel-...@lists.freedesktop.org; intel...@lists.freedesktop.org; dri- > de...@lists.freedesktop.org; Lyude Paul ; > sta...@vger.kernel.org > Subject: Re: [PATCH] drm/dp_mst: Fix

Re: [PATCH] drm/sched: revert "drm_sched_job_cleanup(): correct false doc"

2025-03-10 Thread Philipp Stanner
On Mon, 2025-03-10 at 13:25 +0100, Christian König wrote: > Am 10.03.25 um 13:11 schrieb Philipp Stanner: > > On Mon, 2025-03-10 at 08:44 +0100, Christian König wrote: > > > This reverts commit 44d2f310f008613c1dbe5e234c2cf2be90cbbfab. > > OK, your arguments with fence ordering are strong. Please u

Re: [PATCH v4 1/5] drm: Move some options to separate new Kconfig

2025-03-10 Thread Tvrtko Ursulin
On 10/03/2025 12:00, Philipp Stanner wrote: On Mon, 2025-03-10 at 11:54 +, Tvrtko Ursulin wrote: On 10/03/2025 11:11, Philipp Stanner wrote: On Mon, 2025-03-10 at 09:55 +, Tvrtko Ursulin wrote: On 07/03/2025 18:06, Philipp Stanner wrote: On Fri, 2025-03-07 at 16:59 +, Tvrtko U

Re: [PATCH] drm/sched: revert "drm_sched_job_cleanup(): correct false doc"

2025-03-10 Thread Tvrtko Ursulin
On 10/03/2025 12:11, Philipp Stanner wrote: On Mon, 2025-03-10 at 08:44 +0100, Christian König wrote: This reverts commit 44d2f310f008613c1dbe5e234c2cf2be90cbbfab. OK, your arguments with fence ordering are strong. Please update the commit message according to our discussion: Could that ar

Re: [PATCH] drm/sched: revert "drm_sched_job_cleanup(): correct false doc"

2025-03-10 Thread Christian König
Am 10.03.25 um 13:11 schrieb Philipp Stanner: > On Mon, 2025-03-10 at 08:44 +0100, Christian König wrote: >> This reverts commit 44d2f310f008613c1dbe5e234c2cf2be90cbbfab. > OK, your arguments with fence ordering are strong. Please update the > commit message according to our discussion: > >> Sorry

Re: [PATCH] drm/amdgpu/gfx: delete stray tabs

2025-03-10 Thread SRINIVASAN SHANMUGAM
On 3/10/2025 4:17 PM, Dan Carpenter wrote: These lines are indented one tab too far. Delete the extra tabs. Signed-off-by: Dan Carpenter --- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.

Re: [PATCH v2] drm/msm/dpu: reorder pointer operations after sanity checks to avoid NULL deref

2025-03-10 Thread Markus Elfring
… > Fix this by reordering the dereference after the sanity checks. Can another wording approach (like the following) be more appropriate? Thus move the assignment of the variable “dpu_enc” behind … Would an other summary phrase become nicer? Regards, Markus

[PATCH RFC 05/12] dma: contiguous: Provide accessor to dmem region

2025-03-10 Thread Maxime Ripard
Consumers of the DMA contiguous API will have to know which region their device allocates from in order for them to charge the memory allocation in the right one. Let's provide an accessor for that region. Signed-off-by: Maxime Ripard --- include/linux/dma-map-ops.h | 21 +

Re: [PATCH] drm/dp_mst: Fix locking when skipping CSN before topology probing

2025-03-10 Thread Imre Deak
On Mon, Mar 10, 2025 at 08:59:51AM +, Lin, Wayne wrote: > > > -Original Message- > > From: Imre Deak > > Sent: Saturday, March 8, 2025 2:32 AM > > To: intel-...@lists.freedesktop.org; intel...@lists.freedesktop.org; dri- > > de...@lists.freedesktop.org > > Cc: Lin, Wayne ; Lyude Paul

Re: [PATCH] drm/sched: revert "drm_sched_job_cleanup(): correct false doc"

2025-03-10 Thread Philipp Stanner
On Mon, 2025-03-10 at 08:44 +0100, Christian König wrote: > This reverts commit 44d2f310f008613c1dbe5e234c2cf2be90cbbfab. OK, your arguments with fence ordering are strong. Please update the commit message according to our discussion: > > Sorry for the delayed response, I only stumbled over this

[PATCH RFC 12/12] media: videobuf2: Track buffer allocations through the dmem cgroup

2025-03-10 Thread Maxime Ripard
The dmem cgroup allows to track any DMA memory allocation made by the userspace. Let's charge our allocations in videobuf2 to enable proper memory tracking. Signed-off-by: Maxime Ripard --- drivers/media/common/videobuf2/videobuf2-dma-contig.c | 19 +++ 1 file changed, 19 inserti

[PATCH RFC 10/12] dma-buf: cma: Account for allocations in dmem cgroup

2025-03-10 Thread Maxime Ripard
Now that we have a DMEM region per CMA region, we can track the allocations of the CMA heap through DMEM. Signed-off-by: Maxime Ripard --- drivers/dma-buf/heaps/cma_heap.c | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/drivers/dma-buf/heaps/cma_heap.c b/d

[PATCH RFC 09/12] dma-buf: Clear cgroup accounting on release

2025-03-10 Thread Maxime Ripard
In order to clean thing up when dma-heaps will allocate and register buffers in the dev cgroup, let's uncharge a released buffer for any (optional) cgroup controller. Signed-off-by: Maxime Ripard --- drivers/dma-buf/dma-buf.c | 7 +++ include/linux/dma-buf.h | 5 + 2 files changed, 12

[PATCH RFC 08/12] dma: Provide accessor to dmem region

2025-03-10 Thread Maxime Ripard
Consumers of the DMA API will have to know which DMA region their device allocate from in order for them to charge the memory allocation in the right one. Let's provide an accessor for that region. Signed-off-by: Maxime Ripard --- include/linux/dma-mapping.h | 11 +++ kernel/dma/mapping

[PATCH RFC 07/12] dma: Create default dmem region for DMA allocations

2025-03-10 Thread Maxime Ripard
Some DMA allocations are not going to be performed through dedicated sub-allocators but using the default path. We need to create a default region to track those as well. Signed-off-by: Maxime Ripard --- kernel/dma/mapping.c | 23 +++ 1 file changed, 23 insertions(+) diff --

[PATCH RFC 04/12] dma: coherent: Provide accessor to dmem region

2025-03-10 Thread Maxime Ripard
Consumers of the coherent DMA API will have to know which coherent region their device allocate from in order for them to charge the memory allocation in the right one. Let's provide an accessor for that region. Signed-off-by: Maxime Ripard --- include/linux/dma-map-ops.h | 11 +++ kern

[PATCH RFC 01/12] cma: Register dmem region for each cma region

2025-03-10 Thread Maxime Ripard
Now that the dmem cgroup has been merged, we need to create memory regions for each allocator devices might allocate DMA memory from. Since CMA is one of these allocators, we need to create such a region. CMA can deal with multiple regions though, so we'll need to create a dmem region per CMA regi

[PATCH RFC 02/12] cma: Provide accessor to cma dmem region

2025-03-10 Thread Maxime Ripard
Consumers of the CMA API will have to know which CMA region their device allocate from in order for them to charge the memory allocation in the right one. Let's provide an accessor for that region. Signed-off-by: Maxime Ripard --- include/linux/cma.h | 9 + mm/cma.c| 7 +

[PATCH RFC 03/12] dma: coherent: Register dmem region for each coherent region

2025-03-10 Thread Maxime Ripard
There can be several coherent memory region in the system, and all of them might end up being used to allocate a DMA buffer. Let's register a dmem region for each of them to make sure we can track those allocations. Signed-off-by: Maxime Ripard --- kernel/dma/coherent.c | 12 1 fil

[PATCH RFC 00/12] dma: Enable dmem cgroup tracking

2025-03-10 Thread Maxime Ripard
Hi, Here's preliminary work to enable dmem tracking for heavy users of DMA allocations on behalf of userspace: v4l2, DRM, and dma-buf heaps. It's not really meant for inclusion at the moment, because I really don't like it that much, and would like to discuss solutions on how to make it nicer. I

Re: [PATCH v4 1/5] drm: Move some options to separate new Kconfig

2025-03-10 Thread Philipp Stanner
On Mon, 2025-03-10 at 11:54 +, Tvrtko Ursulin wrote: > > On 10/03/2025 11:11, Philipp Stanner wrote: > > On Mon, 2025-03-10 at 09:55 +, Tvrtko Ursulin wrote: > > > > > > On 07/03/2025 18:06, Philipp Stanner wrote: > > > > On Fri, 2025-03-07 at 16:59 +, Tvrtko Ursulin wrote: > > > > >

[PATCH next] drm/xe: Fix uninitialized variable in xe_vm_bind_ioctl()

2025-03-10 Thread Dan Carpenter
The error handling assumes that vm_bind_ioctl_check_args() will initialize "bind_ops" but there are a couple early returns where that's not true. Initialize "bind_ops" to NULL from the start. Fixes: b43e864af0d4 ("drm/xe/uapi: Add DRM_XE_VM_BIND_FLAG_CPU_ADDR_MIRROR") Signed-off-by: Dan Carpenter

[PATCH] drm/amdkfd: delete stray tab in kfd_dbg_set_mes_debug_mode()

2025-03-10 Thread Dan Carpenter
These lines are indented one tab more than they should be. Delete the stray tabs. Signed-off-by: Dan Carpenter --- drivers/gpu/drm/amd/amdkfd/kfd_debug.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_debug.c b/drivers/gpu/drm/am

[PATCH] drm/amdgpu: Use tabs for indenting in amdgpu_sdma_reset_engine()

2025-03-10 Thread Dan Carpenter
This line has a seven space indent instead of a tab. Signed-off-by: Dan Carpenter --- drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c index 39669f8788

[PATCH] drm/amdgpu/gfx: delete stray tabs

2025-03-10 Thread Dan Carpenter
These lines are indented one tab too far. Delete the extra tabs. Signed-off-by: Dan Carpenter --- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c in

  1   2   >