RE: [PATCH 1/2] drm/amdgpu: fix amdgpu_irq_put call trace in jpeg_v4_0_hw_fini

2023-05-10 Thread Zhang, Horatio
) ; Zhou, Bob Subject: RE: [PATCH 1/2] drm/amdgpu: fix amdgpu_irq_put call trace in jpeg_v4_0_hw_fini [AMD Official Use Only - General] Please register dedicated ras_irq src and funcs for UVD_POISON, which should allow you to create vcn ras sw calls like gfx/sdma ip block. Regards, Hawking

RE: [PATCH 1/2] drm/amdgpu: fix amdgpu_irq_put call trace in jpeg_v4_0_hw_fini

2023-05-10 Thread Zhang, Hawking
; Zhou1, Tao ; amd-gfx@lists.freedesktop.org Cc: Xu, Feifei ; Liu, Leo ; Jiang, Sonny ; Limonciello, Mario ; Liu, HaoPing (Alan) ; Zhou, Bob Subject: RE: [PATCH 1/2] drm/amdgpu: fix amdgpu_irq_put call trace in jpeg_v4_0_hw_fini [AMD Official Use Only - General] Hi Hawking, When modprobe

RE: [PATCH 1/2] drm/amdgpu: fix amdgpu_irq_put call trace in jpeg_v4_0_hw_fini

2023-05-10 Thread Zhang, Horatio
; Jiang, Sonny ; Limonciello, Mario ; Liu, HaoPing (Alan) ; Zhang, Horatio Subject: RE: [PATCH 1/2] drm/amdgpu: fix amdgpu_irq_put call trace in jpeg_v4_0_hw_fini [AMD Official Use Only - General] Shall we consider creating amdgpu_vcn_ras_late_init as a common helper for interrupt enablement

RE: [PATCH 1/2] drm/amdgpu: fix amdgpu_irq_put call trace in jpeg_v4_0_hw_fini

2023-05-08 Thread Zhang, Hawking
, Sonny ; Limonciello, > Mario ; Liu, HaoPing (Alan) > ; Zhang, Horatio > Subject: [PATCH 1/2] drm/amdgpu: fix amdgpu_irq_put call trace in > jpeg_v4_0_hw_fini > > During the suspend, the jpeg_v4_0_hw_init function will use the > amdgpu_irq_put to disable the irq of jpeg.

RE: [PATCH 1/2] drm/amdgpu: fix amdgpu_irq_put call trace in jpeg_v4_0_hw_fini

2023-05-08 Thread Zhou1, Tao
Limonciello, > Mario ; Liu, HaoPing (Alan) > ; Zhang, Horatio > Subject: [PATCH 1/2] drm/amdgpu: fix amdgpu_irq_put call trace in > jpeg_v4_0_hw_fini > > During the suspend, the jpeg_v4_0_hw_init function will use the > amdgpu_irq_put to disable the irq of jpeg.inst, but

[PATCH 1/2] drm/amdgpu: fix amdgpu_irq_put call trace in jpeg_v4_0_hw_fini

2023-05-08 Thread Horatio Zhang
During the suspend, the jpeg_v4_0_hw_init function will use the amdgpu_irq_put to disable the irq of jpeg.inst, but it was not enabled during the resume process, which resulted in a call trace during the GPU reset process. [ 50.497562] RIP: 0010:amdgpu_irq_put+0xa4/0xc0 [amdgpu] [ 50.497619] R