mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
gpu: nvgpu: Initialize Linux sched in Linux code
Initialize Linux scheduling extensions from Linux code. This removes a dependency between common and Linux code. JIRA NVGPU-259 Change-Id: Ibd882f82479eaac05ecc8cf743dd4a89bd7386f2 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1588663 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
e1120727e7
commit
952606b3b9
@@ -237,6 +237,12 @@ int gk20a_pm_finalize_poweron(struct device *dev)
|
||||
if (platform->has_cde)
|
||||
gk20a_init_cde_support(l);
|
||||
|
||||
err = gk20a_sched_ctrl_init(g);
|
||||
if (err) {
|
||||
nvgpu_err(g, "failed to init sched control");
|
||||
return err;
|
||||
}
|
||||
|
||||
done:
|
||||
if (err)
|
||||
g->power_on = false;
|
||||
|
||||
Reference in New Issue
Block a user