mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
drm/nv50: fix suspend/resume delays without firmware present
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
0735f62e11
commit
65ec01a940
1 changed files with 3 additions and 0 deletions
|
@ -56,6 +56,9 @@ nouveau_grctx_prog_load(struct drm_device *dev)
|
||||||
char name[32];
|
char name[32];
|
||||||
int ret, i;
|
int ret, i;
|
||||||
|
|
||||||
|
if (pgraph->accel_blocked)
|
||||||
|
return -ENODEV;
|
||||||
|
|
||||||
if (!pgraph->ctxprog) {
|
if (!pgraph->ctxprog) {
|
||||||
sprintf(name, "nouveau/nv%02x.ctxprog", chipset);
|
sprintf(name, "nouveau/nv%02x.ctxprog", chipset);
|
||||||
ret = request_firmware(&fw, name, &dev->pdev->dev);
|
ret = request_firmware(&fw, name, &dev->pdev->dev);
|
||||||
|
|
Loading…
Reference in a new issue