diff options
author | Lakshmanan M <lm@nvidia.com> | 2016-05-23 02:50:14 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-05-27 14:36:52 -0400 |
commit | f3cb140a71f179ce023bac48d5b92537893214a1 (patch) | |
tree | 597639f2003949c53b0c15f0bd6c8e56be23838f /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 20c65d8f4a6cca705472bbdde52bd2fce3c6e274 (diff) |
gpu: nvgpu: Add device_info_data support
Added device_info_data parsing
support for maxwell GPU series.
JIRA DNVGPU-26
Change-Id: I06dbec6056d4c26501e607c2c3d67ef468d206f4
Signed-off-by: Lakshmanan M <lm@nvidia.com>
Reviewed-on: http://git-master/r/1151602
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 56f8fddb..0e13fba3 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -340,7 +340,11 @@ struct gpu_ops { | |||
340 | int (*channel_set_timeslice)(struct channel_gk20a *ch, | 340 | int (*channel_set_timeslice)(struct channel_gk20a *ch, |
341 | u32 timeslice); | 341 | u32 timeslice); |
342 | int (*force_reset_ch)(struct channel_gk20a *ch, bool verbose); | 342 | int (*force_reset_ch)(struct channel_gk20a *ch, bool verbose); |
343 | int (*engine_enum_from_type)(struct gk20a *g, u32 engine_type); | 343 | int (*engine_enum_from_type)(struct gk20a *g, u32 engine_type, |
344 | u32 *inst_id); | ||
345 | void (*device_info_data_parse)(struct gk20a *g, | ||
346 | u32 table_entry, u32 *inst_id, | ||
347 | u32 *pri_base, u32 *fault_id); | ||
344 | } fifo; | 348 | } fifo; |
345 | struct pmu_v { | 349 | struct pmu_v { |
346 | /*used for change of enum zbc update cmd id from ver 0 to ver1*/ | 350 | /*used for change of enum zbc update cmd id from ver 0 to ver1*/ |