[PATCH v3 4/6] drm/amdgpu: add ring mode support for lsdma

2023-11-20 Thread Yifan Zhang
This patch is to add ring mode support for lsdma. Signed-off-by: Yifan Zhang Reviewed-by: Tim Huang Reviewed-by: Lang Yu --- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 20 + drivers/gpu/drm/amd/amdgpu/amdgpu_lsdma.c | 40 + drivers/gpu/drm/amd/amdgpu/amdgpu_lsdma.h | 33 +-

[PATCH v3 5/6] drm/amdgpu: skip LSDMA for mes self test.

2023-11-20 Thread Yifan Zhang
LSDMA ring mode doesn't support doorbell. Signed-off-by: Yifan Zhang Reviewed-by: Tim Huang Reviewed-by: Lang Yu --- drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c

[PATCH v3 6/6] drm/amdgpu: Default disable LSDMA until proven stable.

2023-11-20 Thread Yifan Zhang
Add a module parameter for enabling LSDMA, defalt disable it until proven stable. The module parameter is used to enable LSDMA ring mode, and switch paging, system buffer management from SDMA to LSDMA. Signed-off-by: Yifan Zhang Reviewed-by: Tim Huang Reviewed-by: Lang Yu --- drivers/gpu/drm/a

[PATCH v3 3/6] drm/amdgpu: update lsdma headers

2023-11-20 Thread Yifan Zhang
This patch is to update lsdma headers. Signed-off-by: Yifan Zhang Reviewed-by: Tim Huang Reviewed-by: Lang Yu --- .../drm/amd/include/asic_reg/lsdma/lsdma_6_0_0_offset.h| 2 ++ .../drm/amd/include/asic_reg/lsdma/lsdma_6_0_0_sh_mask.h | 7 +++ 2 files changed, 9 insertions(+) diff --

[PATCH v3 2/6] drm/amdgpu: add lsdma interrupt src id

2023-11-20 Thread Yifan Zhang
This patch is to add lsdma interrupt src id. Signed-off-by: Yifan Zhang Reviewed-by: Tim Huang Reviewed-by: Lang Yu --- drivers/gpu/drm/amd/include/ivsrcid/gfx/irqsrcs_gfx_11_0_0.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/include/ivsrcid/gfx/irqsrcs_gfx_11_0_0.

[PATCH v3 1/6] drm/amdgpu: add lsdma hw ip definition

2023-11-20 Thread Yifan Zhang
This patch is to add lsdma hw ip definition. Signed-off-by: Yifan Zhang Reviewed-by: Tim Huang Reviewed-by: Lang Yu --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c| 15 +++ drivers

[PATCH v3 0/6] Enable LSDMA ring mode

2023-11-20 Thread Yifan Zhang
This series implements LSDMA ring mode, creates LSDMA ring and implement amdgpu ring related functions. Introduce a new module parameter amdgpu_lsdma to enable LSDMA, switch buffer and paging funcs from SDMA to LSDMA. It changes amdgpu driver buffer operations to LSDMA, changes default page table u

RE: [PATCH] drm/amdgpu: fix memory overflow in the IB test

2023-11-20 Thread Zhang, Yifan
[AMD Official Use Only - General] Reviewed-by: Yifan Zhang -Original Message- From: Huang, Tim Sent: Tuesday, November 21, 2023 2:26 PM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Zhang, Yifan ; Huang, Tim Subject: [PATCH] drm/amdgpu: fix memory overflow in the IB tes

[PATCH] drm/amdgpu: fix memory overflow in the IB test

2023-11-20 Thread Tim Huang
Fix a memory overflow issue in the gfx IB test for some ASICs. At least 20 bytes are needed for the IB test packet. Signed-off-by: Tim Huang --- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 +- drivers

[PATCH -next] drm/amd/display: Remove duplicated include in dcn201_resource.c

2023-11-20 Thread Yang Li
./drivers/gpu/drm/amd/display/dc/resource/dcn201/dcn201_resource.c: dcn201/dcn201_hubbub.h is included more than once. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7583 Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/resource/dcn201/dcn201_resource.

