Re: [PATCH 1/8] drm/amd/display: Introduce KUnit tests for fixed31_32 library

2022-08-11 Thread Maíra Canal
On 8/11/22 04:19, David Gow wrote: On Thu, Aug 11, 2022 at 11:05 AM 'Daniel Latypov' via KUnit Development wrote: On Wed, Aug 10, 2022 at 5:40 PM Tales Aparecida wrote: The fixed31_32 library performs a lot of the mathematical operations involving fixed-point arithmetic and the

Re: [PATCH 7/7] drm/amdgpu: enable ATHUB IP v3.0.1 Clock Gating

2022-08-11 Thread Deucher, Alexander
[Public] Series is: Reviewed-by: Alex Deucher From: Huang, Tim Sent: Thursday, August 11, 2022 12:58 AM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Zhang, Yifan ; Du, Xiaojian ; Huang, Tim Subject: [PATCH 7/7] drm/amdgpu: enable ATHUB IP

Re: [PATCH 0/8] drm/amd/display: Introduce KUnit to Display Mode Library

2022-08-11 Thread Maíra Canal
On 8/11/22 08:22, Christian König wrote: Am 11.08.22 um 02:40 schrieb Tales Aparecida: Hello, This series is the consolidation of an RFC sent earlier this year [RFC] bringing unit testing to the AMDPGU driver. [gsoc] Our main goal is to bring unit testing to the AMD display driver; in

[PATCH] drm/amdgpu: use native mode for dp aux transfer

2022-08-11 Thread Zhenneng Li
When using amdgpu for e8860, the monitor sometimes haven't any signal, and the kernel reports some errors: [ 17.317302][ 2] [ T1045] [drm:amdgpu_atombios_dp_link_train [amdgpu]] *ERROR* channel eq failed: 5 tries [ 17.326963][ 2] [ T1045] [drm:amdgpu_atombios_dp_link_train [amdgpu]] *ERROR*

Re: [PATCH v2 2/3] drm/amd/display: consider DSC pass-through during mode validation

2022-08-11 Thread Anders Roxell
onfig kernel from todays next tag, next-20220811. I can see the following build error. ERROR: modpost: "dc_dsc_compute_bandwidth_range" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! ERROR: modpost: "dc_dsc_get_policy_for_timing" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undef

[PATCH] drm/radeon: add a force flush to delay work when radeon

2022-08-11 Thread Zhenneng Li
Although radeon card fence and wait for gpu to finish processing current batch rings, there is still a corner case that radeon lockup work queue may not be fully flushed, and meanwhile the radeon_suspend_kms() function has called pci_set_power_state() to put device in D3hot state. Per PCI spec

[PATCH v2] drm/amdkfd: reserve 2 queues for sdma 6.0.1

2022-08-11 Thread Yifan Zhang
There is only one engine in sdma 6.0.1, the total number of reserved queues should be 2. Signed-off-by: Yifan Zhang --- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c

RE: [PATCH] drm/amdkfd: reserve 2 queues for sdma 6.0.1

2022-08-11 Thread Zhang, Yifan
[AMD Official Use Only - General] The comment is not correct. Please ignore this one and review v2. Best Regards, Yifan -Original Message- From: Zhang, Yifan Sent: Thursday, August 11, 2022 8:30 PM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Kuehling, Felix ; Joshi,

[PATCH] drm/amdkfd: reserve 2 queues for sdma 6.0.1

2022-08-11 Thread Yifan Zhang
There is only one engine in sdma 6.0.1, current code reserve 4 queues togather w/ 6.0.0 and 6.0.2, which is not necessary. Shrink it to 2. Signed-off-by: Yifan Zhang --- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git

RE: [PATCH] drm/amd/pm: add mode1 support on smu_v13_0_7

2022-08-11 Thread Wang, Yang(Kevin)
[AMD Official Use Only - General] -Original Message- From: amd-gfx On Behalf Of Kenneth Feng Sent: Thursday, August 11, 2022 4:40 PM To: amd-gfx@lists.freedesktop.org Cc: Feng, Kenneth Subject: [PATCH] drm/amd/pm: add mode1 support on smu_v13_0_7 add mode1 support since it's missing on

Re: [PATCH 0/8] drm/amd/display: Introduce KUnit to Display Mode Library

2022-08-11 Thread Christian König
Am 11.08.22 um 02:40 schrieb Tales Aparecida: Hello, This series is the consolidation of an RFC sent earlier this year [RFC] bringing unit testing to the AMDPGU driver. [gsoc] Our main goal is to bring unit testing to the AMD display driver; in particular, we'll focus on the Display Mode

[Patch V3] drm/amdgpu: Increase tlb flush timeout for sriov

2022-08-11 Thread Dusica Milinkovic
[Why] During multi-vf executing benchmark (Luxmark) observed kiq error timeout. It happenes because all of VFs do the tlb invalidation at the same time. Although each VF has the invalidate register set, from hardware side the invalidate requests are queue to execute. [How] In case of 12 VF

[PATCH] drm/amd/pm: add mode1 support on smu_v13_0_7

2022-08-11 Thread Kenneth Feng
add mode1 support since it's missing on smu_v13_0_7 Signed-off-by: Kenneth Feng --- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c

Re: [Linaro-mm-sig] [PATCH v2 3/5] dma-buf: Move all dma-bufs to dynamic locking specification

2022-08-11 Thread Dmitry Osipenko
On 8/10/22 21:25, Christian König wrote: > Am 10.08.22 um 19:49 schrieb Dmitry Osipenko: >> On 8/10/22 14:30, Christian König wrote: >>> Am 25.07.22 um 17:18 schrieb Dmitry Osipenko: This patch moves the non-dynamic dma-buf users over to the dynamic locking specification. The strict

<    1   2