Raven claims to support them, but seems to have problems. Stick with MSIs for now on APUs.
Tested-by: Tom St Denis <[email protected]> Signed-off-by: Alex Deucher <[email protected]> --- drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c index 98aa28edba6a..8f2236bd7d0e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c @@ -248,7 +248,8 @@ int amdgpu_irq_init(struct amdgpu_device *adev) unsigned int flags; int nvec = pci_msix_vec_count(adev->pdev); - if (nvec <= 0) { + /* Raven claims to support MSI-X, but seems to have problems */ + if ((nvec <= 0) || (adev->flags & AMD_IS_APU)) { flags = PCI_IRQ_MSI; nvec = 1; } else { -- 2.20.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