[PATCH v4 07/20] drivers/gpu/drm: remove I2C_CLASS_DDC support

2023-11-20 Thread Heiner Kallweit
After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC. Class-based device auto-detection is a legacy mechanism and shouldn't be used in new code. So we can remove this class completely now. Preferably this series

[PATCH v4 03/20] drm/amd/display: remove I2C_CLASS_DDC support

2023-11-20 Thread Heiner Kallweit
After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC. Class-based device auto-detection is a legacy mechanism and shouldn't be used in new code. So we can remove this class completely now. Preferably this series

Re: Radeon regression in 6.6 kernel

2023-11-20 Thread Phillip Susi
Christian König writes: > Well none of the commits mentioned can affect radeon in any way. Radeon > simply doesn't use the scheduler. > > My suspicion is that the user is actually using amdgpu instead of > radeon. The switch potentially occurred accidentally, for example by > compiling amdgpu

Re: Radeon regression in 6.6 kernel

2023-11-20 Thread Phillip Susi
Alex Deucher writes: > Yes. Those changes went into 6.7 though, not 6.6 AFAIK. Maybe I'm > misunderstanding what the original report was actually testing. If it > was 6.7, then try reverting: > 56e449603f0ac580700621a356d35d5716a62ce5 > b70438004a14f4d0f9890b3297cd66248728546c I had been runn

[PATCH v4 00/20] remove I2C_CLASS_DDC support

2023-11-20 Thread Heiner Kallweit
After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC. Class-based device auto-detection is a legacy mechanism and shouldn't be used in new code. So we can remove this class completely now. Preferably this series

[PATCH v2 6/7] drm/exec: Pass in initial # of objects

2023-11-20 Thread Rob Clark
From: Rob Clark In cases where the # is known ahead of time, it is silly to do the table resize dance. Signed-off-by: Rob Clark Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 8 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 +- drivers/gp

[PATCH v2 0/7] drm/msm/gem: drm_exec conversion

2023-11-20 Thread Rob Clark
From: Rob Clark Simplify the exec path (removing a legacy optimization) and convert to drm_exec. One drm_exec patch to allow passing in the expected # of GEM objects to avoid re-allocation. I'd be a bit happier if I could avoid the extra objects table allocation in drm_exec in the first place,

Re: [PATCH] drm/amdgpu: Force order between a read and write to the same address

2023-11-20 Thread Alex Deucher
On Sat, Nov 18, 2023 at 1:12 PM Alex Sierra wrote: > > Setting register to force ordering to prevent read/write or write/read > hazards for un-cached modes. > > Signed-off-by: Alex Sierra Acked-by: Alex Deucher > --- > drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c| 22 +-- >

[PATCH] drm/amdgpu: fix AGP addressing when GART is not at 0

