diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2014-07-30 10:20:22 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:10:46 -0400 |
commit | ae3ba04955966f371447dfa96d05564418882021 (patch) | |
tree | 951444c20934c8e20cfa681ba4e4d1e90f7f30fc /drivers/gpu/nvgpu/gk20a/hal.c | |
parent | 478e659ae466d870889bda8ccba008c6bd27399e (diff) |
gpu: nvgpu: verify runnable channel count in TSG
In runlist we first write channel count in TSG entry and then
follow those many channel entries
If no. of channel entries does not match to count then it is
considered as error
To detect this, add a counter while adding channel entries and
give warning if channel count does not match with this counter
bug 1470692
Change-Id: I4bbfd9b696fbfafa25dffb27979373f057a7f35a
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/449228
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hal.c')
0 files changed, 0 insertions, 0 deletions