diff options
| author | Alex Deucher <alexander.deucher@amd.com> | 2019-10-03 18:34:30 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-03 21:51:19 +0300 |
| commit | 8a745c7ff2ddb8511ef760b4d9cb4cf56a15fc8d (patch) | |
| tree | 69ad54ea148fa04a0747096138db310f887b9c7a /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | d4411d793effe4959f54bdf7ffb3462338d2a9f7 (diff) | |
| download | linux-8a745c7ff2ddb8511ef760b4d9cb4cf56a15fc8d.tar.xz | |
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: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Shaoyun liu <shaoyun.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions
