RE: [PATCH v2 1/2] drm/amdgpu: separate ras irq from vcn instance irq for UVD_POISON

2023-05-14 Thread Zhou1, Tao
[AMD Official Use Only - General] The code is fine with me, but it's better to split the patch into three parts, one is for common vcn code, one is for vcn 2.6 and the third one is for vcn 4.0. Regards, Tao > -Original Message- > From: Horatio Zhang > Sent: Monday, May 15, 2023 10:28 A

[PATCH] drm/amdgpu: Fix the EPERM error when get user pages

2023-05-14 Thread Ma Jun
Check and pass the readonly flags when set amdgpu_ttm_tt flags for readonly ptr pages. Otherwise, there is EPERM error returned during the KFDExceptionTest.PermissionFaultUserPointer test on ploaris10. Signed-off-by: Ma Jun --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 9 - 1

[PATCH v2 1/2] drm/amdgpu: separate ras irq from vcn instance irq for UVD_POISON

2023-05-14 Thread Horatio Zhang
Separate RAS poison consumption handling from the instance irq, and register dedicated ras_poison_irq src and funcs for UVD_POISON. Fix the amdgpu_irq_put call trace in vcn_v4_0_hw_fini. [ 44.563572] RIP: 0010:amdgpu_irq_put+0xa4/0xc0 [amdgpu] [ 44.563629] RSP: 0018:b36740edfc90 EFLAGS: 00

[PATCH v2 2/2] drm/amdgpu: separate ras irq from jpeg instance irq for UVD_POISON

2023-05-14 Thread Horatio Zhang
Separate RAS poison consumption handling from the instance irq, and register dedicated ras_poison_irq src and funcs for UVD_POISON. Fix the amdgpu_irq_put call trace in vcn_v4_0_hw_fini. [ 50.497562] RIP: 0010:amdgpu_irq_put+0xa4/0xc0 [amdgpu] [ 50.497619] RSP: 0018:aa2400fcfcb0 EFLAGS: 00