RE: [PATCH 1/3] drm/amdgpu: add smu 14.0.1 support

2024-03-05 Thread Zhang, Yifan
[AMD Official Use Only - General] I think it is intentional re-use of smu 14.0.0 interface and will be updated later. Best Regards, Yifan -Original Message- From: Wang, Yang(Kevin) Sent: Wednesday, March 6, 2024 11:09 AM To: Deucher, Alexander ; amd-gfx@lists.freedesktop.org Cc:

RE: [PATCH 1/3] drm/amdgpu: add smu 14.0.1 support

2024-03-05 Thread Wang, Yang(Kevin)
[AMD Official Use Only - General] -Original Message- From: amd-gfx On Behalf Of Alex Deucher Sent: Tuesday, March 5, 2024 11:25 PM To: amd-gfx@lists.freedesktop.org Cc: Zhang, Yifan ; Deucher, Alexander Subject: [PATCH 1/3] drm/amdgpu: add smu 14.0.1 support From: Yifan Zhang This

Re: [PATCH v3 9/9] drm/ci: uprev IGT and update testlist

2024-03-05 Thread Vignesh Raman
Hi Maíra, On 19/02/24 14:22, Vignesh Raman wrote: Hi Maíra, On 10/02/24 23:50, Maíra Canal wrote: On 2/10/24 15:17, Maíra Canal wrote: On 1/30/24 12:03, Vignesh Raman wrote: Uprev IGT and add amd, v3d, vc4 and vgem specific tests to testlist. Have testlist.txt per driver and include a base

Re: [PATCH 2/3] drm/amdgpu: sdma support for sriov cpx mode

2024-03-05 Thread Felix Kuehling
On 2024-03-05 14:49, Dhume, Samir wrote: [AMD Official Use Only - General] -Original Message- From: Kuehling, Felix Sent: Monday, March 4, 2024 6:47 PM To: Dhume, Samir ; amd-gfx@lists.freedesktop.org Cc: Lazar, Lijo ; Wan, Gavin ; Liu, Leo ; Deucher, Alexander Subject: Re: [PATCH

[PATCH] drm/amd/display: Use freesync when `DRM_EDID_FEATURE_CONTINUOUS_FREQ` found

2024-03-05 Thread Mario Limonciello
The monitor shipped with the Framework 16 supports VRR [1], but it's not being advertised. This is because the detailed timing block doesn't contain `EDID_DETAIL_MONITOR_RANGE` which amdgpu looks for to find min and max frequencies. This check however is superfluous for this case because

RE: [PATCH 2/3] drm/amdgpu: sdma support for sriov cpx mode

2024-03-05 Thread Dhume, Samir
[AMD Official Use Only - General] > -Original Message- > From: Kuehling, Felix > Sent: Monday, March 4, 2024 6:47 PM > To: Dhume, Samir ; amd-gfx@lists.freedesktop.org > Cc: Lazar, Lijo ; Wan, Gavin ; > Liu, Leo ; Deucher, Alexander > > Subject: Re: [PATCH 2/3] drm/amdgpu: sdma support

[PATCH 0/4] NBIF 6.3.1 Support

2024-03-05 Thread Alex Deucher
This series adds support for NBIF 6.3.1. NBIF handles the PCIe Bus InterFace on the GPU. The first two patches add new register headers and are very large so they were not sent to the list. Hawking Zhang (3): drm/amdgpu: Add nbif v6_3_1 ip headers (v5) drm/amdgpu: Add pcie v6_1_0 ip headers

[PATCH 4/4] drm/amdgpu/discovery: add nbif v6_3_1 ip block

2024-03-05 Thread Alex Deucher
From: Likun Gao Add nbif v6_3_1 ip block. Signed-off-by: Likun Gao Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

[PATCH 3/4] drm/amdgpu: Add nbif v6_3_1 ip block support

2024-03-05 Thread Alex Deucher
From: Hawking Zhang Add nbif v6_3_1 ip block support. Signed-off-by: Hawking Zhang Reviewed-by: Likun Gao Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/Makefile | 2 +- drivers/gpu/drm/amd/amdgpu/nbif_v6_3_1.c | 495 +++

Re: [PATCH] drm/amdkfd: make kfd_class constant

2024-03-05 Thread Felix Kuehling
kfd_device = NULL; } --- base-commit: 8bc75586ea01f1c645063d3472c115ecab03e76c change-id: 20240305-class_cleanup-drm-amd-bdc7255b7540 Best regards,

[PATCH v2] drm/amdgpu: Init zone device and drm client after mode-1 reset on reload

