[pull] amdgpu, amdkfd drm-next-6.11

2024-06-28 Thread Alex Deucher
Hi Dave, Sima, More stuff for 6.11. The following changes since commit a78313bb206e0c456a989f380c4cbd8af8af7c76: Merge tag 'drm-intel-gt-next-2024-06-12' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next (2024-06-27 17:21:44 +1000) are available in the Git repository at:

Re: [PATCH 2/3] drm/dp_mst: Skip CSN if topology probing is not done yet

2024-06-28 Thread Lyude Paul
On Thu, 2024-06-27 at 09:04 +, Lin, Wayne wrote: > > I understand your concern. My patch will just check whether mst > manager starts > the probing process or not by confirming whether we sent LINK_ADDRESS > to > the 1st mst branch already. It will drop the CSN event only when the > event

Re: 6.10/bisected/regression - commits bc87d666c05 and 6d4279cb99ac cause appearing green flashing bar on top of screen on Radeon 6900XT and 120Hz

2024-06-28 Thread Alex Deucher
On Fri, Jun 21, 2024 at 6:45 AM Mikhail Gavrilov wrote: > > On Fri, Jun 21, 2024 at 12:56 PM Linux regression tracking (Thorsten > Leemhuis) wrote: > > Hmmm, I might have missed something, but it looks like nothing happened > > here since then. What's the status? Is the issue still happening? >

RE: [PATCH 00/26] DC Patches June 27th, 2024

2024-06-28 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: *

[PATCH] drm/amd/display: use swap() in sort()

2024-06-28 Thread Jiapeng Chong
Use existing swap() function rather than duplicating its implementation. ./drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/dml2_pmo_dcn3.c:18:29-30: WARNING opportunity for swap(). Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9435 Signed-off-by:

Re: [PATCH] drm/amdgpu: Set no_hw_access when VF request full GPU fails

2024-06-28 Thread Deucher, Alexander
[Public] Acked-by: Alex Deucher From: Yifan Zha Sent: Friday, June 28, 2024 4:42 AM To: amd-gfx@lists.freedesktop.org ; Deucher, Alexander ; Zhang, Hawking Cc: Chen, Horace ; Chang, HaiJun ; Zha, YiFan(Even) Subject: [PATCH] drm/amdgpu: Set no_hw_access when

RE: [PATCH] drm/amdgpu: add mutex to protect ras shared memory

2024-06-28 Thread Chai, Thomas
[AMD Official Use Only - AMD Internal Distribution Only] OK - Best Regards, Thomas -Original Message- From: Zhang, Hawking Sent: Friday, June 28, 2024 5:42 PM To: Chai, Thomas ; amd-gfx@lists.freedesktop.org Cc: Zhou1, Tao ; Li, Candice ; Wang, Yang(Kevin) ; Yang,

Re: [PATCH v2] drm/radeon: check bo_va->bo is non-NULL before using it

2024-06-28 Thread Pierre-Eric Pelloux-Prayer
Le 26/06/2024 à 15:59, Alex Deucher a écrit : On Wed, Jun 26, 2024 at 6:54 AM Christian König wrote: Am 25.06.24 um 19:44 schrieb Alex Deucher: On Tue, Jun 25, 2024 at 10:32 AM Pierre-Eric Pelloux-Prayer wrote: The call to radeon_vm_clear_freed might clear bo_va->bo, so we have to check

RE: [PATCH] drm/amdgpu: add mutex to protect ras shared memory

2024-06-28 Thread Zhang, Hawking
[AMD Official Use Only - AMD Internal Distribution Only] + ret = psp_ras_invoke(psp, ras_cmd->cmd_id); + case TA_RAS_COMMAND__TRIGGER_ERROR: + if (out) { + uint32_t *ras_status = (uint32_t *)out; + + *ras_status =

RE: [PATCH] drm/amdgpu: Fix hbm stack id in boot error report

2024-06-28 Thread Zhou1, Tao
[AMD Official Use Only - AMD Internal Distribution Only] How about: hbm_id = AMDGPU_RAS_GPU_ERR_HBM_ID(boot_error) - 1; Anyway, the patch is: Reviewed-by: Tao Zhou > -Original Message- > From: Hawking Zhang > Sent: Friday, June 28, 2024 5:04 PM > To: amd-gfx@lists.freedesktop.org;

RE: [PATCH] drm/amdgpu: Correct register used to clear fault status

2024-06-28 Thread Zhou1, Tao
[AMD Official Use Only - AMD Internal Distribution Only] Reviewed-by: Tao Zhou > -Original Message- > From: Hawking Zhang > Sent: Friday, June 28, 2024 5:04 PM > To: amd-gfx@lists.freedesktop.org; Zhou1, Tao > Cc: Zhang, Hawking > Subject: [PATCH] drm/amdgpu: Correct register used to

[PATCH] drm/amdgpu: Fix hbm stack id in boot error report

2024-06-28 Thread Hawking Zhang
To align with firmware, hbm id field 0x1 refers to hbm stack 0, 0x2 refers to hbm statck 1. Signed-off-by: Hawking Zhang --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c

[PATCH] drm/amdgpu: Correct register used to clear fault status

2024-06-28 Thread Hawking Zhang
Driver should write to fault_cntl registers to do one-shot address/status clear. Signed-off-by: Hawking Zhang --- drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c

[PATCH] drm/amdgpu: Set no_hw_access when VF request full GPU fails

2024-06-28 Thread Yifan Zha
[Why] If VF request full GPU access and the request failed, the VF driver can get stuck accessing registers for an extended period during the unload of KMS. [How] Set no_hw_access flag when VF request for full GPU access fails This prevents further hardware access attempts, avoiding the prolonged

Re: [PATCH 5/6] drm/amdgpu: always enable move threshold for BOs

2024-06-28 Thread Tvrtko Ursulin
Hey Christian, Any thoughts on the below reply? Did I get it wrong or I found a legitimate issue? Regards, Tvrtko On 14/06/2024 17:06, Tvrtko Ursulin wrote: On 14/06/2024 10:53, Christian König wrote:   if (domain & abo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM && -

RE: [PATCH] drm/amdgpu: sysfs node disable query error count during gpu reset

2024-06-28 Thread Chai, Thomas
[AMD Official Use Only - AMD Internal Distribution Only] OK - Best Regards, Thomas -Original Message- From: Wang, Yang(Kevin) Sent: Friday, June 28, 2024 3:36 PM To: Chai, Thomas ; amd-gfx@lists.freedesktop.org Cc: Zhang, Hawking ; Zhou1, Tao ; Li, Candice ; Yang,

RE: [PATCH] drm/amdgpu: sysfs node disable query error count during gpu reset

2024-06-28 Thread Wang, Yang(Kevin)
[AMD Official Use Only - AMD Internal Distribution Only] it is better to apply changes on both ACA and MCA path. Best Regards, Kevin -Original Message- From: Chai, Thomas Sent: Friday, June 28, 2024 3:31 PM To: amd-gfx@lists.freedesktop.org Cc: Zhang, Hawking ; Zhou1, Tao ; Li,

[PATCH] drm/amdgpu: sysfs node disable query error count during gpu reset

2024-06-28 Thread YiPeng Chai
Sysfs node disable query error count during gpu reset. Signed-off-by: YiPeng Chai --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c index