diff options
author | Thomas Fleury <tfleury@nvidia.com> | 2016-06-08 19:32:52 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-06-28 13:00:07 -0400 |
commit | d150daf75e968d7878908e05767a4442d5f304bc (patch) | |
tree | 1be5aa74286f51837d6e897afea80b47166d9e8a /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 8b45a5e016438dc4f020959ab89390de5eb353ed (diff) |
gpu: nvgpu: add init_preemption_state gr method
This method is called when setting up gr
hardware. It is meant to adjust preemption
parameters.
Bug 1593548
Jira VFND-1894
Change-Id: I0f5aa3212bec3058a0493366bed6fe2a365c9542
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: http://git-master/r/1162625
(cherry picked from commit c2e6d12570af28b3aae087401d7f670df40d40bd)
Reviewed-on: http://git-master/r/1166987
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 9acaa007..5ab09ac3 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -126,6 +126,7 @@ struct gpu_ops { | |||
126 | } ce2; | 126 | } ce2; |
127 | struct { | 127 | struct { |
128 | int (*init_fs_state)(struct gk20a *g); | 128 | int (*init_fs_state)(struct gk20a *g); |
129 | int (*init_preemption_state)(struct gk20a *g); | ||
129 | void (*access_smpc_reg)(struct gk20a *g, u32 quad, u32 offset); | 130 | void (*access_smpc_reg)(struct gk20a *g, u32 quad, u32 offset); |
130 | void (*bundle_cb_defaults)(struct gk20a *g); | 131 | void (*bundle_cb_defaults)(struct gk20a *g); |
131 | void (*cb_size_default)(struct gk20a *g); | 132 | void (*cb_size_default)(struct gk20a *g); |