Lines Matching refs:nv
79 nouveau_scratch_done(struct nouveau_context *nv) in nouveau_scratch_done() argument
81 nv->scratch.wrap = nv->scratch.id; in nouveau_scratch_done()
82 if (unlikely(nv->scratch.runout)) in nouveau_scratch_done()
83 nouveau_scratch_runout_release(nv); in nouveau_scratch_done()
106 nouveau_context_update_frame_stats(struct nouveau_context *nv) in nouveau_context_update_frame_stats() argument
108 nv->stats.buf_cache_frame <<= 1; in nouveau_context_update_frame_stats()
109 if (nv->stats.buf_cache_count) { in nouveau_context_update_frame_stats()
110 nv->stats.buf_cache_count = 0; in nouveau_context_update_frame_stats()
111 nv->stats.buf_cache_frame |= 1; in nouveau_context_update_frame_stats()
112 if ((nv->stats.buf_cache_frame & 0xf) == 0xf) in nouveau_context_update_frame_stats()
113 nv->screen->hint_buf_keep_sysmem_copy = true; in nouveau_context_update_frame_stats()