diff options
author | 2021-12-10 23:19:18 +0100 | |
---|---|---|
committer | 2021-12-16 22:16:40 +0100 | |
commit | 173ffad79d177d9a91fbf3be6bf67ca81e0f765a (patch) | |
tree | ff852acdd9a5996067b67a4c44b6fe997cd45a1f /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | soc: ti: ti_sci_inta_msi: Use msi_desc::msi_index (diff) | |
download | linux-rng-173ffad79d177d9a91fbf3be6bf67ca81e0f765a.tar.xz linux-rng-173ffad79d177d9a91fbf3be6bf67ca81e0f765a.zip |
PCI/MSI: Use msi_desc::msi_index
The usage of msi_desc::pci::entry_nr is confusing at best. It's the index
into the MSI[X] descriptor table.
Use msi_desc::msi_index which is shared between all MSI incarnations
instead of having a PCI specific storage for no value.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20211210221814.602911509@linutronix.de
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions