drm/gk104/fb/ram: more random magic in fb init

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2014-09-01 10:48:39 +10:00
parent 4cc6c3fe39
commit a6a4df9610
1 changed files with 2 additions and 0 deletions

View File

@ -1187,6 +1187,8 @@ nve0_ram_init(struct nouveau_object *object)
} }
nv_mask(pfb, 0x10f65c, 0x000000f0, save); nv_mask(pfb, 0x10f65c, 0x000000f0, save);
nv_mask(pfb, 0x10f584, 0x11000000, 0x00000000); nv_mask(pfb, 0x10f584, 0x11000000, 0x00000000);
nv_wr32(pfb, 0x10ecc0, 0xffffffff);
nv_mask(pfb, 0x10f160, 0x00000010, 0x00000010);
switch (ram->base.type) { switch (ram->base.type) {
case NV_MEM_TYPE_GDDR5: case NV_MEM_TYPE_GDDR5: