[PATCH] PCI: Support SRIOV on Legacy EndPoint device

2016-02-09 Thread kelly . zytaruk
From: Kelly Zytaruk It is not neccessary to check for PCI_EXP_TYPE in sriov_init(). There appears to be no reason for the check. Some AMD GPUs have hardware support for grapics SRIOV. If the GPU has a display output then the GPU needs to support Legacy VGA operation. If CLASS_CODE = VGA

[PATCH] PCI: Support SRIOV on Legacy EndPoint device

2016-02-09 Thread kelly . zytaruk
From: Kelly Zytaruk <kelly.zyta...@amd.com> It is not neccessary to check for PCI_EXP_TYPE in sriov_init(). There appears to be no reason for the check. Some AMD GPUs have hardware support for grapics SRIOV. If the GPU has a display output then the GPU needs to support Legacy VGA ope

[PATCH] PCI: Support SRIOV on Legacy EndPoint device

2016-02-04 Thread Kelly Zytaruk
LEGACY_END_POINT is supported as a valid Port Type. Signed-off-by: Kelly Zytaruk --- drivers/pci/iov.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index 31f31d4..da4fbac 100644 --- a/drivers/pci/iov.c +++ b/drivers/pci/iov.c @@ -388,7 +388,8

[PATCH] PCI: Support SRIOV on Legacy EndPoint device

2016-02-04 Thread Kelly Zytaruk
LEGACY_END_POINT is supported as a valid Port Type. Signed-off-by: Kelly Zytaruk <kelly.zyta...@amd.com> --- drivers/pci/iov.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index 31f31d4..da4fbac 100644 --- a/drivers/pci/iov.c +++ b/drive