summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2018-01-29 11:40:24 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-01-31 15:37:28 -0500
commitcb9f8bae1aeacf9da0d5fea2da36baa43e9a586b (patch)
tree51dfd30eb00d52354dc533fb780bbf80808582fd /drivers/gpu/nvgpu/gk20a/gk20a.h
parent6e5a3451d4cf4f28d1eb9086d46f32210df85986 (diff)
gpu: nvgpu: Unify querying stream id
Stream ID for gp10b is retrieved directly from DT headers in common code. Introduce instead a variable to store the stream ID and move the query to platform_gp10b_tegra.c. JIRA NVGPU-4 Change-Id: I123024e13e470283bb691883f8f963eb72c997d8 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1648013 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index f187f730..8bddad11 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -1304,6 +1304,7 @@ struct gk20a {
1304 int irq_nonstall; 1304 int irq_nonstall;
1305 u32 max_ltc_count; 1305 u32 max_ltc_count;
1306 u32 ltc_count; 1306 u32 ltc_count;
1307 u32 ltc_streamid;
1307 1308
1308 struct gk20a_channel_worker { 1309 struct gk20a_channel_worker {
1309 struct nvgpu_thread poll_task; 1310 struct nvgpu_thread poll_task;