2023-11-20 Thread Alex Deucher
This worked by luck if the GART aperture ended up at 0. When we ended up moving GART on some chips, the GART aperture ended up offsetting the the AGP address since the resource->start is a GART offset, not an MC address. Fix this by moving the AGP address setup into amdgpu_bo_gpu_offset_no_check(

[PATCH] drm/amdgpu: Force order between a read and write to the same address

2023-11-20 Thread Alex Sierra
Setting register to force ordering to prevent read/write or write/read hazards for un-cached modes. Signed-off-by: Alex Sierra --- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c| 8 .../gpu/drm/amd/include/asic_reg/gc/gc_11_0_0_offset.h| 2 ++ 2 files changed, 10 inserti

Re: Radeon regression in 6.6 kernel

2023-11-20 Thread Alex Deucher
On Mon, Nov 20, 2023 at 11:24 AM Christian König wrote: > > Am 20.11.23 um 17:08 schrieb Alex Deucher: > > On Mon, Nov 20, 2023 at 10:57 AM Christian König > > wrote: > >> Am 19.11.23 um 07:47 schrieb Dave Airlie: > On 12.11.23 01:46, Phillip Susi wrote: > > I had been testing some thing

Re: [PATCH 1/3] Revert "drm/prime: Unexport helpers for fd/handle conversion"

2023-11-20 Thread Christian König
Am 20.11.23 um 17:28 schrieb Thomas Zimmermann: Hi Am 20.11.23 um 17:22 schrieb Christian König: Am 20.11.23 um 17:15 schrieb Felix Kuehling: On 2023-11-20 11:02, Thomas Zimmermann wrote: Hi Christian Am 20.11.23 um 16:22 schrieb Christian König: Am 20.11.23 um 16:18 schrieb Thomas Zimmerm

Re: [PATCH 1/3] Revert "drm/prime: Unexport helpers for fd/handle conversion"

2023-11-20 Thread Thomas Zimmermann
Hi Am 20.11.23 um 17:22 schrieb Christian König: Am 20.11.23 um 17:15 schrieb Felix Kuehling: On 2023-11-20 11:02, Thomas Zimmermann wrote: Hi Christian Am 20.11.23 um 16:22 schrieb Christian König: Am 20.11.23 um 16:18 schrieb Thomas Zimmermann: Hi Am 20.11.23 um 16:06 schrieb Felix Kueh

Re: [PATCH 1/3] Revert "drm/prime: Unexport helpers for fd/handle conversion"

2023-11-20 Thread Thomas Zimmermann
Hi Am 20.11.23 um 17:15 schrieb Felix Kuehling: On 2023-11-20 11:02, Thomas Zimmermann wrote: Hi Christian Am 20.11.23 um 16:22 schrieb Christian König: Am 20.11.23 um 16:18 schrieb Thomas Zimmermann: Hi Am 20.11.23 um 16:06 schrieb Felix Kuehling: On 2023-11-20 6:54, Thomas Zimmermann wr

Re: Radeon regression in 6.6 kernel

2023-11-20 Thread Christian König
Am 20.11.23 um 17:08 schrieb Alex Deucher: On Mon, Nov 20, 2023 at 10:57 AM Christian König wrote: Am 19.11.23 um 07:47 schrieb Dave Airlie: On 12.11.23 01:46, Phillip Susi wrote: I had been testing some things on a post 6.6-rc5 kernel for a week or two and then when I pulled to a post 6.6 re

[PATCH v2 22/24] drm/amdkfd: add pc sampling release when process release

2023-11-20 Thread James Zhu
Add pc sampling release when process release, it will force to stop all activate sessions with this process. Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdkfd/kfd_pc_sampling.c | 21 drivers/gpu/drm/amd/amdkfd/kfd_pc_sampling.h | 1 + drivers/gpu/drm/amd/amdkfd/kfd_pr

Re: [PATCH 1/3] Revert "drm/prime: Unexport helpers for fd/handle conversion"

2023-11-20 Thread Christian König
Am 20.11.23 um 17:15 schrieb Felix Kuehling: On 2023-11-20 11:02, Thomas Zimmermann wrote: Hi Christian Am 20.11.23 um 16:22 schrieb Christian König: Am 20.11.23 um 16:18 schrieb Thomas Zimmermann: Hi Am 20.11.23 um 16:06 schrieb Felix Kuehling: On 2023-11-20 6:54, Thomas Zimmermann wrote:

Re: [PATCH 16/24] drm/amdkfd: use bit operation set debug trap

2023-11-20 Thread James Zhu
On 2023-11-10 14:08, Yat Sin, David wrote: [AMD Official Use Only - General] -Original Message- From: Zhu, James Sent: Friday, November 3, 2023 9:12 AM To: amd-gfx@lists.freedesktop.org Cc: Kuehling, Felix ; Greathouse, Joseph ; Yat Sin, David ; Zhu, James Subject: [PATCH 16/24] drm

Re: [PATCH 15/24] drm/amdkfd: trigger pc sampling trap for aldebaran

2023-11-20 Thread James Zhu
On 2023-11-10 14:08, Yat Sin, David wrote: [AMD Official Use Only - General] I would merge this with patch 14 of the series [JZ] it is better to keep two ASIC patches separately. -Original Message- From: Zhu, James Sent: Friday, November 3, 2023 9:12 AM To: amd-gfx@lists.freedeskt

[PATCH v2 13/24] drm/amdgpu: add sq host trap status check

2023-11-20 Thread James Zhu
Before fire a new host trap, check the host trap status. Signed-off-by: James Zhu --- .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c | 35 +++ .../amd/include/asic_reg/gc/gc_9_0_offset.h | 2 ++ .../amd/include/asic_reg/gc/gc_9_0_sh_mask.h | 5 +++ 3 files changed, 42 inserti

Re: [PATCH] drm/amdgpu: fix AGP addressing when GART is not at 0

2023-11-20 Thread Christian König
Am 17.11.23 um 20:24 schrieb Alex Deucher: On Fri, Nov 10, 2023 at 10:22 AM Christian König wrote: Am 10.11.23 um 16:02 schrieb Alex Deucher: This worked by luck if the GART aperture ended up at 0. When we ended up moving GART on some chips, the GART aperture ended up offsetting the the AGP a

Re: [PATCH 1/3] Revert "drm/prime: Unexport helpers for fd/handle conversion"

2023-11-20 Thread Felix Kuehling
On 2023-11-20 11:02, Thomas Zimmermann wrote: Hi Christian Am 20.11.23 um 16:22 schrieb Christian König: Am 20.11.23 um 16:18 schrieb Thomas Zimmermann: Hi Am 20.11.23 um 16:06 schrieb Felix Kuehling: On 2023-11-20 6:54, Thomas Zimmermann wrote: Hi Am 17.11.23 um 22:44 schrieb Felix Kueh

Re: Radeon regression in 6.6 kernel

2023-11-20 Thread Alex Deucher
On Mon, Nov 20, 2023 at 10:57 AM Christian König wrote: > > Am 19.11.23 um 07:47 schrieb Dave Airlie: > >> On 12.11.23 01:46, Phillip Susi wrote: > >>> I had been testing some things on a post 6.6-rc5 kernel for a week or > >>> two and then when I pulled to a post 6.6 release kernel, I found that

[PATCH v2 12/24] drm/amdgpu: use trapID 4 for host trap

2023-11-20 Thread James Zhu
Since TRAPSTS.HOST_TRAP won't work pre-gfx943, so use TTMP1 (bit 24: HT) and (bit 16-23: trapID) to identify the host trap. Signed-off-by: James Zhu --- .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c |2 + .../gpu/drm/amd/amdkfd/cwsr_trap_handler.h| 2117 + .../drm/amd/amd

[PATCH v2 10/24] drm/amdkfd: trigger pc sampling trap for gfx v9

2023-11-20 Thread James Zhu
Implement trigger pc sampling trap for gfx v9. Signed-off-by: James Zhu --- .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c | 36 +++ .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.h | 7 2 files changed, 43 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gf

Re: [PATCH 1/3] Revert "drm/prime: Unexport helpers for fd/handle conversion"

2023-11-20 Thread Thomas Zimmermann
Hi Christian Am 20.11.23 um 16:22 schrieb Christian König: Am 20.11.23 um 16:18 schrieb Thomas Zimmermann: Hi Am 20.11.23 um 16:06 schrieb Felix Kuehling: On 2023-11-20 6:54, Thomas Zimmermann wrote: Hi Am 17.11.23 um 22:44 schrieb Felix Kuehling: This reverts commit 71a7974ac7019afeec105a

Re: Radeon regression in 6.6 kernel

2023-11-20 Thread Christian König
Am 19.11.23 um 07:47 schrieb Dave Airlie: On 12.11.23 01:46, Phillip Susi wrote: I had been testing some things on a post 6.6-rc5 kernel for a week or two and then when I pulled to a post 6.6 release kernel, I found that system suspend was broken. It seems that the radeon driver failed to suspe

[PATCH v2 07/24] drm/amdkfd: check pcs_enrty valid

2023-11-20 Thread James Zhu
Check pcs_entry valid for pc sampling ioctl. Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdkfd/kfd_pc_sampling.c | 30 ++-- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_pc_sampling.c b/drivers/gpu/drm/amd/amdkfd/kfd_pc_sampl

Re: [Patch v13 1/9] Documentation/driver-api: Add document about WBRF mechanism

2023-11-20 Thread Ilpo Järvinen
On Mon, 30 Oct 2023, Ma Jun wrote: > Add documentation about AMD's Wifi band RFI mitigation (WBRF) mechanism > explaining the theory and how it is used. > > Signed-off-by: Ma Jun > --- > Documentation/driver-api/wbrf.rst | 76 +++ > 1 file changed, 76 insertions(+) >

Re: [PATCH v12 1/9] Documentation/driver-api: Add document about WBRF mechanism

2023-11-20 Thread Hans de Goede
Hi, On 10/17/23 04:53, Ma Jun wrote: > Add documentation about AMD's Wifi band RFI mitigation (WBRF) mechanism > explaining the theory and how it is used. > > Signed-off-by: Ma Jun > --- > Documentation/driver-api/wbrf.rst | 73 +++ > 1 file changed, 73 insertions(+)

Re: Radeon regression in 6.6 kernel

2023-11-20 Thread Bagas Sanjaya
On 11/19/23 20:48, Linux regression tracking (Thorsten Leemhuis) wrote: > On 19.11.23 14:24, Bagas Sanjaya wrote: >> Hi Dave, >> >> AFAIK commit c07bf1636f0005 ("MAINTAINERS: Update the GPU Scheduler email") >> doesn't seem to do with this regression as it doesn't change any amdgpu code >> that may

Re: [PATCH v3 RESEND 00/20] remove I2C_CLASS_DDC support

2023-11-20 Thread Heiner Kallweit
On 19.11.2023 21:48, Heiner Kallweit wrote: > On 19.11.2023 21:28, Helge Deller wrote: >> On 11/19/23 12:28, Heiner Kallweit wrote: >>> After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in >>> olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC. >>> Class-based de

Re: [PATCH v3 RESEND 00/20] remove I2C_CLASS_DDC support

2023-11-20 Thread Helge Deller
On 11/19/23 21:51, Heiner Kallweit wrote: On 19.11.2023 21:48, Heiner Kallweit wrote: On 19.11.2023 21:28, Helge Deller wrote: On 11/19/23 12:28, Heiner Kallweit wrote: After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in olpc_dcon there's no i2c client driver left supporting

Re: Radeon regression in 6.6 kernel

2023-11-20 Thread Bagas Sanjaya
On Sun, Nov 19, 2023 at 04:47:01PM +1000, Dave Airlie wrote: > > > > On 12.11.23 01:46, Phillip Susi wrote: > > > I had been testing some things on a post 6.6-rc5 kernel for a week or > > > two and then when I pulled to a post 6.6 release kernel, I found that > > > system suspend was broken. It se

Re: [PATCH v3 RESEND 00/20] remove I2C_CLASS_DDC support

2023-11-20 Thread Heiner Kallweit
On 19.11.2023 21:28, Helge Deller wrote: > On 11/19/23 12:28, Heiner Kallweit wrote: >> After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in >> olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC. >> Class-based device auto-detection is a legacy mechanism and shou

Re: [PATCH v12 0/9] Enable Wifi RFI interference mitigation feature support

2023-11-20 Thread Hans de Goede
Hi, On 10/19/23 08:17, Ma, Jun wrote: > ping... > Any other comments? Patches 1/9 and 2/9 look reasonable, once the questions about use of the _DSM vs directly calling the WBRF ACPI method are resolved I can merge patches 1/9 and 2/9 and create an immutable feature branch based on 6.7-rc1 + these

[PATCH v3 07/20] drivers/gpu/drm: remove I2C_CLASS_DDC support

2023-11-20 Thread Heiner Kallweit
After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC. Class-based device auto-detection is a legacy mechanism and shouldn't be used in new code. So we can remove this class completely now. Preferably this series

[PATCH v3 03/20] drm/amd/display: remove I2C_CLASS_DDC support

2023-11-20 Thread Heiner Kallweit
After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC. Class-based device auto-detection is a legacy mechanism and shouldn't be used in new code. So we can remove this class completely now. Preferably this series

[PATCH 00/20] remove I2C_CLASS_DDC support

2023-11-20 Thread Heiner Kallweit
After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC. Class-based device auto-detection is a legacy mechanism and shouldn't be used in new code. So we can remove this class completely now. Preferably this series

[PATCH v3 RESEND 00/20] remove I2C_CLASS_DDC support

2023-11-20 Thread Heiner Kallweit
After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC. Class-based device auto-detection is a legacy mechanism and shouldn't be used in new code. So we can remove this class completely now. Preferably this series

[PATCH 00/20] remove I2C_CLASS_DDC support

2023-11-20 Thread Heiner Kallweit
After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC. Class-based device auto-detection is a legacy mechanism and shouldn't be used in new code. So we can remove this class completely now. Preferably this series

Re: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen

2023-11-20 Thread Linux regression tracking #adding (Thorsten Leemhuis)
[TLDR: I'm adding this report to the list of tracked Linux kernel regressions; the text you find below is based on a few templates paragraphs you might have encountered already in similar form. See link in footer if these mails annoy you.] On 14.11.23 11:55, Mikhail Gavrilov wrote: > Hi, > Yesterd

Re: Radeon regression in 6.6 kernel

2023-11-20 Thread Linux regression tracking (Thorsten Leemhuis)
On 19.11.23 14:24, Bagas Sanjaya wrote: > On Sun, Nov 19, 2023 at 04:47:01PM +1000, Dave Airlie wrote: >>> On 12.11.23 01:46, Phillip Susi wrote: I had been testing some things on a post 6.6-rc5 kernel for a week or two and then when I pulled to a post 6.6 release kernel, I found that >>>

[PATCH v2 07/20] drivers/gpu/drm: remove I2C_CLASS_DDC support

2023-11-20 Thread Heiner Kallweit
After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC. Class-based device auto-detection is a legacy mechanism and shouldn't be used in new code. So we can remove this class completely now. Preferably this series

[PATCH v3 07/20] drivers/gpu/drm: remove I2C_CLASS_DDC support

2023-11-20 Thread Heiner Kallweit
After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC. Class-based device auto-detection is a legacy mechanism and shouldn't be used in new code. So we can remove this class completely now. Preferably this series

[PATCH v2 03/20] drm/amd/display: remove I2C_CLASS_DDC support

2023-11-20 Thread Heiner Kallweit
After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC. Class-based device auto-detection is a legacy mechanism and shouldn't be used in new code. So we can remove this class completely now. Preferably this series

Re: [PATCH v12 2/9] platform/x86/amd: Add support for AMD ACPI based Wifi band RFI mitigation feature

2023-11-20 Thread Hans de Goede
Hi, On 10/17/23 04:53, Ma Jun wrote: > Due to electrical and mechanical constraints in certain platform designs > there may be likely interference of relatively high-powered harmonics of > the (G-)DDR memory clocks with local radio module frequency bands used > by Wifi 6/6e/7. > > To mitigate thi

Re: Radeon regression in 6.6 kernel

2023-11-20 Thread Linux regression tracking (Thorsten Leemhuis)
Lo! On 12.11.23 01:46, Phillip Susi wrote: > I had been testing some things on a post 6.6-rc5 kernel for a week or > two and then when I pulled to a post 6.6 release kernel, I found that > system suspend was broken. It seems that the radeon driver failed to > suspend, leaving the display dead, th

[PATCH v3 03/20] drm/amd/display: remove I2C_CLASS_DDC support

2023-11-20 Thread Heiner Kallweit
After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC. Class-based device auto-detection is a legacy mechanism and shouldn't be used in new code. So we can remove this class completely now. Preferably this series

Re: [PATCH v3 RESEND 00/20] remove I2C_CLASS_DDC support

2023-11-20 Thread Helge Deller
On 11/19/23 12:28, Heiner Kallweit wrote: After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC. Class-based device auto-detection is a legacy mechanism and shouldn't be used in new code. So we can remove this c

Re: [Bug 218168] New: amdgpu: kfd_topology.c warning: the frame size of 1408 bytes is larger than 1024 bytes

2023-11-20 Thread Hamza Mahfooz
+ amd-gfx + Felix On 11/20/23 10:16, bugzilla-dae...@kernel.org wrote: https://bugzilla.kernel.org/show_bug.cgi?id=218168 Bug ID: 218168 Summary: amdgpu: kfd_topology.c warning: the frame size of 1408 bytes is larger than 1024 bytes Prod

[PATCH v2 03/24] drm/amdkfd: enable pc sampling query

2023-11-20 Thread James Zhu
From: David Yat Sin Enable pc sampling to query system capability. Co-developed-by: James Zhu Signed-off-by: James Zhu Signed-off-by: David Yat Sin --- drivers/gpu/drm/amd/amdkfd/kfd_pc_sampling.c | 54 +++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/driver

Re: [PATCH 1/3] Revert "drm/prime: Unexport helpers for fd/handle conversion"

2023-11-20 Thread Christian König
Am 20.11.23 um 16:18 schrieb Thomas Zimmermann: Hi Am 20.11.23 um 16:06 schrieb Felix Kuehling: On 2023-11-20 6:54, Thomas Zimmermann wrote: Hi Am 17.11.23 um 22:44 schrieb Felix Kuehling: This reverts commit 71a7974ac7019afeec105a54447ae1dc7216cbb3. These helper functions are needed for KF

Re: [PATCH 1/3] Revert "drm/prime: Unexport helpers for fd/handle conversion"

2023-11-20 Thread Thomas Zimmermann
Hi Am 20.11.23 um 16:06 schrieb Felix Kuehling: On 2023-11-20 6:54, Thomas Zimmermann wrote: Hi Am 17.11.23 um 22:44 schrieb Felix Kuehling: This reverts commit 71a7974ac7019afeec105a54447ae1dc7216cbb3. These helper functions are needed for KFD to export and import DMABufs the right way with

Re: [PATCH 1/3] Revert "drm/prime: Unexport helpers for fd/handle conversion"

2023-11-20 Thread Christian König
Am 20.11.23 um 12:54 schrieb Thomas Zimmermann: Hi Am 17.11.23 um 22:44 schrieb Felix Kuehling: This reverts commit 71a7974ac7019afeec105a54447ae1dc7216cbb3. These helper functions are needed for KFD to export and import DMABufs the right way without duplicating the tracking of DMABufs associa

Re: [PATCH 1/3] Revert "drm/prime: Unexport helpers for fd/handle conversion"

2023-11-20 Thread Felix Kuehling
On 2023-11-20 6:54, Thomas Zimmermann wrote: Hi Am 17.11.23 um 22:44 schrieb Felix Kuehling: This reverts commit 71a7974ac7019afeec105a54447ae1dc7216cbb3. These helper functions are needed for KFD to export and import DMABufs the right way without duplicating the tracking of DMABufs associated

RE: [PATCH 00/35] DC Patches November 15, 2023

2023-11-20 Thread Wheeler, Daniel
[Public] Hi all, This week this patchset was tested on the following systems: • Lenovo ThinkBook T13s Gen4 with AMD Ryzen 5 6600U • MSI Gaming X Trio RX 6800 • Gigabyte Gaming OC RX 7900 XTX These systems were tested on the following display/connection types: • eD

Re: [PATCH 1/3] Revert "drm/prime: Unexport helpers for fd/handle conversion"

2023-11-20 Thread Thomas Zimmermann
Hi Am 17.11.23 um 22:44 schrieb Felix Kuehling: This reverts commit 71a7974ac7019afeec105a54447ae1dc7216cbb3. These helper functions are needed for KFD to export and import DMABufs the right way without duplicating the tracking of DMABufs associated with GEM objects while ensuring that move not