2024-03-05 Thread Ahmad Rehman
In passthrough environment, when amdgpu is reloaded after unload, mode-1 is triggered after initializing the necessary IPs, That init does not include KFD, and KFD init waits until the reset is completed. KFD init is called in the reset handler, but in this case, the zone device and drm client is

Re: [PATCH] drm/amdgpu: Init zone device and drm client after mode-1 reset on reload

2024-03-05 Thread Felix Kuehling
On 2024-03-04 19:20, Rehman, Ahmad wrote: [AMD Official Use Only - General] Hey, Due to mode-1 reset (pending_reset), the amdgpu_amdkfd_device_init will not be called and hence adev->kfd.init_complete will not be set. The function amdgpu_amdkfd_drm_client_create has condition: if

[PATCH 1/3] drm/amdgpu: add smu 14.0.1 support

2024-03-05 Thread Alex Deucher
From: Yifan Zhang This patch to add smu 14.0.1 support. Signed-off-by: Yifan Zhang Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 2 ++ drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c | 5 + 2 files changed, 7 insertions(+) diff --git

[PATCH 3/3] drm/amd/pm: wait for completion of the EnableGfxImu message

2024-03-05 Thread Alex Deucher
From: Tim Huang Wait for completion of sending the EnableGfxImu message when using the PSP FW loading for SMU ip v14.0. Signed-off-by: Tim Huang Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-)

[PATCH 2/3] drm/amdgpu/soc21: add mode2 asic reset for SMU IP v14.0.1

2024-03-05 Thread Alex Deucher
From: lima1002 Set the default reset method to mode2 for SMU IP v14.0.1 Signed-off-by: lima1002 Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/soc21.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c

[PATCH 6/6] drm/amdgpu: add VPE 6.1.1 discovery support

2024-03-05 Thread Alex Deucher
Enable VPE 6.1.1. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c index b6bed77b454de..b9209e6aa438c 100644 ---

[PATCH 4/6] drm/amdgpu/vpe: don't emit cond exec command under collaborate mode

2024-03-05 Thread Alex Deucher
From: Lang Yu Not ready now. Signed-off-by: Lang Yu Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c index

[PATCH 5/6] drm/amdgpu/vpe: add VPE 6.1.1 support

2024-03-05 Thread Alex Deucher
From: Lang Yu Add initial support for VPE 6.1.1. v2: squash in updates (Alex) Signed-off-by: Lang Yu Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c | 32 ++- drivers/gpu/drm/amd/amdgpu/vpe_v6_1.c | 281 2 files changed, 207 insertions(+),

[PATCH 3/6] drm/amdgpu/vpe: add collaborate mode support for VPE

2024-03-05 Thread Alex Deucher
From: Lang Yu Under clollaborate mode, multiple VPE instances share a ring buferr and work together to finish a job. Signed-off-by: Lang Yu Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c | 20 drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.h | 1 + 2

[PATCH 2/6] drm/amdgpu/vpe: add PRED_EXE and COLLAB_SYNC OPCODE

2024-03-05 Thread Alex Deucher
From: Lang Yu To support multi VPE collaborate mode. Signed-off-by: Lang Yu Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/vpe_6_1_fw_if.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vpe_6_1_fw_if.h

[PATCH 1/6] drm/amdgpu/vpe: add multi instance VPE support

2024-03-05 Thread Alex Deucher
From: Lang Yu Add support for multi instance VPE processing. Signed-off-by: Lang Yu Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 9 + drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.h | 4 2 files changed, 13 insertions(+) diff --git

Reminder: 2024 X.Org Board of Directors Elections timeline extended, request for nominations

2024-03-05 Thread Christopher Michael
This is a reminder that we are still looking for candidates for the upcoming X.Org Board of Directors elections, and that membership renewals are still open and will be needed to vote on those elections. Please read below for more details. Cheers, Christopher Michael, on behalf of the X.Org

[PATCH] drm/amdkfd: make kfd_class constant

2024-03-05 Thread Ricardo B. Marliere
_dev_major, 0)); + class_unregister(_class); unregister_chrdev(kfd_char_dev_major, kfd_dev_name); kfd_device = NULL; } --- base-commit: 8bc75586ea01f1c645063d3472c115ecab03e76c change-id: 20240305-class_cleanup-drm-amd-bdc7255b7540 Best regards, -- Ricardo B. Marliere

Re: [PATCH] drm/amdgpu: add dcn3.5.1 support

