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

2023-09-06 Thread Ma, Jun
On 9/6/2023 3:23 PM, Christian König wrote: > Am 06.09.23 um 08:55 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. >> >> v2: >> - Remove local variable initializing code (Christian) >> -

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

2023-09-06 Thread Christian König
Am 06.09.23 um 08:55 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. v2: - Remove local variable initializing code (Christian) - Use PCI_IRQ_ALL_TYPES (Alex) Signed-off-by: Ma Jun ---

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

2023-09-06 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. v2: - Remove local variable initializing code (Christian) - Use PCI_IRQ_ALL_TYPES (Alex) Signed-off-by: Ma Jun --- drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 45