diff options
author | Mayank Kaushik <mkaushik@nvidia.com> | 2014-09-26 16:51:55 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:57 -0400 |
commit | 50d76e9b91a4b4b03bea5f92a7a1af452ce7c6f9 (patch) | |
tree | 7f778472acb105c0e54e9fd00cb086dce5acf0d6 /drivers/gpu/nvgpu/gk20a/gr_gk20a.h | |
parent | 1ee103adf30c14efef932faedc6b1bb226f7139b (diff) |
gpu: nvgpu: gk20a: regops: resident channel check
Fix the code that checks if the channel passed in for
regops is resident by also accounting for the TSG id,
if the channel is part of a TSG.
Change-Id: I449344e2887a4de4d55122f4aae5d3d4efabf725
Signed-off-by: Mayank Kaushik <mkaushik@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h index 7a4303f7..4b1f6de2 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h | |||
@@ -93,6 +93,7 @@ enum { | |||
93 | struct gr_channel_map_tlb_entry { | 93 | struct gr_channel_map_tlb_entry { |
94 | u32 curr_ctx; | 94 | u32 curr_ctx; |
95 | u32 hw_chid; | 95 | u32 hw_chid; |
96 | u32 tsgid; | ||
96 | }; | 97 | }; |
97 | 98 | ||
98 | struct gr_zcull_gk20a { | 99 | struct gr_zcull_gk20a { |