mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08: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
@ -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…
x
Reference in New Issue
Block a user