mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: init nvs scheduler for vf
nvs does not have a clean cut. runlist submit path uses nvs worker no matter whether the feature is enabled. Jira GVSCI-15773 Change-Id: I6f6db1e766b8079ad6ca4a6b530b3ec27094f840 Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2863443 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
da1da8f563
commit
a587d94f5a
@@ -478,7 +478,7 @@ static int nvgpu_nvs_worker_init(struct gk20a *g)
|
||||
struct nvgpu_worker *worker = &g->scheduler->worker.worker;
|
||||
struct nvgpu_nvs_worker *nvs_worker = &g->scheduler->worker;
|
||||
|
||||
if (g->is_virtual) {
|
||||
if (nvgpu_is_legacy_vgpu(g)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user