Skip to content

Commit

Permalink
drm/nouveau/acr: ensure falcon providing acr functions is bootstrappe…
Browse files Browse the repository at this point in the history
…d first

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed May 22, 2020
1 parent 559c9eb commit fd44028
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,11 @@ nvkm_acr_oneinit(struct nvkm_subdev *subdev)
list_add_tail(&lsf->head, &acr->lsf);
}

/* Ensure the falcon that'll provide ACR functions is booted first. */
lsf = nvkm_acr_falcon(device);
if (lsf)
list_move(&lsf->head, &acr->lsf);

if (!acr->wpr_fw || acr->wpr_comp)
wpr_size = acr->func->wpr_layout(acr);

Expand Down

0 comments on commit fd44028

Please sign in to comment.