Files
linux-nvgpu/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
Seema Khowala 581e8b4ec8 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>
2017-06-21 15:24:54 -07:00

277 KiB