diff options
author | Roy Spliet <rspliet@eclipso.eu> | 2014-09-12 18:00:12 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-09-15 22:25:13 +1000 |
commit | 2a7fa6744cd8333a414b5f3bfe4de647d787102e (patch) | |
tree | 230659c42c1d8c360afb44000402d2894577b45c /drivers/gpu/drm/nouveau | |
parent | 7a2f9743eab19b67688ff8cd491cf531e7516b8d (diff) | |
download | op-kernel-dev-2a7fa6744cd8333a414b5f3bfe4de647d787102e.zip op-kernel-dev-2a7fa6744cd8333a414b5f3bfe4de647d787102e.tar.gz |
drm/nouveau/bios: Add rammap support for version 1.0
Signed-off-by: Roy Spliet <rspliet@eclipso.eu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/bios/rammap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/bios/rammap.c b/drivers/gpu/drm/nouveau/core/subdev/bios/rammap.c index 8b0dda5..ae3d956 100644 --- 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); |