diff options
author | 2016-12-14 17:02:52 +0900 | |
---|---|---|
committer | 2017-02-17 15:14:32 +1000 | |
commit | 63f542e4733a3609488c31961036995aa55d2450 (patch) | |
tree | 97645bf1c81a37ac69592082630f49a598d5afbc | |
parent | drm/nouveau/secboot: add lazy-bootstrap flag (diff) | |
download | linux-dev-63f542e4733a3609488c31961036995aa55d2450.tar.xz linux-dev-63f542e4733a3609488c31961036995aa55d2450.zip |
drm/nouveau/secboot: clear halt interrupt after ACR is run
The halt interrupt must be cleared after ACR is run, otherwise the LS
PMU firmware will not be able to run.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c b/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c index 421cf78d2aa5..1aa37ea18580 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c @@ -774,6 +774,8 @@ acr_r352_bootstrap(struct acr_r352 *acr, struct nvkm_secboot *sb) nvkm_debug(&sb->subdev, "running HS load blob\n"); ret = sb->func->run_blob(sb, acr->load_blob); + /* clear halt interrupt */ + nvkm_falcon_clear_interrupt(sb->boot_falcon, 0x10); if (ret) return ret; nvkm_debug(&sb->subdev, "HS load blob completed\n"); |