diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2015-02-25 07:45:15 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 21:08:42 -0400 |
commit | cdbe8d1fc123c93a0bbf0bf329a3f8f94ac8c2fa (patch) | |
tree | e354d8666c32185d62adca7d39d227fb68673c15 /include | |
parent | 91a388564dd9baed5e7257709fb109af79fdadcf (diff) |
gpu: nvgpu: use correct API to check valid syncpt
Below check assumes that available syncpt range
starts from 0
id >= nvhost_syncpt_nb_pts_ext()
Instead of using this API, use nvhost_syncpt_is_valid_pt_ext()
which validates the syncpt id against both upper and lower
boundaries
Bug 1611482
Change-Id: I7c4465a2bc84b63fefaa17c64f02582885924c5e
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/711211
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions