summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/pmgr/pwrpolicy.c
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2018-03-22 07:35:01 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-03-23 20:18:24 -0400
commitcb8d8337a61ead5eb948d78ef24d55d07fa99e7b (patch)
tree428f0ce0f90620bc0ec1c7ddf1453c832aae5d3a /drivers/gpu/nvgpu/pmgr/pwrpolicy.c
parentbac51e8081a2ae778bfdccc1c57ee3ef382de077 (diff)
gpu: nvgpu: disallow invalid syncpoint wait ids
Instead of ignoring a wait when a raw syncpoint prefence has an invalid id, reject the submit with -EINVAL just like with syncpoints in syncfds. Change-Id: I9b5c417bd1c7cd081c79659d088ac2c915de8c0e Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1680281 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pmgr/pwrpolicy.c')
0 files changed, 0 insertions, 0 deletions