mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +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];
|
||||
int ret, i;
|
||||
|
||||
if (pgraph->accel_blocked)
|
||||
return -ENODEV;
|
||||
|
||||
if (!pgraph->ctxprog) {
|
||||
sprintf(name, "nouveau/nv%02x.ctxprog", chipset);
|
||||
ret = request_firmware(&fw, name, &dev->pdev->dev);
|
||||
|
|
Loading…
Reference in a new issue