diff options
| author | Alex Williamson <[email protected]> | 2015-09-16 04:24:46 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2015-09-24 22:06:32 +0000 |
| commit | da2d03ea27f6ed9d2005a67b20dd021ddacf1e4d (patch) | |
| tree | 5ed4545d7fd11df195a195055ff0cdf43dcee378 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | PCI: Fix devfn for VPD access through function 0 (diff) | |
| download | kernel-da2d03ea27f6ed9d2005a67b20dd021ddacf1e4d.tar.gz kernel-da2d03ea27f6ed9d2005a67b20dd021ddacf1e4d.zip | |
PCI: Use function 0 VPD for identical functions, regular VPD for others
932c435caba8 ("PCI: Add dev_flags bit to access VPD through function 0")
added PCI_DEV_FLAGS_VPD_REF_F0. Previously, we set the flag on every
non-zero function of quirked devices. If a function turned out to be
different from function 0, i.e., it had a different class, vendor ID, or
device ID, the flag remained set but we didn't make VPD accessible at all.
Flip this around so we only set PCI_DEV_FLAGS_VPD_REF_F0 for functions that
are identical to function 0, and allow regular VPD access for any other
functions.
[bhelgaas: changelog, stable tag]
Fixes: 932c435caba8 ("PCI: Add dev_flags bit to access VPD through function 0")
Signed-off-by: Alex Williamson <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Myron Stowe <[email protected]>
Acked-by: Mark Rustad <[email protected]>
CC: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
