Skip to content
Commit 8a745c7f authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu: improve MSI-X handling (v3)



Check the number of supported vectors and fall back to MSI if
we return or error or 0 MSI-X vectors.

v2: only allocate one vector.  We can't currently use more than
one anyway.

v3: install the irq on vector 0.

Tested-by: default avatarTom St Denis <tom.stdenis@amd.com>
Reviewed-by: default avatarShaoyun liu <shaoyun.liu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d4411d79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment