Re: [PATCH] drm/amd: Fix the flag setting code for interrupt request

2023-09-05 Thread Ma, Jun
On 9/5/2023 10:46 PM, Alex Deucher wrote: > On Mon, Sep 4, 2023 at 2:30 AM Ma Jun wrote: >> >> [1] Remove the irq flags setting code since pci_alloc_irq_vectors() >> handles these flags. >> [2] Free the msi vectors in case of error. >> >> Signed-off-by: Ma Jun >> --- >>

Re: [PATCH] drm/amd: Fix the flag setting code for interrupt request

2023-09-05 Thread Alex Deucher
On Mon, Sep 4, 2023 at 2:30 AM Ma Jun wrote: > > [1] Remove the irq flags setting code since pci_alloc_irq_vectors() > handles these flags. > [2] Free the msi vectors in case of error. > > Signed-off-by: Ma Jun > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 43 ++--- > 1

Re: [PATCH] drm/amd: Fix the flag setting code for interrupt request

2023-09-05 Thread Ma, Jun
On 9/5/2023 1:24 PM, Christian König wrote: > Am 04.09.23 um 08:05 schrieb Ma Jun: >> [1] Remove the irq flags setting code since pci_alloc_irq_vectors() >> handles these flags. >> [2] Free the msi vectors in case of error. >> >> Signed-off-by: Ma Jun >> --- >>

Re: [PATCH] drm/amd: Fix the flag setting code for interrupt request

2023-09-04 Thread Christian König
Am 04.09.23 um 08:05 schrieb Ma Jun: [1] Remove the irq flags setting code since pci_alloc_irq_vectors() handles these flags. [2] Free the msi vectors in case of error. Signed-off-by: Ma Jun --- drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 43 ++--- 1 file changed, 25

[PATCH] drm/amd: Fix the flag setting code for interrupt request

2023-09-04 Thread Ma Jun
[1] Remove the irq flags setting code since pci_alloc_irq_vectors() handles these flags. [2] Free the msi vectors in case of error. Signed-off-by: Ma Jun --- drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 43 ++--- 1 file changed, 25 insertions(+), 18 deletions(-) diff --git