projects
/
profile
/
common
/
platform
/
kernel
/
linux-artik7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a2f974
)
drm/nouveau/bios: Add rammap support for version 1.0
author
Roy Spliet
<rspliet@eclipso.eu>
Fri, 12 Sep 2014 16:00:12 +0000
(18:00 +0200)
committer
Ben Skeggs
<bskeggs@redhat.com>
Mon, 15 Sep 2014 12:25:13 +0000
(22:25 +1000)
Signed-off-by: Roy Spliet <rspliet@eclipso.eu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/bios/rammap.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/core/subdev/bios/rammap.c
b/drivers/gpu/drm/nouveau/core/subdev/bios/rammap.c
index 8b0dda5de9e041c97c8c83d6396f7e7f8a6dbf3f..ae3d956aec997e61c56e0df1477d460b890f5256 100644
(file)
--- a/
drivers/gpu/drm/nouveau/core/subdev/bios/rammap.c
+++ b/
drivers/gpu/drm/nouveau/core/subdev/bios/rammap.c
@@
-84,6
+84,10
@@
nvbios_rammapEp(struct nouveau_bios *bios, int idx,
p->rammap_ver = *ver;
p->rammap_hdr = *hdr;
switch (!!data * *ver) {
+ case 0x10:
+ p->rammap_min = nv_ro16(bios, data + 0x00);
+ p->rammap_max = nv_ro16(bios, data + 0x02);
+ break;
case 0x11:
p->rammap_min = nv_ro16(bios, data + 0x00);
p->rammap_max = nv_ro16(bios, data + 0x02);