From 7c5cf70268ca038f85686fbdec29729d1a9024c1 Mon Sep 17 00:00:00 2001 From: David Nieto Date: Tue, 8 Aug 2017 12:50:55 -0700 Subject: gpu: nvgpu: add support for pre-os FW Pre-os firmware takes care, among others, of the control of FAN till the driver takes over its control. On some GPUs not enabling this FW can lead tp physical board damage, hence it is needed to run this firmware. JIRA: NVGPUGV100-9 Change-Id: I18d54cfd5eb64ecec79c5dae67ac8d5bb1facf36 Signed-off-by: David Nieto Reviewed-on: https://git-master.nvidia.com/r/1549035 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-mobile-coverity Reviewed-by: svccoveritychecker Reviewed-by: Vijayakumar Subbu Reviewed-by: Konsta Holtta GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/common/linux/pci.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu/nvgpu/common/linux/pci.c') diff --git a/drivers/gpu/nvgpu/common/linux/pci.c b/drivers/gpu/nvgpu/common/linux/pci.c index 6e3e02e5..92764c21 100644 --- a/drivers/gpu/nvgpu/common/linux/pci.c +++ b/drivers/gpu/nvgpu/common/linux/pci.c @@ -239,6 +239,7 @@ static struct gk20a_platform nvgpu_pci_device[] = { .honors_aperture = true, .vbios_min_version = 0x88001e00, .hardcode_sw_threshold = false, + .run_preos = true, }, { /* DEVICE=PG503 SKU 200 ES */ /* ptimer src frequency in hz */ @@ -272,6 +273,7 @@ static struct gk20a_platform nvgpu_pci_device[] = { .honors_aperture = true, .vbios_min_version = 0x88001e00, .hardcode_sw_threshold = false, + .run_preos = true, } }; -- cgit v1.2.2