diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2016-05-25 06:24:37 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-06-06 11:03:11 -0400 |
commit | 822b0dc53823e9c5bc3cbcdc78a62cc2c7f0647c (patch) | |
tree | e1fd040a0f2fb47005c487d5544d667f2c3a986e /drivers/gpu/nvgpu/gv11b/gv11b.h | |
parent | 4dd4587f1734f06d1bc2173a282fcd7a10613d58 (diff) |
gpu: nvgpu: fix patch write error check in update_ctxsw_preemption_mode
Don't attempt to access memory if the patch context can't be mapped, but
print an error message instead.
Change-Id: I2d0ec22378ace0ef826f5a84a9ce4d35466f7832
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1157281
GVS: Gerrit_Virtual_Submit
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gv11b.h')
0 files changed, 0 insertions, 0 deletions