2024-03-05 Thread Alex Deucher
On Mon, Mar 4, 2024 at 8:28 PM Yifan Zhang wrote: > > This patch to add dcn3.5.1 support. > > Signed-off-by: Yifan Zhang Reviewed-by: Alex Deucher > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH v3] drm/amdgpu: add ring timeout information in devcoredump

2024-03-05 Thread Christian König
Am 05.03.24 um 14:57 schrieb Sunil Khatri: Add ring timeout related information in the amdgpu devcoredump file for debugging purposes. During the gpu recovery process the registered call is triggered and add the debug information in data file created by devcoredump framework under the directory

[PATCH v3] drm/amdgpu: add ring timeout information in devcoredump

2024-03-05 Thread Sunil Khatri
Add ring timeout related information in the amdgpu devcoredump file for debugging purposes. During the gpu recovery process the registered call is triggered and add the debug information in data file created by devcoredump framework under the directory /sys/class/devcoredump/devcdx/

Re: [PATCH v2] drm/amdgpu: add ring timeout information in devcoredump

2024-03-05 Thread Christian König
Am 05.03.24 um 14:17 schrieb Khatri, Sunil: On 3/5/2024 6:40 PM, Christian König wrote: Am 05.03.24 um 12:58 schrieb Sunil Khatri: Add ring timeout related information in the amdgpu devcoredump file for debugging purposes. During the gpu recovery process the registered call is triggered and

Re: [PATCH v2] drm/amdgpu: add ring timeout information in devcoredump

2024-03-05 Thread Khatri, Sunil
On 3/5/2024 6:40 PM, Christian König wrote: Am 05.03.24 um 12:58 schrieb Sunil Khatri: Add ring timeout related information in the amdgpu devcoredump file for debugging purposes. During the gpu recovery process the registered call is triggered and add the debug information in data file

Re: [PATCH v2] drm/amdgpu: add ring timeout information in devcoredump

2024-03-05 Thread Christian König
Am 05.03.24 um 12:58 schrieb Sunil Khatri: Add ring timeout related information in the amdgpu devcoredump file for debugging purposes. During the gpu recovery process the registered call is triggered and add the debug information in data file created by devcoredump framework under the directory

Re: [PATCH v8 3/3] drm/buddy: Add user for defragmentation

2024-03-05 Thread Christian König
Am 05.03.24 um 12:14 schrieb Paneer Selvam, Arunpravin: On 3/5/2024 4:33 PM, Paneer Selvam, Arunpravin wrote: Hi Christian, On 3/4/2024 10:09 PM, Christian König wrote: Am 04.03.24 um 17:32 schrieb Arunpravin Paneer Selvam: Add amdgpu driver as user for the drm buddy defragmentation.

[PATCH v2] drm/amdgpu: add ring timeout information in devcoredump

2024-03-05 Thread Sunil Khatri
Add ring timeout related information in the amdgpu devcoredump file for debugging purposes. During the gpu recovery process the registered call is triggered and add the debug information in data file created by devcoredump framework under the directory /sys/class/devcoredump/devcdx/

Re: [PATCH v8 3/3] drm/buddy: Add user for defragmentation

2024-03-05 Thread Paneer Selvam, Arunpravin
On 3/5/2024 4:33 PM, Paneer Selvam, Arunpravin wrote: Hi Christian, On 3/4/2024 10:09 PM, Christian König wrote: Am 04.03.24 um 17:32 schrieb Arunpravin Paneer Selvam: Add amdgpu driver as user for the drm buddy defragmentation. Signed-off-by: Arunpravin Paneer Selvam ---  

Re: [PATCH] drm/amdgpu: add ring timeout information in devcoredump

2024-03-05 Thread Khatri, Sunil
On 3/5/2024 2:53 PM, Christian König wrote: > Am 01.03.24 um 13:43 schrieb Sunil Khatri: >> Add ring timeout related information in the amdgpu >> devcoredump file for debugging purposes. >> >> During the gpu recovery process the registered call >> is triggered and add the debug information in

Re: [PATCH v8 3/3] drm/buddy: Add user for defragmentation

2024-03-05 Thread Paneer Selvam, Arunpravin
Hi Christian, On 3/4/2024 10:09 PM, Christian König wrote: Am 04.03.24 um 17:32 schrieb Arunpravin Paneer Selvam: Add amdgpu driver as user for the drm buddy defragmentation. Signed-off-by: Arunpravin Paneer Selvam ---   drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | 17 +++--  

Re: [PATCH 2/2] drm/amdgpu: Use offsets local to VCN in VF

