diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-03-04 15:45:35 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-03-26 13:56:54 +1000 |
commit | 06729bd06294c464da17decfb81a879c8c9688e8 (patch) | |
tree | 68906fdb3ac7b80bb1586e99cf872a2046e5ccfb /nvkm/subdev/bar/nv50.c | |
parent | cbe3f01d523beb4ab7856b4bce7f8c391c77f401 (diff) | |
download | nouveau-06729bd06294c464da17decfb81a879c8c9688e8.tar.gz |
bar/nv50: fix plymouth issues on certain efi macbooks
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvkm/subdev/bar/nv50.c')
-rw-r--r-- | nvkm/subdev/bar/nv50.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nvkm/subdev/bar/nv50.c b/nvkm/subdev/bar/nv50.c index baa2b62bd..f748ba49d 100644 --- a/nvkm/subdev/bar/nv50.c +++ b/nvkm/subdev/bar/nv50.c @@ -231,7 +231,7 @@ static int nv50_bar_init(struct nouveau_object *object) { struct nv50_bar_priv *priv = (void *)object; - int ret; + int ret, i; ret = nouveau_bar_init(&priv->base); if (ret) @@ -249,6 +249,8 @@ nv50_bar_init(struct nouveau_object *object) nv_wr32(priv, 0x001704, 0x40000000 | priv->mem->addr >> 12); nv_wr32(priv, 0x001708, 0x80000000 | priv->bar1->node->offset >> 4); nv_wr32(priv, 0x00170c, 0x80000000 | priv->bar3->node->offset >> 4); + for (i = 0; i < 8; i++) + nv_wr32(priv, 0x001900 + (i * 4), 0x00000000); return 0; } |