diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-11-07 13:25:07 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-09 17:27:04 -0500 |
commit | 1dad4adbd2aecfd484a84d47b29b81bb665bc60b (patch) | |
tree | afe2829ebef911e8ee4409753a2db7f626897624 /drivers/gpu/nvgpu/gm20b/gr_gm20b.h | |
parent | 39527d58855fb7cb7dffef01c4f7290ae3a119ce (diff) |
gpu: nvgpu: Move fuse override DT handling
Move fuse override DT handling to Linux code. All the chip specific
fuse override functions did the same thing, so delete the HAL and
call the same function to read the DT overrides on all chips.
Also remove the fuse override functionality from dGPU. There are no
DT entries for PCIe devices, so it would've failed anyway.
JIRA NVGPU-259
Change-Id: Iba64a5d53bf4eb94198c0408a462620efc2ddde4
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1593687
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/gr_gm20b.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.h b/drivers/gpu/nvgpu/gm20b/gr_gm20b.h index 15deaa0d..18e6b032 100644 --- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.h | |||
@@ -124,7 +124,6 @@ int gm20b_gr_clear_sm_error_state(struct gk20a *g, | |||
124 | struct channel_gk20a *ch, u32 sm_id); | 124 | struct channel_gk20a *ch, u32 sm_id); |
125 | int gr_gm20b_get_preemption_mode_flags(struct gk20a *g, | 125 | int gr_gm20b_get_preemption_mode_flags(struct gk20a *g, |
126 | struct nvgpu_preemption_modes_rec *preemption_modes_rec); | 126 | struct nvgpu_preemption_modes_rec *preemption_modes_rec); |
127 | int gm20b_gr_fuse_override(struct gk20a *g); | ||
128 | bool gr_gm20b_is_ltcs_ltss_addr(struct gk20a *g, u32 addr); | 127 | bool gr_gm20b_is_ltcs_ltss_addr(struct gk20a *g, u32 addr); |
129 | bool gr_gm20b_is_ltcn_ltss_addr(struct gk20a *g, u32 addr); | 128 | bool gr_gm20b_is_ltcn_ltss_addr(struct gk20a *g, u32 addr); |
130 | void gr_gm20b_split_lts_broadcast_addr(struct gk20a *g, u32 addr, | 129 | void gr_gm20b_split_lts_broadcast_addr(struct gk20a *g, u32 addr, |