search for: nouveau_fb_init

Displaying 1 result from an estimated 1 matches for "nouveau_fb_init".

Did you mean: _nouveau_fb_init
2014 Nov 12
1
[PATCH] fb/gk20a: fix setting of large page size bit
...b/nvkm/subdev/fb/gk20a.c index a16024a74771..fde42e4d1b56 100644 --- a/nvkm/subdev/fb/gk20a.c +++ b/nvkm/subdev/fb/gk20a.c @@ -27,6 +27,20 @@ struct gk20a_fb_priv { }; static int +gk20a_fb_init(struct nouveau_object *object) +{ + struct gk20a_fb_priv *priv = (void *)object; + int ret; + + ret = nouveau_fb_init(&priv->base); + if (ret) + return ret; + + nv_mask(priv, 0x100c80, 0x00000001, 0x00000000); /* 128KiB lpg */ + return 0; +} + +static int gk20a_fb_ctor(struct nouveau_object *parent, struct nouveau_object *engine, struct nouveau_oclass *oclass, void *data, u32 size, struct no...