Re: [PATCH] drm/exynos: exynos7_drm_decon: Consstify struct decon_data

2025-03-18 Thread Inki Dae
Hi Krzysztof, Merged. Thanks, Inki Dae 2025년 3월 18일 (화) 오후 5:19, Krzysztof Kozlowski < krzysztof.kozlow...@linaro.org>님이 작성: > static 'struct decon_data' is only read, so it can be const for code > safety. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/gpu/drm/exynos/exynos7_drm_decon

Re: [PATCH] drm/exynos: fixed a spelling error

2025-03-18 Thread Inki Dae
Hi, Merged. Thanks, Inki Dae 2025년 2월 28일 (금) 오후 11:45, Anindya Sundar Gayen 님이 작성: > Corrected a spelling mistake in the exynos_drm_fimd driver to improve code > readability. No functional changes were made. > > Signed-off-by: Anindya Sundar Gayen > --- > drivers/gpu/drm/exynos/exynos_drm_fi

[PATCH 1/7] drm/shmem-helper: Add lockdep asserts to vmap/vunmap

2025-03-18 Thread Daniel Almeida
From: Asahi Lina Since commit 21aa27ddc582 ("drm/shmem-helper: Switch to reservation lock"), the drm_gem_shmem_vmap and drm_gem_shmem_vunmap functions require that the caller holds the DMA reservation lock for the object. Add lockdep assertions to help validate this. Signed-off-by: Asahi Lina S

[PATCH 2/7] drm/gem-shmem: Export VM ops functions

2025-03-18 Thread Daniel Almeida
From: Asahi Lina There doesn't seem to be a way for the Rust bindings to get a compile-time constant reference to drm_gem_shmem_vm_ops, so we need to duplicate that structure in Rust... this isn't nice... Signed-off-by: Asahi Lina Signed-off-by: Daniel Almeida --- drivers/gpu/drm/drm_gem_shme

Re: [PATCH v3] drm/bridge: ti-sn65dsi86: Check bridge connection failure

2025-03-18 Thread Laurent Pinchart
Hi Wolfram, Thank you for the patch. On Tue, Mar 18, 2025 at 04:52:56PM +0100, Wolfram Sang wrote: > Read out and check the ID registers, so we can bail out if I2C > communication does not work or if the device is unknown. What's the advantage of that, what are you trying to guard against ? > T

[PATCH 5/7] drm/syncobj: Avoid temporary allocation in drm_syncobj_timeline_signal_ioctl

2025-03-18 Thread Tvrtko Ursulin
We can avoid one of the two temporary allocations if we read the userspace supplied timeline points as we go along. The only new complication is to unwind unused fence chains on the error path, but even that code was already present in the function. Signed-off-by: Tvrtko Ursulin --- drivers/gpu

[PATCH 2/7] drm/syncobj: Do not allocate an array to store zeros when waiting

2025-03-18 Thread Tvrtko Ursulin
When waiting on syncobjs the current code allocates a temporary array only to fill it up with all zeros. We can avoid that by relying on the allocated entry array already being zero allocated. For the timeline mode we can fetch the timeline point values as we populate the entries array so also do

[PATCH v9 5/6] drm/xe/xe_vm: Add per VM fault info

2025-03-18 Thread Jonathan Cavitt
Add additional information to each VM so they can report up to the first 50 seen faults. Only pagefaults are saved this way currently, though in the future, all faults should be tracked by the VM for future reporting. Additionally, of the pagefaults reported, only failed pagefaults are saved this

Re: [PATCH v2] dt-bindings: gpu: arm,mali-midgard: add exynos7870-mali compatible

2025-03-18 Thread Rob Herring (Arm)
On Tue, 18 Mar 2025 23:01:09 +0530, Kaustabh Chakraborty wrote: > Exynos7870 SoC uses the ARM Mali T830 GPU, document its compatible > string with the appropriate fallback. The T830 compatible is already > defined in the panfrost driver, but was commented out as it was unused. > > Reviewed-by: K

Re: [PATCH 4/9] dt-bindings: arm: qcom,coresight-static-replicator: add optional clocks

2025-03-18 Thread Dmitry Baryshkov
On Tue, Mar 18, 2025 at 01:37:23PM +, Suzuki K Poulose wrote: > On 18/03/2025 12:19, Dmitry Baryshkov wrote: > > On Tue, Mar 18, 2025 at 10:38:17AM +, Suzuki K Poulose wrote: > > > On 17/03/2025 17:44, Dmitry Baryshkov wrote: > > > > > > nit: Subject: > > > > > > s/qcom,coresight-static-r

Re: [PATCH v6 4/7] drm/i915: Convert REG_GENMASK*() to fixed-width GENMASK_U*()

2025-03-18 Thread Jani Nikula
On Tue, 18 Mar 2025, Yury Norov wrote: > On Sat, Mar 08, 2025 at 01:48:51AM +0900, Vincent Mailhol via B4 Relay wrote: >> From: Lucas De Marchi >> >> Now that include/linux/bits.h implements fixed-width GENMASK_U*(), use >> them to implement the i915/xe specific macros. Converting each driver >>

Re: [PATCH] dma-buf: Take a breath during dma-fence-chain subtests

2025-03-18 Thread Christian König
Am 18.03.25 um 11:34 schrieb Nitin Gote: > Give the scheduler a chance to breathe by calling cond_resched() > as some of the loops may take some time on old machines (apl/bsw/pnv), and > so catch the attention of the watchdogs. > > Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/129

Re: [PATCH 4/9] dt-bindings: arm: qcom,coresight-static-replicator: add optional clocks

