diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2016-05-25 06:23:52 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:56:16 -0500 |
commit | 11e9ba82de18ba3be7701f36628a9f70ebbe1b39 (patch) | |
tree | 9d79788037b7274192075b16a5d08e3e73c9bc2f /drivers/gpu/nvgpu/gp10b/hw_ce2_gp10b.h | |
parent | 4e321eb1c84dca5f045b6ad1363cdc35ab763462 (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: I374dc94d13674e0bd9d081b790f7c0dac834e868
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1157828
GVS: Gerrit_Virtual_Submit
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/hw_ce2_gp10b.h')
0 files changed, 0 insertions, 0 deletions