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

2025-03-19 Thread Huacai Chen
Hi, Alex, On Thu, Mar 20, 2025 at 10:16 AM Alex Hung wrote: > > > > On 3/18/25 05:17, 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 us

RE: [PATCH] drm/amdkfd: Use dev_* instead of pr_* for messages

2025-03-19 Thread Zhang, Hawking
[AMD Official Use Only - AMD Internal Distribution Only] Reviewed-by: Hawking Zhang Regards, Hawking -Original Message- From: Lazar, Lijo Sent: Thursday, March 20, 2025 13:04 To: amd-gfx@lists.freedesktop.org Cc: Zhang, Hawking ; Deucher, Alexander ; Kasiviswanathan, Harish ; Lin, Amb

Re: [PATCH] drm/amdgpu: Fix display freezing issue when resizing apps

2025-03-19 Thread Christian König
Am 18.03.25 um 15:54 schrieb Arvind Yadav: > The display is freezing because the amdgpu_userq_wait_ioctl() > is waiting for a non-user queue fence(specifically, the PT update fence). > > RootCause: > The resume_work is initiated by both amdgpu_userq_suspend and > amdgpu_userqueue_ensure_ev_fence at

Re: [PATCH v2 18/57] irqdomain: gpu: Switch to irq_domain_create_linear()

2025-03-19 Thread Jiri Slaby
On 19. 03. 25, 14:31, Alex Deucher wrote: On Wed, Mar 19, 2025 at 5:44 AM Jiri Slaby (SUSE) wrote: irq_domain_add_linear() is going away as being obsolete now. Switch to the preferred irq_domain_create_linear(). That differs in the first parameter: It takes more generic struct fwnode_handle in

[PATCH] drm/amdgpu: Decode deferred error type in gfx aca bank parser

2025-03-19 Thread Xiang Liu
In the case of injecting uncorrected error with background workload, the deferred error among uncorrected errors need to be specified by checking the deferred and poison bits of status register. Signed-off-by: Xiang Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c | 3 +++ drivers/gpu/drm/amd/am

[PATCH v9 3/3] drm/amdgpu/sdma_v4_4_2: update VM flush implementation for SDMA

2025-03-19 Thread jesse.zh...@amd.com
From: "jesse.zh...@amd.com" This commit updates the VM flush implementation for the SDMA engine. - Added a new function `sdma_v4_4_2_get_invalidate_req` to construct the VM_INVALIDATE_ENG0_REQ register value for the specified VMID and flush type. This function ensures that all relevant pag

[PATCH v9 3/3] drm/amdgpu/sdma_v4_4_2: update VM flush implementation for SDMA

2025-03-19 Thread jesse.zh...@amd.com
From: "jesse.zh...@amd.com" This commit updates the VM flush implementation for the SDMA engine. - Added a new function `sdma_v4_4_2_get_invalidate_req` to construct the VM_INVALIDATE_ENG0_REQ register value for the specified VMID and flush type. This function ensures that all relevant pag

[PATCH v9 2/3] drm/amdgpu: Optimize VM invalidation engine allocation and synchronize GPU TLB flush

2025-03-19 Thread jesse.zh...@amd.com
From: "jesse.zh...@amd.com" - Modify the VM invalidation engine allocation logic to handle SDMA page rings. SDMA page rings now share the VM invalidation engine with SDMA gfx rings instead of allocating a separate engine. This change ensures efficient resource management and avoids the is

[PATCH 10/16] drm/amd/display: Enable pipe update pending wait

2025-03-19 Thread Aurabindo Pillai
From: Ausef Yousof [Why&How] During consecutive full updates its possible for us to do otg pipe locking/programming before previous pipe updates have latched (resulting in single frame corruption/black screen).wait_for_outstanding_updates does a poll for some bits to clear in HW that tell us that

[PATCH V9 1/3] drm/amd/amdgpu: Increase max rings to enable SDMA page ring

2025-03-19 Thread jesse.zh...@amd.com
From: "jesse.zh...@amd.com" Increase the maximum number of rings supported by the AMDGPU driver from 133 to 149. This change is necessary to enable support for the SDMA page ring. Signed-off-by: Jesse Zhang --- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 2 +- 1 file changed, 1 insertion(+), 1

