mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: move chip detect in os specific probe code
This allows moving HAL overrides for vserver out of common chip specific HAL files into os specific probe code. Jira VQRM-3070 Change-Id: Icc61aacc03ac7db7a0ea1f6a2dd2b76185c74757 Signed-off-by: Aparna Das <aparnad@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1656752 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Richard Zhao <rizhao@nvidia.com> Tested-by: Richard Zhao <rizhao@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> 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
70bf8275ef
commit
395c553813
@@ -246,6 +246,10 @@ int gk20a_pm_finalize_poweron(struct device *dev)
|
||||
INIT_WORK(&l->nonstall_fn_work, nvgpu_intr_nonstall_cb);
|
||||
}
|
||||
|
||||
err = gk20a_detect_chip(g);
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
err = gk20a_finalize_poweron(g);
|
||||
set_user_nice(current, nice_value);
|
||||
if (err)
|
||||
|
||||
Reference in New Issue
Block a user