commit | 49129204c31cb3b6f0fbc23d6afe66c88c1c12ae | [log] [tgz] |
---|---|---|
author | Du, Changbin <changbin.du@intel.com> | Mon Oct 24 15:58:44 2016 +0800 |
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | Tue Oct 25 10:37:42 2016 +0800 |
tree | 37612eb5d57784856ca0e711db439e3e4690c3a8 | |
parent | 99c79fd4dfdaeb8874d5f3f14a9cd6ce7a436e1d [diff] |
drm/i915/gvt: get msi cap offset from pdev directly Linux PCI driver saves the msi and msix capability offset in pci_dev->msi_cap and pci_dev->msix_cap. We can use msi_cap in pci_dev directly, no need hardcode. Signed-off-by: Du, Changbin <changbin.du@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>