RE: [PATCH 2/2] drm/amd/pm: add zero RPM stop temp OD setting support for SMU 14.0.2

2025-03-19 Thread Feng, Kenneth
[AMD Official Use Only - AMD Internal Distribution Only] Thanks Tohmasz. I confirmed that this change is not in the latest driver-if file. However, this is a fw interface provided by firmware team, we can not change it. That means the interface is different between the smu13 and smu14. Let me chec

[PATCH] drm/amdkfd: Use dev_* instead of pr_* for messages

2025-03-19 Thread Lijo Lazar
To get the device context, replace pr_ with dev_ functions. Signed-off-by: Lijo Lazar --- .../gpu/drm/amd/amdkfd/kfd_int_process_v10.c | 142 -- .../gpu/drm/amd/amdkfd/kfd_int_process_v11.c | 92 .../gpu/drm/amd/amdkfd/kfd_int_process_v9.c | 142 ++--

[PATCH] drm/amdgpu/gfx11: Add Cleaner Shader Support for GFX11.5 GPUs

2025-03-19 Thread Srinivasan Shanmugam
Enable the cleaner shader for GFX11.5.0/11.5.1 GPUs to provide data isolation between GPU workloads. The cleaner shader is responsible for clearing the Local Data Store (LDS), Vector General Purpose Registers (VGPRs), and Scalar General Purpose Registers (SGPRs), which helps prevent data leakage an

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

2025-03-19 Thread Alex Hung
Please see comments for patch 1. On 3/18/25 05:17, Huacai Chen wrote: 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() wi

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

2025-03-19 Thread Alex Hung
On 3/18/25 05:17, 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 before call anything from DML2". However, dml2_create()/dml2_copy()/dml2_

[PATCH 02/16] drm/amd/display: Get visual confirm color for stream

2025-03-19 Thread Aurabindo Pillai
From: Leo Zeng [WHY] We want to output visual confirm color based on stream. [HOW] If visual confirm is for DMUB, use DMUB to get color. Otherwise, find plane with highest layer index, output visual confirm color of pipe that contains plane with highest index. Reviewed-by: Aric Cyr Signed-off-

[PATCH 05/16] drm/amd/display: Increase vblank offdelay for PSR panels

2025-03-19 Thread Aurabindo Pillai
From: Leo Li [Why] Depending on when the HW latching event (vupdate) of double-buffered registers happen relative to the PSR SDP (signals panel psr enter/exit) deadline, and how bad the Panel clock has drifted since the last ALPM off event, there can be up to 3 frames of delay between sending th

[PATCH 11/16] drm/amd/display: fix zero value for APU watermark_c

2025-03-19 Thread Aurabindo Pillai
From: Charlene Liu [why] the guard of is_apu not in sync, caused no watermark_c output. Reviewed-by: Ovidiu Bunea Signed-off-by: Charlene Liu Signed-off-by: Aurabindo Pillai --- drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff

Re: [PATCH 11/18] drm/pm/legacy-dpm: move SI away from sid.h and si_enums.h

2025-03-19 Thread Alexandre Demers
On Mon, Mar 17, 2025 at 11:04 AM Alex Deucher wrote: > > On Mon, Mar 17, 2025 at 2:38 AM Alexandre Demers > wrote: > > > > Signed-off-by: Alexandre Demers > > --- > > drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c | 338 +++-- > > drivers/gpu/drm/amd/pm/legacy-dpm/si_smc.c | 36 +--

Re: [PATCH] drm/amdgpu: Higher log level for missing PCIe atomics caps

2025-03-19 Thread Felix Kuehling
On 2025-03-19 03:02, Daisuke Matsuda (Fujitsu) wrote: On Tue, Mar 18, 2025 5:35 AM Felix Kuehling wrote: On 2025-03-17 15:07, Deucher, Alexander wrote: [Public] -Original Message- From: Daisuke Matsuda Sent: Thursday, March 13, 2025 9:18 PM To: amd-gfx@lists.freedesktop.org; dri-de..

[PATCH 2/4] drm/amdgpu/mes: enable compute pipes across all MEC

