mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: support preprocessing of SM exceptions
Support preprocessing of SM exceptions if API pointer pre_process_sm_exception() is defined Also, expose some common APIs Bug 200156699 Change-Id: I1303642c1c4403c520b62efb6fd83e95eaeb519b Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/925883 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
Sachin Nikam
parent
0ce201e8de
commit
ca76b336b3
@@ -2529,6 +2529,12 @@ int gk20a_fifo_set_channel_priority(
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct channel_gk20a *gk20a_fifo_channel_from_hw_chid(struct gk20a *g,
|
||||
u32 hw_chid)
|
||||
{
|
||||
return g->fifo.channel + hw_chid;
|
||||
}
|
||||
|
||||
void gk20a_init_fifo(struct gpu_ops *gops)
|
||||
{
|
||||
gk20a_init_channel(gops);
|
||||
|
||||
Reference in New Issue
Block a user