diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-09-28 13:34:27 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-17 13:43:39 -0400 |
commit | b252653ac5f2b12a9a84476f9dde6a844a77a602 (patch) | |
tree | d2ca5a3f56c652db2e30e21409f3f1ab1994d0a3 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 5c5b52dce54fa09d16ae38a232a0e17b4729b472 (diff) |
gpu: nvgpu: Move rest of CDE structures to Linux
Move rest of CDE structures to common/linux. This includes moving
the per-chip firmware file interpretation functions, and removing CDE
ops from HAL and adding it to nvgpu_os_linux.
JIRA NVGPU-259
Change-Id: I59d8f44bddadecef81ad3c455b363a14034c5e13
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1570403
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index ead1f69e..9d272646 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -943,18 +943,6 @@ struct gpu_ops { | |||
943 | int (*perfbuffer_enable)(struct gk20a *g, u64 offset, u32 size); | 943 | int (*perfbuffer_enable)(struct gk20a *g, u64 offset, u32 size); |
944 | int (*perfbuffer_disable)(struct gk20a *g); | 944 | int (*perfbuffer_disable)(struct gk20a *g); |
945 | } dbg_session_ops; | 945 | } dbg_session_ops; |
946 | struct { | ||
947 | void (*get_program_numbers)(struct gk20a *g, | ||
948 | u32 block_height_log2, | ||
949 | u32 shader_parameter, | ||
950 | int *hprog, int *vprog); | ||
951 | bool (*need_scatter_buffer)(struct gk20a *g); | ||
952 | int (*populate_scatter_buffer)(struct gk20a *g, | ||
953 | struct sg_table *sgt, | ||
954 | size_t surface_size, | ||
955 | void *scatter_buffer_ptr, | ||
956 | size_t scatter_buffer_size); | ||
957 | } cde; | ||
958 | 946 | ||
959 | int (*get_litter_value)(struct gk20a *g, int value); | 947 | int (*get_litter_value)(struct gk20a *g, int value); |
960 | int (*chip_init_gpu_characteristics)(struct gk20a *g); | 948 | int (*chip_init_gpu_characteristics)(struct gk20a *g); |