2024-03-05 Thread Christian König
Am 05.03.24 um 10:33 schrieb Lazar, Lijo: On 3/5/2024 2:48 PM, Christian König wrote: Am 05.03.24 um 10:03 schrieb Lazar, Lijo: On 3/5/2024 2:24 PM, Christian König wrote: Am 05.03.24 um 07:40 schrieb Lijo Lazar: For VCN 4.0.3, use only the local addressing scheme while in VF mode. This

Re: [PATCH 1/2] drm/amdgpu: Add HDP flush to VCN v4.0.3

2024-03-05 Thread Lazar, Lijo
On 3/5/2024 2:44 PM, Christian König wrote: > Am 05.03.24 um 10:01 schrieb Lazar, Lijo: >> On 3/5/2024 2:22 PM, Christian König wrote: >>> Am 05.03.24 um 07:40 schrieb Lijo Lazar: VCN 4.0.3 cannot trigger HDP flush with RRMT enabled. Instead, trigger HDP flush from host side before

Re: [PATCH 2/2] drm/amdgpu: Use offsets local to VCN in VF

2024-03-05 Thread Lazar, Lijo
On 3/5/2024 2:48 PM, Christian König wrote: > Am 05.03.24 um 10:03 schrieb Lazar, Lijo: >> >> On 3/5/2024 2:24 PM, Christian König wrote: >>> >>> Am 05.03.24 um 07:40 schrieb Lijo Lazar: For VCN 4.0.3, use only the local addressing scheme while in VF mode. This includes addressing

Re: [PATCH] drm/amdgpu: add ring timeout information in devcoredump

2024-03-05 Thread Christian König
Am 01.03.24 um 13:43 schrieb Sunil Khatri: Add ring timeout related information in the amdgpu devcoredump file for debugging purposes. During the gpu recovery process the registered call is triggered and add the debug information in data file created by devcoredump framework under the directory

Re: [PATCH 2/2] drm/amdgpu: Use offsets local to VCN in VF

2024-03-05 Thread Christian König
Am 05.03.24 um 10:03 schrieb Lazar, Lijo: On 3/5/2024 2:24 PM, Christian König wrote: Am 05.03.24 um 07:40 schrieb Lijo Lazar: For VCN 4.0.3, use only the local addressing scheme while in VF mode. This includes addressing scheme used for HUB offsets. Signed-off-by: Lijo Lazar ---  

Re: [PATCH 1/2] drm/amdgpu: Add HDP flush to VCN v4.0.3

2024-03-05 Thread Christian König
Am 05.03.24 um 10:01 schrieb Lazar, Lijo: On 3/5/2024 2:22 PM, Christian König wrote: Am 05.03.24 um 07:40 schrieb Lijo Lazar: VCN 4.0.3 cannot trigger HDP flush with RRMT enabled. Instead, trigger HDP flush from host side before ringing doorbell. Well that won't work like that. The HDP

Re: [PATCH 2/2] drm/amdgpu: Use offsets local to VCN in VF

2024-03-05 Thread Lazar, Lijo
On 3/5/2024 2:24 PM, Christian König wrote: > > > Am 05.03.24 um 07:40 schrieb Lijo Lazar: >> For VCN 4.0.3, use only the local addressing scheme while in VF >> mode. This includes addressing scheme used for HUB offsets. >> >> Signed-off-by: Lijo Lazar >> --- >>  

Re: [PATCH 1/2] drm/amdgpu: Add HDP flush to VCN v4.0.3

2024-03-05 Thread Lazar, Lijo
On 3/5/2024 2:22 PM, Christian König wrote: > Am 05.03.24 um 07:40 schrieb Lijo Lazar: >> VCN 4.0.3 cannot trigger HDP flush with RRMT enabled. Instead, trigger >> HDP flush from host side before ringing doorbell. > > Well that won't work like that. > > The HDP flush is supposed to be emitted

Re: [PATCH 2/2] drm/amdgpu: Use offsets local to VCN in VF

2024-03-05 Thread Christian König
Am 05.03.24 um 07:40 schrieb Lijo Lazar: For VCN 4.0.3, use only the local addressing scheme while in VF mode. This includes addressing scheme used for HUB offsets. Signed-off-by: Lijo Lazar --- drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c | 20 +++- 1 file changed, 19

Re: [PATCH 1/2] drm/amdgpu: Add HDP flush to VCN v4.0.3

2024-03-05 Thread Christian König
Am 05.03.24 um 07:40 schrieb Lijo Lazar: VCN 4.0.3 cannot trigger HDP flush with RRMT enabled. Instead, trigger HDP flush from host side before ringing doorbell. Well that won't work like that. The HDP flush is supposed to be emitted into the ring buffer of the engine. If you just "emulate"