summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/boardobj/boardobjgrp.h
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2018-07-31 03:39:44 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-08-02 16:56:40 -0400
commit7216f3dd71cc023ec4d8ef0c9a90a554c0f09362 (patch)
tree4ddcb2517e4094d930f8dd9e5604b8e212e86fa2 /drivers/gpu/nvgpu/boardobj/boardobjgrp.h
parent63e6e8ee3ee9ce01b1f7d4c0014bb589df105d71 (diff)
gpu: nvgpu: allow global regops before ctx is created
In nvgpu_ioctl_channel_reg_ops(), we right now first check if context is allocated or not and if context is not allocated we fail the regops operation But it is possible that the regops operation only includes global regops which does not need global context allocated So move this global context check from nvgpu_ioctl_channel_reg_ops() to exec_regops_gk20a() and only if we have context ops included in the regops Bug 200431958 Change-Id: Iaa4953235d95b2106d5f81a456141d3a57603fb9 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1789262 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/boardobj/boardobjgrp.h')
0 files changed, 0 insertions, 0 deletions