drm/nouveau/bios/ramcfg: 10_02_40 -> DLLoff
authorRoy Spliet <rspliet@eclipso.eu>
Thu, 2 Oct 2014 16:01:50 +0000 (18:01 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 2 Dec 2014 05:43:53 +0000 (15:43 +1000)
Signed-off-by: Roy Spliet <rspliet@eclipso.eu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/include/subdev/bios/ramcfg.h
drivers/gpu/drm/nouveau/core/subdev/bios/rammap.c
drivers/gpu/drm/nouveau/core/subdev/fb/sddr2.c
drivers/gpu/drm/nouveau/core/subdev/fb/sddr3.c

index a685bbd045680529e33d6d54e78a0359ab61c0cb..ae3f17d95aae61079e9414ec0cf71f2b3bf8bf83 100644 (file)
@@ -43,7 +43,7 @@ struct nvbios_ramcfg {
                        unsigned ramcfg_10_02_08:1;
                        unsigned ramcfg_10_02_10:1;
                        unsigned ramcfg_10_02_20:1;
-                       unsigned ramcfg_10_02_40:1;
+                       unsigned ramcfg_10_DLLoff:1;
                        unsigned ramcfg_10_03_0f:4;
                        unsigned ramcfg_10_05:8;
                        unsigned ramcfg_10_06:8;
index 585e69331ccce91ac3bc694e7fc09942a06ba993..24dc9b3b86f692bbb552d7dc2c8a30b2472a5d72 100644 (file)
@@ -162,7 +162,7 @@ nvbios_rammapSp(struct nouveau_bios *bios, u32 data,
                p->ramcfg_10_02_08 = (nv_ro08(bios, data + 0x02) & 0x08) >> 3;
                p->ramcfg_10_02_10 = (nv_ro08(bios, data + 0x02) & 0x10) >> 4;
                p->ramcfg_10_02_20 = (nv_ro08(bios, data + 0x02) & 0x20) >> 5;
-               p->ramcfg_10_02_40 = (nv_ro08(bios, data + 0x02) & 0x40) >> 6;
+               p->ramcfg_10_DLLoff = (nv_ro08(bios, data + 0x02) & 0x40) >> 6;
                p->ramcfg_10_03_0f = (nv_ro08(bios, data + 0x03) & 0x0f) >> 0;
                p->ramcfg_10_05    = (nv_ro08(bios, data + 0x05) & 0xff) >> 0;
                p->ramcfg_10_06    = (nv_ro08(bios, data + 0x06) & 0xff) >> 0;
index bb1eb8f3e63918bdbcc82c5eb0b97af3370b7879..252575f3aa290ff4152d507d0de7157aeed407ea 100644 (file)
@@ -66,7 +66,7 @@ nouveau_sddr2_calc(struct nouveau_ram *ram)
        case 0x10:
                CL  = ram->next->bios.timing_10_CL;
                WR  = ram->next->bios.timing_10_WR;
-               DLL = !ram->next->bios.ramcfg_10_02_40;
+               DLL = !ram->next->bios.ramcfg_10_DLLoff;
                ODT = ram->next->bios.timing_10_ODT & 3;
                break;
        case 0x20:
index 83949b11833af46ca1537904691ca7d13112133a..a2dca4869e52f49ba9e012b19ad22e9ed86315cd 100644 (file)
@@ -80,7 +80,7 @@ nouveau_sddr3_calc(struct nouveau_ram *ram)
                CWL = ram->next->bios.timing_10_CWL;
                CL  = ram->next->bios.timing_10_CL;
                WR  = ram->next->bios.timing_10_WR;
-               DLL = !ram->next->bios.ramcfg_10_02_40;
+               DLL = !ram->next->bios.ramcfg_10_DLLoff;
                ODT = ram->next->bios.timing_10_ODT;
                break;
        case 0x20: