We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f403213 commit e672f5fCopy full SHA for e672f5f
drivers/gpu/drm/nouveau/nouveau_bios.c
@@ -27,6 +27,8 @@
27
#include "dispnv04/hw.h"
28
#include "nouveau_encoder.h"
29
30
+#include <subdev/gsp.h>
31
+
32
#include <linux/io-mapping.h>
33
#include <linux/firmware.h>
34
@@ -2087,7 +2089,8 @@ nouveau_bios_init(struct drm_device *dev)
2087
2089
int ret;
2088
2090
2091
/* only relevant for PCI devices */
- if (!dev_is_pci(dev->dev))
2092
+ if (!dev_is_pci(dev->dev) ||
2093
+ nvkm_gsp_rm(nvxx_device(&drm->client.device)->gsp))
2094
return 0;
2095
2096
if (!NVInitVBIOS(dev))
0 commit comments