summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2014-10-01 19:05:04 +0900
committerAlexandre Courbot <acourbot@nvidia.com>2014-11-04 13:13:05 +0900
commit524879f4efc9e626fa1862ded6f0a16018ff545d (patch)
tree492db5f494408c53f5eeb2fd963b3f403fbe650d /lib
parentf14f2c1fab29a09dd2e1ee7fd95473ee793a0e07 (diff)
downloadnouveau-524879f4efc9e626fa1862ded6f0a16018ff545d.tar.gz
platform: support for netlist firmwares
Netlists released by NVIDIA are made of a single file containing firmwares that can potentially be used across different engines. It therefore makes most sense to load a netlist once before engines are probed and have them duplicate their firmwares so the netlist can be freed at the end of probe. This patch implements this mechanism and adds the lookup data for GK20A. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/core/os.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/core/os.h b/lib/core/os.h
index 79462eb2c..a00897cd5 100644
--- a/lib/core/os.h
+++ b/lib/core/os.h
@@ -1143,6 +1143,7 @@ clk_get_rate(struct clk *clk)
struct nouveau_platform_gpu {
struct clk *clk;
+ const struct firmware *ctxsw_fw;
};
struct nouveau_platform_device {