diff options
author | Seema Khowala <seemaj@nvidia.com> | 2017-06-20 15:25:05 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-21 18:24:54 -0400 |
commit | 581e8b4ec86b13706e4423609a543fc2510b4ffe (patch) | |
tree | 0f0bde7965de6839baa44813f7f01536d179985b /drivers/gpu/nvgpu/pmgr/pmgr.h | |
parent | 8ca81687c7746048d1465a82ca81e826285fe3f1 (diff) |
gpu: nvgpu: check ctx valid bit at right place
When contexts are unloaded from GR, the valid bit is reset
but the instance pointer information remains intact.
Check valid bit in *is_channel_ctx_resident* function as
valid bit might not be set when *get_channel_from_ctx function*
is called from gr_isr
Bug 200289491
Change-Id: I4da7f04794c7e7e80b511756dbd851205cd76fbc
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/1505908
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pmgr/pmgr.h')
0 files changed, 0 insertions, 0 deletions