2025-03-19 Thread Alex Deucher
Enable pipes on both MECs for MES. Fixes: 745f46b6a99f ("drm/amdgpu: enable mes v12 self test") Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c b/drivers/gpu/drm

[PATCH 4/6] drm/amdgpu/gfx9: fix CSIB handling

2025-03-19 Thread Alex Deucher
We shouldn't return after the last section. We need to update the rest of the CSIB. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c index 1080

Re: [PATCH 2/2] drm/amdgpu/mes: enable compute pipes across all MEC

2025-03-19 Thread Alex Deucher
On Wed, Mar 19, 2025 at 12:25 PM Alex Deucher wrote: > > Enable pipes on both MECs for MES. > Fixes: 745f46b6a99f ("drm/amdgpu: enable mes v12 self test") > Signed-off-by: Alex Deucher > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >

[PATCH 07/16] drm/amd/display: Skip to enable dsc if it has been off

2025-03-19 Thread Aurabindo Pillai
From: Paul Hsieh [Why] It makes DSC enable when we commit the stream which need keep power off.And then it will skip to disable DSC if pipe reset at this situation as power has been off. It may cause the DSC unexpected enable on the pipe with the next new stream which doesn't support DSC. [HOW]

[PATCH 04/16] drm/amd/display: Remove BW Allocation from DPIA notification

2025-03-19 Thread Aurabindo Pillai
From: Cruise [Why] USB4 BW Allocation response will be handled in HPD IRQ. No need to handle it in DPIA notification callback. [How] Remove DP BW allocation response code in DPIA notification. Reviewed-by: Nicholas Kazlauskas Signed-off-by: Cruise Signed-off-by: Aurabindo Pillai --- drivers

[PATCH 09/16] drm/amd/display: Actually do immediate vblank disable

