From 49e2cf2021f7ea19becf10bf9736f0cae1df0cb8 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Wed, 3 Apr 2019 01:51:01 +0300 Subject: [PATCH 1/2] nv-driver-locator: support for creator ready driver --- tools/nv-driver-locator/get_nvidia_downloads.py | 1 + tools/nv-driver-locator/nv-driver-locator.json.sample | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/tools/nv-driver-locator/get_nvidia_downloads.py b/tools/nv-driver-locator/get_nvidia_downloads.py index 8ec79ea..fe3377a 100755 --- a/tools/nv-driver-locator/get_nvidia_downloads.py +++ b/tools/nv-driver-locator/get_nvidia_downloads.py @@ -34,6 +34,7 @@ class CertLevel(enum.Enum): Certified = 1 ODE = 2 QNF = 3 + CRD = 4 def __str__(self): return self.name diff --git a/tools/nv-driver-locator/nv-driver-locator.json.sample b/tools/nv-driver-locator/nv-driver-locator.json.sample index 8e6cf14..fb8e154 100644 --- a/tools/nv-driver-locator/nv-driver-locator.json.sample +++ b/tools/nv-driver-locator/nv-driver-locator.json.sample @@ -70,6 +70,15 @@ "certlevel": "Certified" } }, + { + "type": "nvidia_downloads", + "name": "downloads win creator ready", + "params": { + "os": "Windows10_64", + "product": "GeForce", + "certlevel": "CRD" + } + }, { "type": "nvidia_downloads", "name": "downloads win beta", From be58d3cf0bb7b269b672519322cc9a3c92e7f3c8 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Wed, 3 Apr 2019 02:18:27 +0300 Subject: [PATCH 2/2] win: autopatch: add support for creator ready driver --- win/tools/autopatch/autopatch.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/win/tools/autopatch/autopatch.py b/win/tools/autopatch/autopatch.py index 40c3b0e..0ab7fab 100755 --- a/win/tools/autopatch/autopatch.py +++ b/win/tools/autopatch/autopatch.py @@ -163,7 +163,12 @@ def main(): else: version, product_type = identify_driver(args.installer_file, sevenzip=args.sevenzip) - driver_name = "quadro_" + version if product_type == "100" else version + drv_prefix = { + "100": "quadro_", + "300": "", + "301": "crd_", + } + driver_name = drv_prefix[product_type] + version out_dir = os.path.join( os.path.dirname( os.path.abspath(__file__)), '..', '..', 'win10_x64', driver_name)