summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2017-06-20 13:21:27 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-20 19:24:09 -0400
commit7437fefa9016ab8904c79f521276f5c41e40c449 (patch)
tree1e88441a294d89c8d33d2e90332d6e0a52248586 /drivers/gpu/nvgpu/common
parent72726c70b8839fbaf6374b4daa9799501b6b6c50 (diff)
gpu: nvgpu: check for valid channel ctx before preempt
Always check for valid channel gr_ctx before issuing channel preempt. Commands like "echo > /dev/nvhost-gpu" create channel to just power-up gpu without any valid channel context. So don't try to preempt those channels. Bug 1937331 Change-Id: I48a4bfd35728b83b27eb968e51a56b900d1fa799 Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1505783 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common')
0 files changed, 0 insertions, 0 deletions