mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-05 21:35:04 +08:00
drm/nouveau/acr: ensure falcon providing acr functions is bootstrapped first
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
559c9eb6a6
commit
fd44028ff1
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user