search for: nvc0_miptree_init_layout_video

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

2014 Mar 05
1
[PATCH] nv50, nvc0: choose storage type after ms has been initialized
...ig.nvc0.memtype = nvc0_mt_choose_storage_type(mt, compressed); - if (!nvc0_miptree_init_ms_mode(mt)) { FREE(mt); return NULL; } + bo_config.nvc0.memtype = nvc0_mt_choose_storage_type(mt, compressed); + if (unlikely(pt->flags & NVC0_RESOURCE_FLAG_VIDEO)) { nvc0_miptree_init_layout_video(mt); } else -- 1.8.3.2