mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: move init_sm_id_table hal to hal.gr.config
Move init_sm_id_table hal to common.hal.gr.config. Two separate hals for gm20b and gv100 are added. JIRA NVGPU-1884 Change-Id: Id307542db67b103ec25b02b41fd3b9d9bd8f30f0 Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2073582 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
e649d19c65
commit
03e137b552
@@ -101,8 +101,8 @@ int nvgpu_gr_init_fs_state(struct gk20a *g)
|
||||
return err;
|
||||
}
|
||||
|
||||
if (g->ops.gr.init_sm_id_table != NULL) {
|
||||
err = g->ops.gr.init_sm_id_table(g);
|
||||
if (g->ops.gr.config.init_sm_id_table != NULL) {
|
||||
err = g->ops.gr.config.init_sm_id_table(g);
|
||||
if (err != 0) {
|
||||
return err;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user