diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-11-07 12:19:53 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-09 22:18:11 -0500 |
commit | dc5f6bcee0281c5fa63c977519d732218f519ea0 (patch) | |
tree | bd465cb7e5c45999019a787547bdb79835d9dbf5 /drivers/gpu/nvgpu/gp10b/fifo_gp10b.c | |
parent | 1dad4adbd2aecfd484a84d47b29b81bb665bc60b (diff) |
gpu: nvgpu: Return GPU classes in get_litter_value
Return GPU classes in HAL get_litter_value() instead of assigning
them to GPU characteristics at HAL initialization time.
JIRA NVGPU-259
Change-Id: Ife7a5cb38df3d33ce98a1caa43d3873fb1431234
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1593683
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/fifo_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/fifo_gp10b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/fifo_gp10b.c b/drivers/gpu/nvgpu/gp10b/fifo_gp10b.c index 0a127ad7..accbe0a6 100644 --- a/drivers/gpu/nvgpu/gp10b/fifo_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/fifo_gp10b.c | |||
@@ -158,7 +158,7 @@ int channel_gp10b_setup_ramfc(struct channel_gk20a *c, | |||
158 | 158 | ||
159 | u32 gp10b_fifo_get_pbdma_signature(struct gk20a *g) | 159 | u32 gp10b_fifo_get_pbdma_signature(struct gk20a *g) |
160 | { | 160 | { |
161 | return g->gpu_characteristics.gpfifo_class | 161 | return g->ops.get_litter_value(g, GPU_LIT_GPFIFO_CLASS) |
162 | | pbdma_signature_sw_zero_f(); | 162 | | pbdma_signature_sw_zero_f(); |
163 | } | 163 | } |
164 | 164 | ||