Not actually tested. Also needs next patch tee to actually build, this is just the nv50 part split from the rest.gallium-resources
@@ -94,7 +94,7 @@ nv50_create(struct pipe_screen *pscreen, void *priv) | |||
nv50_init_surface_functions(nv50); | |||
nv50_init_state_functions(nv50); | |||
nv50_init_query_functions(nv50); | |||
nv50_init_transfer_functions(nv50); | |||
nv50_init_resource_functions(nv50); | |||
nv50->draw = draw_create(); | |||
assert(nv50->draw); |
@@ -280,7 +280,7 @@ nv50_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev) | |||
pscreen->is_format_supported = nv50_screen_is_format_supported; | |||
pscreen->context_create = nv50_create; | |||
nv50_screen_init_miptree_functions(pscreen); | |||
nv50_screen_init_resource_functions(pscreen); | |||
/* DMA engine object */ | |||
ret = nouveau_grobj_alloc(chan, 0xbeef5039, |