mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
gpu: nvgpu: store ch ptr in gr isr data
Store a channel pointer that is either NULL or a referenced channel to avoid confusion about channel ownership. A pure channel ID is dangerous. Jira NVGPU-1460 Change-Id: I6f7b4f80cf39abc290ce9153ec6bf5b62918da97 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1955401 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
7df3d58750
commit
4e6d9afab8
@@ -234,7 +234,7 @@ struct gr_gk20a_isr_data {
|
||||
u32 data_lo;
|
||||
u32 data_hi;
|
||||
u32 curr_ctx;
|
||||
u32 chid;
|
||||
struct channel_gk20a *ch;
|
||||
u32 offset;
|
||||
u32 sub_chan;
|
||||
u32 class_num;
|
||||
|
||||
Reference in New Issue
Block a user