Commit fd44028f authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/acr: ensure falcon providing acr functions is bootstrapped first



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 559c9eb6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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);