gpu: nvgpu: add support PCI device id 0x1efa

Add support for PCI device id 0x1efa which has same driver data as of 0x1eba
device

Change-Id: If3d53fe116c711bf63a10eae0e731537b3705bc1
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1788694
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Deepak Nibade
2018-07-30 19:51:11 +05:30
committed by mobile promotions
parent 13cc7ea93d
commit e6c135ecb7

View File

@@ -390,7 +390,7 @@ static struct gk20a_platform nvgpu_pci_device[] = {
.hardcode_sw_threshold = false,
.unified_memory = false,
},
{ /* 0x1eba */
{ /* 0x1eba, 0x1efa */
/* ptimer src frequency in hz */
.ptimer_src_freq = 31250000,
@@ -487,6 +487,12 @@ static struct pci_device_id nvgpu_pci_table[] = {
.class_mask = 0xff << 16,
.driver_data = 9,
},
{
PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, 0x1efa),
.class = PCI_BASE_CLASS_DISPLAY << 16,
.class_mask = 0xff << 16,
.driver_data = 9,
},
{}
};