2025-03-18 Thread Suzuki K Poulose
On 17/03/2025 17:44, Dmitry Baryshkov wrote: nit: Subject: s/qcom,coresight-static-replicator/arm,coresight-static-replicator As most other CoreSight devices the replicator can use either of the optional clocks (or both). Document those optional clocks in the schema. Fixes: 3c15fddf3121 ("dt-

Re: [PATCH 1/2] drm/sched: add drm_sched_prealloc_dependency_slots

2025-03-18 Thread Tvrtko Ursulin
On 18/03/2025 12:03, Christian König wrote: The problem is that drivers sometimes need to add dependencies without allocating any memory. Add a function which preallocates slots by inserting signaled stub fences into the dependency array. Signed-off-by: Christian König --- drivers/gpu/drm/

Re: Try to fix amdgpu's error handling

2025-03-18 Thread Danilo Krummrich
On Tue, Mar 18, 2025 at 01:03:11PM +0100, Christian König wrote: > Hi guys, > > as partially discussed on the list already amdgpu has a bug in it's gang > submission code. > > Basic problem is to add the correct dependency to the gang leader we > need to arm the other gang members first, but that

Re: [PATCH v2 03/12] dt-bindings: connector: Add the GOcontroll Moduline module slot bindings

2025-03-18 Thread Maud Spierings | GOcontroll
From: Rob Herring Sent: Tuesday, March 18, 2025 4:37 PM   >On Mon, Mar 17, 2025 at 5:42 AM Maud Spierings | GOcontroll > wrote: >> >> From: Krzysztof Kozlowski >> Sent: Monday, March 17, 2025 11:34 AM >> >> >On Sat, Mar 15, 2025 at 07:32:28AM +, Maud Spierings | GOcontroll wrote: >> >> >> +re

[syzbot] Monthly dri report (Mar 2025)

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

Re: [PATCH v2 03/12] dt-bindings: connector: Add the GOcontroll Moduline module slot bindings

2025-03-18 Thread Rob Herring
On Mon, Mar 17, 2025 at 5:42 AM Maud Spierings | GOcontroll wrote: > > From: Krzysztof Kozlowski > Sent: Monday, March 17, 2025 11:34 AM > > >On Sat, Mar 15, 2025 at 07:32:28AM +, Maud Spierings | GOcontroll wrote: > >> >> +required: > >> >> + - compatible > >> >> + - reg > >> >> + - reset

[PATCH 0/4] drm/vc4: tests: Fix locking failures

2025-03-18 Thread Maxime Ripard
files changed, 121 insertions(+), 26 deletions(-) --- base-commit: c0988d693eb10e115d95747f8a083babb3fc change-id: 20250318-drm-vc4-kunit-failures-313b4775c438 Best regards, -- Maxime Ripard

[PATCH 3/7] drm/syncobj: Avoid one temporary allocation in drm_syncobj_array_find

2025-03-18 Thread Tvrtko Ursulin
Drm_syncobj_array_find() helper is used from many userspace ioctl entry points with the task of looking up userspace handles to internal objects. We can easily avoid one temporary allocation by making it read the handles as it is looking them up. Signed-off-by: Tvrtko Ursulin --- drivers/gpu/dr

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

2025-03-18 Thread Vincent Mailhol
On 19/03/2025 at 01:06, Yury Norov wrote: > On Sat, Mar 08, 2025 at 06:10:25PM +0900, Vincent Mailhol wrote: >> On 08/03/2025 at 02:42, Andy Shevchenko wrote: >>> On Sat, Mar 08, 2025 at 01:48:48AM +0900, Vincent Mailhol via B4 Relay >>> wrote: From: Vincent Mailhol In an upcoming

[PATCH 0/7] A few drm_syncobj optimisations

2025-03-18 Thread Tvrtko Ursulin
A small set of drm_syncobj optimisations which should make things a tiny bit more efficient on the CPU side of things. Improvement seems to be around 1.5%* more FPS if observed with "vkgears -present-mailbox" on a Steam Deck Plasma desktop, but I am reluctant to make a definitive claim on the numb

Re: [PATCH v6 00/11] mtd: add driver for Intel discrete graphics

2025-03-18 Thread Miquel Raynal
Hello Alexander, On 02/03/2025 at 16:09:10 +02, Alexander Usyskin wrote: > Add driver for access to Intel discrete graphics card > internal NVM device. > Expose device on auxiliary bus by i915 and Xe drivers and > provide mtd driver to register this device with MTD framework. > > This is a rewr

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

2025-03-18 Thread Yury Norov
On Sat, Mar 08, 2025 at 06:10:25PM +0900, Vincent Mailhol wrote: > On 08/03/2025 at 02:42, Andy Shevchenko wrote: > > On Sat, Mar 08, 2025 at 01:48:48AM +0900, Vincent Mailhol via B4 Relay > > wrote: > >> From: Vincent Mailhol > >> > >> In an upcoming change, GENMASK() and its friends will indire

[PATCH v3 1/1] drm/mediatek: Adjust bandwidth limit for DP

2025-03-18 Thread Liankun Yang
By adjusting the order of link training and relocating it to HPD, link training can identify the usability of each lane in the current link. It also supports handling signal instability and weakness due to environmental issues, enabling the acquisition of a stable bandwidth for the current link. S

[PATCH v3 0/1] *** SUBJECT HERE ***

2025-03-18 Thread Liankun Yang
*** BLURB HERE *** Liankun Yang (1): drm/mediatek: Adjust bandwidth limit for DP Applied to mediatek-drm-fixes [1] drm/mediatek: Fix mode valid issue for dp. drm/mediatek: Fix YCbCr422 color format issue for DP. drivers/gpu/drm/mediatek/mtk_dp.c | 39 --- 1 fil

Re: [PATCH v3 06/11] backlight: Replace fb events with a dedicated function call

2025-03-18 Thread Daniel Thompson
On Thu, Mar 06, 2025 at 03:05:48PM +0100, Thomas Zimmermann wrote: > Remove support for fb events from backlight subsystem. Provide the > helper backlight_notify_blank_all() instead. Also export the existing > helper backlight_notify_blank() to update a single backlight device. > > In fbdev, call e

Re: [PATCH 4/9] dt-bindings: arm: qcom,coresight-static-replicator: add optional clocks

2025-03-18 Thread Konrad Dybcio
On 3/17/25 6:44 PM, Dmitry Baryshkov wrote: > As most other CoreSight devices the replicator can use either of the > optional clocks (or both). Document those optional clocks in the schema. > > Fixes: 3c15fddf3121 ("dt-bindings: arm: Convert CoreSight bindings to DT > schema") > Signed-off-by: Dm

Re: [PATCH 37/40] drm/amd/display: Protect dml2_create()/dml2_copy()/dml2_create_copy()

2025-03-18 Thread Huacai Chen
Wrong patch number, please ignore this one. Huacai On Tue, Mar 18, 2025 at 7:16 PM Huacai Chen wrote: > > Commit 7da55c27e76749b9 ("drm/amd/display: Remove incorrect FP context > start") removes the FP context protection of dml2_create(), and it said > "All the DC_FP_START/END should be used bef

Re: [PATCH v1 1/7] virtio-gpu api: add blob userptr resource

2025-03-18 Thread Huang, Honglei1
On 2025/3/18 9:37, Gurchetan Singh wrote: On Thu, Mar 6, 2025 at 2:52 AM Huang, Honglei1 > wrote: On 2025/3/1 5:21, Demi Marie Obenour wrote: > On 2/28/25 12:36 AM, Honglei Huang wrote: >> From: Honglei Huang mailto:honglei1.hu...@amd.com>>

Re: [PATCH v4 3/3] drm/tidss: Add OLDI bridge support

2025-03-18 Thread Sverdlin, Alexander
Hi Aradhya! On Sun, 2024-11-24 at 20:06 +0530, Aradhya Bhatia wrote: > From: Aradhya Bhatia > > The AM62x and AM62Px SoCs feature 2 OLDI TXes each, which makes it > possible to connect them in dual-link or cloned single-link OLDI display > modes. The current OLDI support in tidss_dispc.c can onl

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

2025-03-18 Thread Anusha Srivatsa
On Mon, Mar 17, 2025 at 6:14 AM Neil Armstrong wrote: > On 16/03/2025 18:40, Anusha Srivatsa wrote: > > > > > > On Fri, Mar 14, 2025 at 10:20 AM Doug Anderson > wrote: > > > > Hi, > > > > On Thu, Mar 13, 2025 at 9:47 PM Anusha Srivatsa

Re: [PATCH 2/2] drm/amdgpu: fix gang submission error handling

2025-03-18 Thread Tvrtko Ursulin
On 18/03/2025 12:03, Christian König wrote: For the unlikely case that we ran into an ENOMEM while fixing up the gang submission dependencies we can't clean up any more since the gang members are already armed. Fix this by using pre-allocated dependency slots and re-ordering the code. Signed-

[PATCH v9 2/6] drm/sched: Add scheduler unit testing infrastructure and some basic tests

2025-03-18 Thread Tvrtko Ursulin
Implement a mock scheduler backend and add some basic test to exercise the core scheduler code paths. Mock backend (kind of like a very simple mock GPU) can either process jobs by tests manually advancing the "timeline" job at a time, or alternatively jobs can be configured with a time duration in

[PATCH v9 0/6] DRM scheduler kunit tests

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

[PATCH v9 1/6] drm: Move some options to separate new Kconfig

2025-03-18 Thread Tvrtko Ursulin
Move some options out into a new debug specific kconfig file in order to make things a bit cleaner. Signed-off-by: Tvrtko Ursulin Cc: Christian König Cc: Danilo Krummrich Cc: Matthew Brost Cc: Philipp Stanner Acked-by: Christian König --- drivers/gpu/drm/Kconfig | 109 ++--

Re: [PATCH 4/9] dt-bindings: arm: qcom,coresight-static-replicator: add optional clocks

2025-03-18 Thread Suzuki K Poulose
On 18/03/2025 12:19, Dmitry Baryshkov wrote: On Tue, Mar 18, 2025 at 10:38:17AM +, Suzuki K Poulose wrote: On 17/03/2025 17:44, Dmitry Baryshkov wrote: nit: Subject: s/qcom,coresight-static-replicator/arm,coresight-static-replicator As most other CoreSight devices the replicator can use

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

2025-03-18 Thread Yury Norov
On Sat, Mar 08, 2025 at 01:48:49AM +0900, Vincent Mailhol via B4 Relay wrote: > From: Yury Norov > > Add GENMASK_TYPE() which generalizes __GENMASK() to support different > types, and implement fixed-types versions of GENMASK() based on it. > The fixed-type version allows more strict checks to th

Re: [PATCH 3/9] dt-bindings: soc: qcom: add Smart Peripheral System Interrupt Controller

2025-03-18 Thread Dmitry Baryshkov
On Tue, Mar 18, 2025 at 08:56:46AM +0100, Krzysztof Kozlowski wrote: > On Mon, Mar 17, 2025 at 07:44:38PM +0200, Dmitry Baryshkov wrote: > > +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,sps-sic.yaml > > @@ -0,0 +1,38 @@ > > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > > +%YAM

Re: [PATCH 4/9] dt-bindings: arm: qcom,coresight-static-replicator: add optional clocks

2025-03-18 Thread Dmitry Baryshkov
On Tue, Mar 18, 2025 at 10:38:17AM +, Suzuki K Poulose wrote: > On 17/03/2025 17:44, Dmitry Baryshkov wrote: > > nit: Subject: > > s/qcom,coresight-static-replicator/arm,coresight-static-replicator > > > As most other CoreSight devices the replicator can use either of the > > optional clocks

Re: [PATCH 6/9] ARM: dts: qcom: apq8064 merge hw splinlock into corresponding syscon device

2025-03-18 Thread Dmitry Baryshkov
On Tue, Mar 18, 2025 at 01:08:00PM +0100, Konrad Dybcio wrote: > On 3/17/25 6:44 PM, Dmitry Baryshkov wrote: > > Follow up the expected way of describing the SFPB hwspinlock and merge > > hwspinlock node into corresponding syscon node, fixing several dt-schema > > warnings. > > > > Fixes: 24a9baf9

Re: [PATCH 9/9] ARM: dts: qcom: apq8064: move replicator out of soc node

2025-03-18 Thread Dmitry Baryshkov
On Tue, Mar 18, 2025 at 01:15:16PM +0100, Konrad Dybcio wrote: > On 3/17/25 6:44 PM, Dmitry Baryshkov wrote: > > The CoreSight replicator device isn't a part of the system MMIO bus, as > > the static kind, anyway - the dynamic ones are > > > such it should not be a part of the soc node. Follow th

[PATCH 1/7] drm/syncobj: Remove unhelpful helper

2025-03-18 Thread Tvrtko Ursulin
Helper which fails to consolidate the code and instead just forks into two copies of the code based on a boolean parameter is not very helpful or readable. Lets just remove it and proof in the pudding is the net smaller code. Signed-off-by: Tvrtko Ursulin --- drivers/gpu/drm/drm_syncobj.c | 98 +

[PATCH 7/7] drm/syncobj: Add a fast path to drm_syncobj_array_find

2025-03-18 Thread Tvrtko Ursulin
Running the Cyberpunk 2077 benchmark we can observe that the lookup helper is relatively hot, but the 97% of the calls are for a single object. (~3% for two points, and never more than three points. While a more trivial workload like vkmark under Plasma is even more skewed to single point lookups.)

[PATCH 4/7] drm/syncobj: Use put_user in drm_syncobj_query_ioctl

2025-03-18 Thread Tvrtko Ursulin
Since the query loop is using copy_to_user() to write out a single u64 at a time it feels more natural (and is a tiny bit more compact) to replace it with put_user(). Access_ok() check is added to the input checking for an early bailout in case of a bad buffer passed in. Signed-off-by: Tvrtko Urs

[PATCH v3] drm/bridge: ti-sn65dsi86: Check bridge connection failure

2025-03-18 Thread Wolfram Sang
Read out and check the ID registers, so we can bail out if I2C communication does not work or if the device is unknown. Tested on a Renesas GrayHawk board (R-Car V4M) by using a wrong I2C address and by not enabling RuntimePM for the device. Signed-off-by: Wolfram Sang --- Changes since v2: * sw

Re: [PATCH v3 1/2] dt-bindings: drm/bridge: Add no-hpd property

2025-03-18 Thread Tomi Valkeinen
Hi, On 12/03/2025 14:52, Dmitry Baryshkov wrote: On Wed, Mar 12, 2025 at 11:56:41AM +0530, Harikrishna Shenoy wrote: On 05/02/25 19:03, Dmitry Baryshkov wrote: On Wed, Feb 05, 2025 at 12:52:52PM +0100, Krzysztof Kozlowski wrote: On 05/02/2025 12:50, Harikrishna Shenoy wrote: From: Rahul T

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

2025-03-18 Thread Maxime Ripard
On Fri, Mar 14, 2025 at 08:28:22PM +0200, Dmitry Baryshkov wrote: > On Fri, Mar 14, 2025 at 06:40:24PM +0100, Maxime Ripard wrote: > > On Fri, Mar 14, 2025 at 09:59:36AM +0200, Dmitry Baryshkov wrote: > > > On Fri, Mar 14, 2025 at 08:45:17AM +0100, Maxime Ripard wrote: > > > > On Fri, Mar 14, 2025

Re: [PATCH v3] drm/bridge: ti-sn65dsi86: Check bridge connection failure

2025-03-18 Thread Wolfram Sang
On Tue, Mar 18, 2025 at 04:52:56PM +0100, Wolfram Sang wrote: > Read out and check the ID registers, so we can bail out if I2C > communication does not work or if the device is unknown. Tested on a > Renesas GrayHawk board (R-Car V4M) by using a wrong I2C address and by > not enabling RuntimePM for

Re: [PATCH v4 07/14] arm64: Add support for suppressing warning backtraces

2025-03-18 Thread Will Deacon
On Thu, Mar 13, 2025 at 05:40:59PM +0100, Alessandro Carminati wrote: > On Thu, Mar 13, 2025 at 1:25 PM Will Deacon wrote: > > > > On Thu, Mar 13, 2025 at 11:43:22AM +, Alessandro Carminati wrote: > > > diff --git a/arch/arm64/include/asm/bug.h b/arch/arm64/include/asm/bug.h > > > index 28be04

Re: [PATCH 1/2] drm/sched: add drm_sched_prealloc_dependency_slots

2025-03-18 Thread Philipp Stanner
On Tue, 2025-03-18 at 13:03 +0100, Christian König wrote: > The problem is that drivers sometimes need to add dependencies > without > allocating any memory. > > Add a function which preallocates slots by inserting signaled stub > fences > into the dependency array. I think I get what you're doin

Re: [PATCH 1/2] drm/sched: add drm_sched_prealloc_dependency_slots

2025-03-18 Thread Danilo Krummrich
On Tue, Mar 18, 2025 at 01:03:12PM +0100, Christian König wrote: > /** > * drm_sched_job_add_dependency - adds the fence as a job dependency > * @job: scheduler job to add the dependencies to > @@ -878,10 +910,12 @@ int drm_sched_job_add_dependency(struct drm_sched_job > *job, >* engi

Re: [RFC 13/29] drm/gpuvm: Introduce MADVISE Operations

2025-03-18 Thread Ghimiray, Himal Prasad
Hi Danilo, On 17-03-2025 19:57, Danilo Krummrich wrote: (Cc: dri-devel@lists.freedesktop.org, Boris) Hi Himal, Please make sure to copy in dri-devel for such patches. Thanks for taking time for this. Will make sure to do same in future. On Fri, Mar 14, 2025 at 01:32:10PM +0530, Himal Pras

Re: [PATCH] drm/radeon/uvd: Replace nested max() with single max3()

2025-03-18 Thread Alex Deucher
Applied. Thanks! Alex On Tue, Mar 18, 2025 at 2:18 AM wrote: > > From: FengWei > > Use max3() macro instead of nesting max() to simplify the return > statement. > > Signed-off-by: FengWei > --- > drivers/gpu/drm/radeon/radeon_uvd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: [PATCH] drm/panel/sharp-ls043t1le01: Use _multi variants

2025-03-18 Thread Anusha Srivatsa
On Sun, Mar 16, 2025 at 7:32 PM Dmitry Baryshkov < dmitry.barysh...@oss.qualcomm.com> wrote: > On Sun, Mar 16, 2025 at 02:58:22PM -0400, Anusha Srivatsa wrote: > > Move away from using deprecated API and use _multi > > variants if available. Use mipi_dsi_msleep() > > and mipi_dsi_usleep_range() in

Re: [PATCH] drm/panel/sharp-ls043t1le01: Use _multi variants

2025-03-18 Thread Dmitry Baryshkov
On Tue, 18 Mar 2025 at 18:55, Anusha Srivatsa wrote: > > On Sun, Mar 16, 2025 at 7:32 PM Dmitry Baryshkov > wrote: >> >> On Sun, Mar 16, 2025 at 02:58:22PM -0400, Anusha Srivatsa wrote: >> > --- >> > drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c | 36 >> > ++--- >> > 1 f

Re: [PATCH v3 08/11] backlight: lcd: Replace fb events with a dedicated function call

2025-03-18 Thread Daniel Thompson
On Thu, Mar 06, 2025 at 03:05:50PM +0100, Thomas Zimmermann wrote: > Remove support for fb events from the lcd subsystem. Provide the > helper lcd_notify_blank_all() instead. In fbdev, call > lcd_notify_blank_all() to inform the lcd subsystem of changes > to a display's blank state. > > Fbdev maint

RE: [PATCH] drm/exynos: exynos7_drm_decon: Consstify struct decon_data

2025-03-18 Thread Alim Akhtar
Hello Krzysztof > -Original Message- > From: Krzysztof Kozlowski > Sent: Tuesday, March 18, 2025 1:38 PM > To: Inki Dae ; Seung-Woo Kim > ; Kyungmin Park > ; David Airlie ; Simona > Vetter ; Krzysztof Kozlowski ; Alim > Akhtar ; dri-devel@lists.freedesktop.org; linux- > arm-ker...@lists.i

[PATCH 2/2] drm/amd/display: Protect dml2_validate() from its callers

2025-03-18 Thread Huacai Chen
Similar to dml2_create()/dml2_copy()/dml2_create_copy(), dml2_validate() should also be protected from its callers because "All the DC_FP_START/END should be used before call anything from DML2". So protect dml2_validate() with DC_FP_START() and DC_FP_END(), otherwise it causes such errors: do_f

[PATCH] Documentation: vgaarbiter: Fix grammar

2025-03-18 Thread Bagas Sanjaya
From: Pranav Tyagi Correct grammar issues: - Fix "co-exist" subject-verb agreement - Correct plural form of "server" in context of more than one legacy devices - Use passive mood for intro sentence of libpciaccess section Signed-off-by: Pranav Tyagi Reviewed-by: Bagas Sanjaya Link: https://

Re: [PATCH v4 07/14] arm64: Add support for suppressing warning backtraces

2025-03-18 Thread Guenter Roeck
On 3/18/25 08:59, Will Deacon wrote: On Thu, Mar 13, 2025 at 05:40:59PM +0100, Alessandro Carminati wrote: On Thu, Mar 13, 2025 at 1:25 PM Will Deacon wrote: On Thu, Mar 13, 2025 at 11:43:22AM +, Alessandro Carminati wrote: diff --git a/arch/arm64/include/asm/bug.h b/arch/arm64/include/a

Re: [PATCH v3 05/11] backlight: Move blank-state handling into helper

2025-03-18 Thread Daniel Thompson
On Thu, Mar 06, 2025 at 03:05:47PM +0100, Thomas Zimmermann wrote: > Move the handling of blank-state updates into a separate helper, > so that is can be called without the fbdev event. No functional > changes. > > As a minor improvement over the original code, the update replaces > manual locking

[PATCH 1/2] drm/sched: add drm_sched_prealloc_dependency_slots

2025-03-18 Thread Christian König
The problem is that drivers sometimes need to add dependencies without allocating any memory. Add a function which preallocates slots by inserting signaled stub fences into the dependency array. Signed-off-by: Christian König --- drivers/gpu/drm/scheduler/sched_main.c | 41 +

Re: [PATCH 8/9] ARM: dts: qcom: apq8064: use new compatible for SPS SIC device

2025-03-18 Thread Konrad Dybcio
On 3/17/25 6:44 PM, Dmitry Baryshkov wrote: > Use new SoC-specific compatible to the SPS SIC in addition to the > "syscon" compatible and rename the node to follow the purpose of it. > > Signed-off-by: Dmitry Baryshkov > --- > arch/arm/boot/dts/qcom/qcom-apq8064.dtsi | 4 ++-- > 1 file changed,

Re: [PATCH 9/9] ARM: dts: qcom: apq8064: move replicator out of soc node

2025-03-18 Thread Konrad Dybcio
On 3/17/25 6:44 PM, Dmitry Baryshkov wrote: > The CoreSight replicator device isn't a part of the system MMIO bus, as the static kind, anyway - the dynamic ones are > such it should not be a part of the soc node. Follow the example of > other platforms and move it out of the soc bus to the top-le

[PATCH] dma-buf/sw_sync: Fix refcount leak in sw_sync_ioctl_get_deadline

2025-03-18 Thread Miaoqian Lin
Fix reference count leak in by adding dma_fence_put() when dma_fence_to_sync_pt() fails after the call to sync_file_get_fence(). Fixes: 70e67aaec2f4 ("dma-buf/sw_sync: Add fence deadline support") Signed-off-by: Miaoqian Lin --- drivers/dma-buf/sw_sync.c | 4 +++- 1 file changed, 3 insertions(+)

[PATCH RESEND 2/3] drm/bridge: it6505: modify DP link training work

2025-03-18 Thread Hermes Wu via B4 Relay
From: Hermes Wu The DP link training work include auto training and after auto training failed "auto_train_retry" times, it switch to step training mode. It will more efficiency that finish link auto training, include retry, and step training in a work, rather than re-schedule train work when ea

[PATCH RESEND 1/3] drm/bridge: it6505: modify DP link auto training

2025-03-18 Thread Hermes Wu via B4 Relay
From: Hermes Wu IT6505 supports HW link training which will write DPCD and check training status automatically. In the case that driver set link rate at 2.7G and HW fail to training, it will change link configuration and try 1.65G. And this will cause INT_VID_FIFO_ERROR triggered when link clock

[PATCH] dma-buf: Take a breath during dma-fence-chain subtests

2025-03-18 Thread Nitin Gote
Give the scheduler a chance to breathe by calling cond_resched() as some of the loops may take some time on old machines (apl/bsw/pnv), and so catch the attention of the watchdogs. Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12904 Signed-off-by: Nitin Gote --- Cc: Christian Ko

Re: [PATCH v6 drm-dp 5/9] drm/hisilicon/hibmc: Getting connector info and EDID by using AUX channel

2025-03-18 Thread Jani Nikula
On Mon, 10 Mar 2025, Yongbang Shi wrote: > @@ -15,11 +15,17 @@ > > static int hibmc_dp_connector_get_modes(struct drm_connector *connector) > { > + struct hibmc_dp *dp = to_hibmc_dp(connector); > + const struct drm_edid *drm_edid; > int count; > > - count = drm_add_modes_no

[PATCH 3/4] drm/vc4: tests: Stop allocating the state in test init

2025-03-18 Thread Maxime Ripard
The vc4-pv-muxing-combinations and vc5-pv-muxing-combinations test suites use a common test init function which, in part, allocates the drm atomic state the test will use. That allocation relies on drm_kunit_helper_atomic_state_alloc(), and thus requires a struct drm_modeset_acquire_ctx. This con

[PATCH 2/4] drm/vc4: tests: Document output handling functions

2025-03-18 Thread Maxime Ripard
vc4_mock_atomic_add_output() and vc4_mock_atomic_del_output() public but aren't documented. Let's provide the documentation. In particular, special care should be taken to deal with EDEADLK. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/vc4/tests/vc4_mock_output.c | 26 ++

Re: [PATCH] pinctrl: PINCTRL_AMDISP should depend on DRM_AMD_ISP

2025-03-18 Thread Linus Walleij
On Tue, Mar 18, 2025 at 2:58 PM Geert Uytterhoeven wrote: > The AMD Image Signal Processor GPIO pin control functionality is only > present on AMD platforms with ISP support, and its platform device is > instantiated by the AMD ISP driver. Hence add a dependency on > DRM_AMD_ISP, to prevent aski

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

2025-03-18 Thread Anusha Srivatsa
t < 0) { - dev_err(dev, "Failed to enter sleep mode (%d)\n", ret); - return ret; - } - - return 0; + mipi_dsi_dcs_enter_sleep_mode_multi(&dsi_ctx); } static int r63353_panel_unprepare(struct drm_panel *panel) --- base-commit: dbe74119ff71c00f2d863a32f72aab2d15e61c39 change-id: 20250318-synaptic-expt-ad1879d7a922 Best regards, -- Anusha Srivatsa

Re: Time for drm-ci-next?

2025-03-18 Thread Maxime Ripard
On Mon, Mar 10, 2025 at 07:44:58AM -0700, Rob Clark wrote: > On Mon, Mar 10, 2025 at 4:07 AM Maxime Ripard wrote: > > > > On Fri, Mar 07, 2025 at 09:26:54AM -0800, Rob Clark wrote: > > > On Fri, Mar 7, 2025 at 9:00 AM Maxime Ripard wrote: > > > > On Fri, Mar 07, 2025 at 08:42:46AM -0800, Rob Clar

[PATCH 1/2] drm/amd/display: Protect dml2_create()/dml2_copy()/dml2_create_copy()

2025-03-18 Thread Huacai Chen
Commit 7da55c27e76749b9 ("drm/amd/display: Remove incorrect FP context start") removes the FP context protection of dml2_create(), and it said "All the DC_FP_START/END should be used before call anything from DML2". However, dml2_create()/dml2_copy()/dml2_create_copy() are not protected from their

[PATCH] drm/imagination: fix firmware memory leaks

2025-03-18 Thread Brendan King via B4 Relay
re_code_obj) pvr_fw_object_destroy(fw_mem->core_code_obj); if (fw_mem->core_data_obj) --- base-commit: 96c85e428ebaeacd2c640eba075479ab92072ccd change-id: 20250318-ddkopsrc-1339-firmware-related-memory-leak-on-module-unload-c18a9a4fd0db Best regards, -- Brendan King

Re: [PATCH 8/9] ARM: dts: qcom: apq8064: use new compatible for SPS SIC device

2025-03-18 Thread Dmitry Baryshkov
On Tue, Mar 18, 2025 at 01:13:23PM +0100, Konrad Dybcio wrote: > On 3/17/25 6:44 PM, Dmitry Baryshkov wrote: > > Use new SoC-specific compatible to the SPS SIC in addition to the > > "syscon" compatible and rename the node to follow the purpose of it. > > > > Signed-off-by: Dmitry Baryshkov > > -

Re: [PATCH 2/2] drm/panel: simple: Add NLT NL13676BC25-03F panel entry

2025-03-18 Thread Neil Armstrong
On 18/03/2025 08:58, Antonin Godard wrote: Add support for the NLT NL13676BC25-03F 15.6" LCD-TFT LVDS panel. Signed-off-by: Antonin Godard --- drivers/gpu/drm/panel/panel-simple.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-sim

[PATCH 0/2] Add NLT NL13676BC25-03F panel support

2025-03-18 Thread Antonin Godard
The NLT NL13676BC25-03F panel is a 15.6" LCD-TFT LVDS panel. It is a single port display unlike the NLT NL192108AC18-02D. Add a binding and a panel entry under panel-simple.c. Signed-off-by: Antonin Godard --- Antonin Godard (2): dt-bindings: display: simple: Add NLT NL13676BC25-03F panel

Re: [PATCH v6 2/5] dt-bindings: gpu: v3d: Add per-compatible register restrictions

2025-03-18 Thread Krzysztof Kozlowski
On Mon, Mar 17, 2025 at 10:01:10PM -0300, Maíra Canal wrote: > In order to enforce per-SoC register rules, add per-compatible > restrictions. For example, V3D 3.3 (used in brcm,7268-v3d) has a cache > controller (GCA), which is not present in other V3D generations. Declaring > these differences hel

[PATCH 1/2] dt-bindings: display: simple: Add NLT NL13676BC25-03F panel

2025-03-18 Thread Antonin Godard
Add NLT NL13676BC25-03F 15.6" LCD-TFT LVDS panel compatible string. Signed-off-by: Antonin Godard --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documen

[PATCH 2/2] drm/panel: simple: Add NLT NL13676BC25-03F panel entry

2025-03-18 Thread Antonin Godard
Add support for the NLT NL13676BC25-03F 15.6" LCD-TFT LVDS panel. Signed-off-by: Antonin Godard --- drivers/gpu/drm/panel/panel-simple.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c i

[PATCH RESEND 0/3] drm/bridge: it6505: fix DP link traning and improve compatibility

2025-03-18 Thread Hermes Wu via B4 Relay
IT6505 supports HW auto link training which will write DPCD and check training status automatically. Some DP device can not pass HW auto link training and must set link training step by step. when HW auto link training fail, it may trigger video FIFO error, and link training process will reset to

Re: [PATCH 1/5] dt-bindings: display: mediatek: mdp-rsz: Add rules for MT8196

2025-03-18 Thread 沈姍姍

[PATCH v6 3/5] dt-bindings: gpu: v3d: Add SMS register to BCM2712 compatible

2025-03-18 Thread Maíra Canal
V3D 7.1 exposes a new register block, called V3D_SMS. As BCM2712 has a V3D 7.1 core, add a new register item to its compatible. Similar to the GCA, which is specific for V3D 3.3, SMS should only be added for V3D 7.1 variants (such as brcm,2712-v3d). Acked-by: Krzysztof Kozlowski Signed-off-by: Ma

Re: [PATCH 2/9] dt-bindings: display/msm: describe SFPB device

2025-03-18 Thread Krzysztof Kozlowski
On Mon, Mar 17, 2025 at 07:44:37PM +0200, Dmitry Baryshkov wrote: > Add DT schema for the MultiMedia SubSystem System FPB device, which > provides several registers to control interface between multimedia > devices (primarily display) and system busses. > > Signed-off-by: Dmitry Baryshkov > --- >

Re: [PATCH 1/9] dt-bindings: soc: qcom,rpm: add missing clock-controller node

2025-03-18 Thread Krzysztof Kozlowski
On Mon, Mar 17, 2025 at 07:44:36PM +0200, Dmitry Baryshkov wrote: > On Qualcomm platforms in addition to regulators the RPM also provides > clocks via the child clock-controller node. Describe it properly in the > schema. > > Fixes: 6b42133d2189 ("dt-bindings: soc: qcom: convert non-smd RPM bindin

Re: [PATCH 3/9] dt-bindings: soc: qcom: add Smart Peripheral System Interrupt Controller

2025-03-18 Thread Krzysztof Kozlowski
On Mon, Mar 17, 2025 at 07:44:38PM +0200, Dmitry Baryshkov wrote: > +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,sps-sic.yaml > @@ -0,0 +1,38 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/soc/qcom/qcom,sps-sic.yaml#

[PATCH] drm/i915/display: add audio dis/enable when connector hotplug

2025-03-18 Thread Lu Yao
Now audio enable/disable depends on an atomic commit, it doesn't make sence. For wayland, there will trigering an atomic commit, so it works well. But for Xorg using modesetting, there won't. In this case, unplug the HDMI/DP and the audio jack event is not triggered, resulting in still having a HDM

RE: [PATCH v8 1/3] drm/plane: Add new plane property IN_FORMATS_ASYNC

2025-03-18 Thread Murthy, Arun R
> > blob = drm_property_create_blob(dev, blob_size, NULL); > > if (IS_ERR(blob)) > > - return -1; > > + return ERR_PTR(-1); > > Were we seeing any warnings because of this? > If at all needed, it should be part of the second patch [1] > > Regards > > Chaitanya > > [1

[PATCH v2] dt-bindings: gpu: arm,mali-midgard: add exynos7870-mali compatible

2025-03-18 Thread Kaustabh Chakraborty
Exynos7870 SoC uses the ARM Mali T830 GPU, document its compatible string with the appropriate fallback. The T830 compatible is already defined in the panfrost driver, but was commented out as it was unused. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kaustabh Chakraborty --- This patch seri

[PATCH] pinctrl: PINCTRL_AMDISP should depend on DRM_AMD_ISP

2025-03-18 Thread Geert Uytterhoeven
The AMD Image Signal Processor GPIO pin control functionality is only present on AMD platforms with ISP support, and its platform device is instantiated by the AMD ISP driver. Hence add a dependency on DRM_AMD_ISP, to prevent asking the user about this driver when configuring a kernel that does no

Re: [PATCH v3] drm/bridge: ti-sn65dsi86: Check bridge connection failure

2025-03-18 Thread Doug Anderson
Hi, On Tue, Mar 18, 2025 at 8:56 AM Wolfram Sang wrote: > > Read out and check the ID registers, so we can bail out if I2C > communication does not work or if the device is unknown. Tested on a > Renesas GrayHawk board (R-Car V4M) by using a wrong I2C address and by > not enabling RuntimePM for t

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

2025-03-18 Thread Dmitry Baryshkov
On Tue, Mar 18, 2025 at 04:51:19PM +0100, Maxime Ripard wrote: > On Fri, Mar 14, 2025 at 08:28:22PM +0200, Dmitry Baryshkov wrote: > > On Fri, Mar 14, 2025 at 06:40:24PM +0100, Maxime Ripard wrote: > > > On Fri, Mar 14, 2025 at 09:59:36AM +0200, Dmitry Baryshkov wrote: > > > > On Fri, Mar 14, 2025

Re: [PATCH v8 6/6] drm/xe/xe_vm: Implement xe_vm_get_property_ioctl

2025-03-18 Thread Jianxun Zhang
On 3/13/25 11:34, Jonathan Cavitt wrote: Add support for userspace to request a list of observed faults from a specified VM. v2: - Only allow querying of failed pagefaults (Matt Brost) v3: - Remove unnecessary size parameter from helper function, as it is a property of the arguments. (jca

Re: [PATCH v4 0/6] TEE subsystem for restricted dma-buf allocations

2025-03-18 Thread Nicolas Dufresne
Le mardi 04 mars 2025 à 13:15 +0530, Sumit Garg a écrit : > On Tue, Mar 04, 2025 at 08:17:23AM +0100, Jens Wiklander wrote: > > Hi Daniel, > > > > On Fri, Feb 21, 2025 at 3:12 PM Daniel Stone wrote: > > > > > > Hi Sumit, > > > > > > On Fri, 21 Feb 2025 at 11:24, Sumit Garg wrote: > > > > On Tu

Re: [PATCH v6 drm-dp 0/9] Add HPD, getting EDID, colorbar features in DP function

2025-03-18 Thread Dmitry Baryshkov
On Tue, Mar 18, 2025 at 10:50:10AM +0800, Yongbang Shi wrote: > Gently ping! > > Hi, Dmitry. There is no more comment for this patch set for one week, I > wonder, > could this patch be applied, or wait for more comments. Currently FDO is in process of migration, so we have a cooldown period of a

Re: [PATCH v1 1/3] drm/ci: uprev mesa

2025-03-18 Thread Helen Mae Koike Fornazier
Em sex., 14 de mar. de 2025 às 05:59, Vignesh Raman escreveu: > > LAVA was recently patched [1] with a fix on how parameters are parsed in > `lava-test-case`, so we don't need to repeat quotes to send the > arguments properly to it. Uprev mesa to fix this issue. > > [1] https://gitlab.com/lava/lav

Re: [PATCH v2] drm/vmwgfx: Fix dumb buffer leak

2025-03-18 Thread Zack Rusin
On Thu, Jan 23, 2025 at 3:44 PM Ian Forbes wrote: > > Dumb buffers were not being freed because the GEM reference that was > acquired in gb_surface_define was not dropped like it is in the 2D case. > Dropping this ref uncovered a few additional issues with freeing the > resources associated with d

  1   2   >