mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
gpu: nvgpu: enable PG419 SKU610 probing
Add PG419 SKU610 compatible device for PCI enumeration Jira DNVGPU-213 Change-Id: Ib2361fa8007b56d852b2e02d27f1c05540f34924 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: http://git-master/r/1285107 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
9132bb52a6
commit
db41ae567c
@@ -152,6 +152,40 @@ static struct gk20a_platform nvgpu_pci_device[] = {
|
|||||||
.vidmem_is_vidmem = true,
|
.vidmem_is_vidmem = true,
|
||||||
.vbios_min_version = 0x86063000,
|
.vbios_min_version = 0x86063000,
|
||||||
.hardcode_sw_threshold = true,
|
.hardcode_sw_threshold = true,
|
||||||
|
},
|
||||||
|
{ /* DEVICE=0x1c75 */
|
||||||
|
/* ptimer src frequency in hz */
|
||||||
|
.ptimer_src_freq = 31250000,
|
||||||
|
|
||||||
|
.probe = nvgpu_pci_tegra_probe,
|
||||||
|
.remove = nvgpu_pci_tegra_remove,
|
||||||
|
|
||||||
|
/* power management configuration */
|
||||||
|
.railgate_delay = 500,
|
||||||
|
.can_railgate = false,
|
||||||
|
.can_elpg = true,
|
||||||
|
.enable_elpg = true,
|
||||||
|
.enable_elcg = false,
|
||||||
|
.enable_slcg = true,
|
||||||
|
.enable_blcg = true,
|
||||||
|
.enable_mscg = true,
|
||||||
|
.default_pri_timeout = 0x3ff,
|
||||||
|
|
||||||
|
.disable_aspm = true,
|
||||||
|
|
||||||
|
/* power management callbacks */
|
||||||
|
.is_railgated = nvgpu_pci_tegra_is_railgated,
|
||||||
|
.clk_round_rate = nvgpu_pci_clk_round_rate,
|
||||||
|
|
||||||
|
.default_big_page_size = SZ_64K,
|
||||||
|
|
||||||
|
.ch_wdt_timeout_ms = 7000,
|
||||||
|
|
||||||
|
.has_ce = true,
|
||||||
|
|
||||||
|
.vidmem_is_vidmem = true,
|
||||||
|
.vbios_min_version = 0x86064700,
|
||||||
|
.hardcode_sw_threshold = false,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -174,6 +208,12 @@ static struct pci_device_id nvgpu_pci_table[] = {
|
|||||||
.class_mask = 0xff << 16,
|
.class_mask = 0xff << 16,
|
||||||
.driver_data = 2,
|
.driver_data = 2,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, 0x1c75),
|
||||||
|
.class = PCI_BASE_CLASS_DISPLAY << 16,
|
||||||
|
.class_mask = 0xff << 16,
|
||||||
|
.driver_data = 3,
|
||||||
|
},
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user