]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd: Fix the flag setting code for interrupt request
authorMa Jun <Jun.Ma2@amd.com>
Wed, 30 Aug 2023 06:11:30 +0000 (14:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Sep 2023 21:10:09 +0000 (17:10 -0400)
commita1ce3e1f7c16c183486b108d80138b8f4cba1dc4
tree8a99f99712388912bd0a77e0f1d6d4e66dba874b
parentdbb805215177ce49f37c00c4f026a62eebec19dc
drm/amd: Fix the flag setting code for interrupt request

[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 <Jun.Ma2@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c