2025-03-19 Thread Aurabindo Pillai
From: Leo Li [Why] The `vblank_config.offdelay` field follows the same semantics as the `drm_vblank_offdelay` parameter. Setting it to 0 will never disable vblank. [How] Set `offdelay` to a positive number. Fixes: e45b6716de4b ("drm/amd/display: use a more lax vblank enable policy for DCN35+

RE: [PATCH 1/2] drm/amdgpu/mes: optimize compute loop handling

2025-03-19 Thread Liu, Shaoyun
[AMD Official Use Only - AMD Internal Distribution Only] Reviewed-by: Shaoyun.liu -Original Message- From: amd-gfx On Behalf Of Alex Deucher Sent: Wednesday, March 19, 2025 12:24 PM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander Subject: [PATCH 1/2] drm/amdgpu/mes: optimize c

[PATCH 00/16] DC Patches for 24 Mar 2025

2025-03-19 Thread Aurabindo Pillai
DC v3.2.326 Summary: * DML 2.1 resync * Vblank disable fixes * Visual confirm debug improvements * Add command for reading ABM histogram * Bug fixes & improvements __ Aric Cyr (2): drm/amd/display: Create a temporary scratch dc_link drm/amd/display: DC v3.2.326 Ausef Yousof (1):

[PATCH 14/16] Revert "drm/amd/display: dml2 soc dscclk use DPM table clk setting"

2025-03-19 Thread Aurabindo Pillai
From: Charlene Liu [why] this dscclk use DCN defined per DPM level will cause a DCFCLK increase. needs to follow up. This reverts commit 9932ab57776fa0168b702371ff5e2881c026f353 Reviewed-by: Yihan Zhu Reviewed-by: Alvin Lee Signed-off-by: Charlene Liu Signed-off-by: Aurabindo Pillai --- dr

[PATCH 03/16] drm/amd/display: Apply the adjusted DP ref clock for DP devices

2025-03-19 Thread Aurabindo Pillai
From: Yi-Ling Chen [Why] For some pixel clock margin sensitive external monitor, we could not keep original DP ref clock for the ASICs supported SSC DP ref clock. [How] >From slicon design team's comment, we have to apply the adjusted DP ref clock for DP devices. DP 128b (DP2) signals use DTBCLK

[PATCH 01/16] drm/amd/display: Add override for visual confirm

2025-03-19 Thread Aurabindo Pillai
From: Leo Zeng [WHY] We want to allow the display manager to override the visual confirm color in DC when required. [HOW] Add new visual confirm mode VISUAL_CONFIRM_EXPLICIT, check mode before setting visual confirm color. Reviewed-by: Aric Cyr Signed-off-by: Leo Zeng Signed-off-by: Aurabindo

[PATCH 08/16] drm/amd/display: Add Read Histogram command header

2025-03-19 Thread Aurabindo Pillai
From: Chun-Liang Chang [Why] Read the histogram for VariBright validation [How] Add dc/dmub functions to read histogram and ACE Reviewed-by: Jun Lei Signed-off-by: Chun-Liang Chang Signed-off-by: Aurabindo Pillai --- drivers/gpu/drm/amd/display/dc/dce/dmub_abm.c | 2 + .../gpu/drm/amd/disp

[PATCH 16/16] drm/amd/display: DC v3.2.326

2025-03-19 Thread Aurabindo Pillai
From: Aric Cyr Summary: * DML 2.1 resync * Vblank disable fixes * Visual confirm debug improvements * Add command for reading ABM histogram * Bug fixes & improvements Signed-off-by: Aric Cyr Signed-off-by: Aurabindo Pillai Reviewed-by: Leo Li --- drivers/gpu/drm/amd/display/dc/dc.h | 2 +-

Re: [PATCH 2/2] drm/amd/pm: add zero RPM stop temp OD setting support for SMU 14.0.2

2025-03-19 Thread Alex Deucher
On Wed, Mar 19, 2025 at 8:53 AM Tomasz Pakuła wrote: > > On Wed, 19 Mar 2025 at 03:19, Feng, Kenneth wrote: > > > > [AMD Official Use Only - AMD Internal Distribution Only] > > > > -Original Message- > > From: Tomasz Pakuła > > Sent: Sunday, March 16, 2025 4:16 AM > > To: Deucher, Alexan

[PATCH 1/2] drm/amdgpu/mes: optimize compute loop handling

2025-03-19 Thread Alex Deucher
Break when we get to the end of the supported pipes rather than continuing the loop. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c b/drivers/gpu/drm/amd/amdgpu/a

[PATCH 2/2] drm/amdgpu/mes: enable compute pipes across all MEC

2025-03-19 Thread Alex Deucher
Enable pipes on both MECs for MES. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c index 920cd1c1eacb6..b8066c0b9014f 1

[PATCH 1/6] drm/amdgpu/gfx6: fix CSIB handling

2025-03-19 Thread Alex Deucher
We shouldn't return after the last section. We need to update the rest of the CSIB. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c index 13fb

[PATCH 5/6] drm/amdgpu/gfx10: fix CSIB handling

2025-03-19 Thread Alex Deucher
We shouldn't return after the last section. We need to update the rest of the CSIB. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index a

[PATCH 2/6] drm/amdgpu/gfx7: fix CSIB handling

2025-03-19 Thread Alex Deucher
We shouldn't return after the last section. We need to update the rest of the CSIB. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c index 8181

Re: [PATCH] drm/amdgpu: remove is_mes_queue flag

2025-03-19 Thread Christian König
Sorry missed that one, Acked-by: Christian König Regards, Christian. Am 18.03.25 um 14:15 schrieb Alex Deucher: > Ping? > > On Wed, Mar 12, 2025 at 1:57 PM Alex Deucher > wrote: >> This was leftover from MES bring up when we had MES >> user queues in the kernel. It's no longer used so >> remo

Re: [PATCH v2] drm/amdgpu/sdam: Skip SDMA queue reset for SRIOV

2025-03-19 Thread Lazar, Lijo
On 3/18/2025 8:17 PM, Ahmad Rehman wrote: > For SRIOV, skip the SDMA queue reset and return > error. The engine/queue reset failure will trigger > FLR in the sequence. > > v2: do not add queue reset support mask for sriov > > Signed-off-by: Ahmad Rehman Reviewed-by: Lijo Lazar Thanks, Lijo

Re: [PATCH 04/11] drm/amdgpu/mes: centralize gfx_hqd mask management

2025-03-19 Thread Alex Deucher
On Wed, Mar 19, 2025 at 2:12 AM Liang, Prike wrote: > > [Public] > > > From: amd-gfx On Behalf Of Alex > > Deucher > > Sent: Thursday, March 13, 2025 10:41 PM > > To: amd-gfx@lists.freedesktop.org > > Cc: Deucher, Alexander ; Khatri, Sunil > > > > Subject: [PATCH 04/11] drm/amdgpu/mes: centraliz

Re: [PATCH] drm/amdgpu: Fix typo in DC_DEBUG_MASK kernel-doc

2025-03-19 Thread Alex Deucher
On Wed, Mar 19, 2025 at 7:23 AM Dominik Kaszewski wrote: > > Add missing colon in kernel-doc for DC_DEBUG_MASK enum. > > Signed-off-by: Dominik Kaszewski Acked-by: Alex Deucher > --- > drivers/gpu/drm/amd/include/amd_shared.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --

Re: [PATCH v2 18/57] irqdomain: gpu: Switch to irq_domain_create_linear()

2025-03-19 Thread Alex Deucher
On Wed, Mar 19, 2025 at 5:44 AM Jiri Slaby (SUSE) wrote: > > irq_domain_add_linear() is going away as being obsolete now. Switch to > the preferred irq_domain_create_linear(). That differs in the first > parameter: It takes more generic struct fwnode_handle instead of struct > device_node. Therefo

Re: [PATCH 05/11] drm/amdgpu/mes: update hqd masks when disable_kq is set

2025-03-19 Thread Alex Deucher
On Wed, Mar 19, 2025 at 2:42 AM Liang, Prike wrote: > > [Public] > > > -Original Message- > > From: amd-gfx On Behalf Of Alex > > Deucher > > Sent: Thursday, March 13, 2025 2:57 AM > > To: amd-gfx@lists.freedesktop.org > > Cc: Deucher, Alexander ; Khatri, Sunil > > > > Subject: [PATCH 05

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

2025-03-19 Thread Vignesh Raman
Hi Helen, On 19/03/25 00:22, Helen Mae Koike Fornazier wrote: 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

Re: [PATCH 06/11] drm/amdgpu/mes: make more vmids available when disable_kq=1

2025-03-19 Thread Alex Deucher
On Wed, Mar 19, 2025 at 5:03 AM Liang, Prike wrote: > > [Public] > > > From: amd-gfx On Behalf Of Alex > > Deucher > > Sent: Thursday, March 13, 2025 10:42 PM > > To: amd-gfx@lists.freedesktop.org > > Cc: Deucher, Alexander ; Khatri, Sunil > > > > Subject: [PATCH 06/11] drm/amdgpu/mes: make more

Re: [PATCH] drm/amd/amdgpu: Revert "drm/amd/amdgpu: shorten the gfx idle worker timeout"

2025-03-19 Thread Alex Deucher
On Wed, Mar 19, 2025 at 2:38 AM Kenneth Feng wrote: > > This reverts commit b00fb9765ea4b05198d67256118445c6f13f9ddf. > > Reason for revert: this causes some tests fail with call trace. Do you have a copy of the call trace? I can't see how this would be an issue? Alex > > Signed-off-by: Kennet

Re: [PATCH 2/2] drm/amd/pm: add zero RPM stop temp OD setting support for SMU 14.0.2

2025-03-19 Thread Tomasz Pakuła
On Wed, 19 Mar 2025 at 03:19, Feng, Kenneth wrote: > > [AMD Official Use Only - AMD Internal Distribution Only] > > -Original Message- > From: Tomasz Pakuła > Sent: Sunday, March 16, 2025 4:16 AM > To: Deucher, Alexander ; Feng, Kenneth > ; Wang, Yang(Kevin) > Cc: amd-gfx@lists.freedesk

[PATCH] drm/amdgpu: Fix typo in DC_DEBUG_MASK kernel-doc

2025-03-19 Thread Dominik Kaszewski
Add missing colon in kernel-doc for DC_DEBUG_MASK enum. Signed-off-by: Dominik Kaszewski --- drivers/gpu/drm/amd/include/amd_shared.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h index 4c9

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

2025-03-19 Thread Christian König
>> + * >> + * Return: >> + * 0 on success, or an error on failing to expand the array. >> + */ >> +int drm_sched_job_prealloc_dependency_slots(struct drm_sched_job >> *job, >> +    unsigned int num_deps) >> +{ >> +struct dma_fence *fence; >> +u32 id = 0;

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

2025-03-19 Thread Christian König
Am 18.03.25 um 13:39 schrieb 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_dep

Re: [PATCH v1 3/3] drm/ci: arm64.config: mediatek: enable PHY drivers

2025-03-19 Thread Helen Mae Koike Fornazier
Em sex., 14 de mar. de 2025 às 05:59, Vignesh Raman escreveu: > > The mediatek display driver fails to probe on mt8173-elm-hana and > mt8183-kukui-jacuzzi-juniper-sku16 in v6.14-rc4 due to missing PHY > configurations. > > Enable the following PHY drivers for MediaTek platforms: > - CONFIG_PHY_MTK

Re: [PATCH v2 00/57] irqdomain: Cleanups and Documentation

2025-03-19 Thread Jiri Slaby
On 19. 03. 25, 11:21, Andy Shevchenko wrote: I am all to support the idea, but in some cases I would think of a bit more work to be done to get rid of the of_fwnode_handle(np) in favour of dev_fwnode(dev). Note, this is based on a brief look, I haven't any example at hand right now. Aah, that's

RE: [PATCH] drm/amdgpu: Higher log level for missing PCIe atomics caps

2025-03-19 Thread Daisuke Matsuda (Fujitsu)
On Tue, Mar 18, 2025 5:35 AM Felix Kuehling wrote: > On 2025-03-17 15:07, Deucher, Alexander wrote: > > [Public] > > > >> -Original Message- > >> From: Daisuke Matsuda > >> Sent: Thursday, March 13, 2025 9:18 PM > >> To: amd-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org; > >>

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

2025-03-19 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 00/57] irqdomain: Cleanups and Documentation

2025-03-19 Thread Andy Shevchenko
On Wed, Mar 19, 2025 at 11:30 AM Jiri Slaby (SUSE) wrote: > > Hi, > > tl;dr if patches are agreed upon, I ask subsys maintainers to take the > respective ones via their trees (as they are split per subsys), so that > the IRQ tree can take only the rest. That would minimize churn/conflicts > during

[PATCH v2 18/57] irqdomain: gpu: Switch to irq_domain_create_linear()

2025-03-19 Thread Jiri Slaby (SUSE)
irq_domain_add_linear() is going away as being obsolete now. Switch to the preferred irq_domain_create_linear(). That differs in the first parameter: It takes more generic struct fwnode_handle instead of struct device_node. Therefore, of_fwnode_handle() is added around the parameter. Note some of

Re: [PATCH] drm/amdgpu: Fix display freezing issue when resizing apps

2025-03-19 Thread Sharma, Shashank
[AMD Official Use Only - AMD Internal Distribution Only] Reviewed-by: Shashank Sharma Regards Shashank From: Yadav, Arvind Sent: Tuesday, March 18, 2025 3:54 PM To: Koenig, Christian; Deucher, Alexander; Khatri, Sunil; Sharma, Shashank Cc: amd-gfx@lists.freedeskt

Re: [PATCH 3/3 V8] drm/amdgpu/sdma_v4_4_2: update VM flush implementation for SDMA

2025-03-19 Thread Lazar, Lijo
On 3/19/2025 10:37 AM, jesse.zh...@amd.com wrote: > From: "jesse.zh...@amd.com" > > This commit updates the VM flush implementation for the SDMA engine. > > - Added a new function `sdma_v4_4_2_get_invalidate_req` to construct the > VM_INVALIDATE_ENG0_REQ > register value for the specified

Re: [PATCH 2/3 V8] drm/amdgpu: Optimize VM invalidation engine allocation and synchronize GPU TLB flush

2025-03-19 Thread Lazar, Lijo
On 3/19/2025 10:37 AM, jesse.zh...@amd.com wrote: > From: "jesse.zh...@amd.com" > > - Modify the VM invalidation engine allocation logic to handle SDMA page > rings. > SDMA page rings now share the VM invalidation engine with SDMA gfx rings > instead of > allocating a separate engine. Th