projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b71313e
)
drm/nv4c/bios: disallow retrieving from prom on nv4x igp's
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Wed, 5 Feb 2014 19:33:04 +0000
(14:33 -0500)
committer
Ben Skeggs
<bskeggs@redhat.com>
Tue, 18 Feb 2014 00:36:52 +0000
(10:36 +1000)
Suggested-by: Marcin KoĆcielnicki <koriakin@0x04.net>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/bios/base.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/core/subdev/bios/base.c
b/drivers/gpu/drm/nouveau/core/subdev/bios/base.c
index aa0fbbec7f08212cd8b3106ecb57ec4ff491403b..ef0c9c4a8cc3925f9f8df1279417fc028a39f2f9 100644
(file)
--- a/
drivers/gpu/drm/nouveau/core/subdev/bios/base.c
+++ b/
drivers/gpu/drm/nouveau/core/subdev/bios/base.c
@@
-130,6
+130,10
@@
nouveau_bios_shadow_prom(struct nouveau_bios *bios)
u16 pcir;
int i;
+ /* there is no prom on nv4x IGP's */
+ if (device->card_type == NV_40 && device->chipset >= 0x4c)
+ return;
+
/* enable access to rom */
if (device->card_type >= NV_50)
pcireg = 0x088050;