Lines Matching refs:rcache

283 static void vmw_execbuf_rcache_update(struct vmw_res_cache_entry *rcache,  in vmw_execbuf_rcache_update()  argument
287 rcache->res = res; in vmw_execbuf_rcache_update()
288 rcache->private = private; in vmw_execbuf_rcache_update()
289 rcache->valid = 1; in vmw_execbuf_rcache_update()
290 rcache->valid_handle = 0; in vmw_execbuf_rcache_update()
317 struct vmw_res_cache_entry *rcache; in vmw_execbuf_res_val_add() local
322 rcache = &sw_context->res_cache[res_type]; in vmw_execbuf_res_val_add()
323 if (likely(rcache->valid && rcache->res == res)) { in vmw_execbuf_res_val_add()
326 rcache->private, dirty); in vmw_execbuf_res_val_add()
354 vmw_execbuf_rcache_update(rcache, res, ctx_info); in vmw_execbuf_res_val_add()
635 struct vmw_res_cache_entry *rcache = &sw_context->res_cache[res_type]; in vmw_cmd_res_check() local
651 if (likely(rcache->valid_handle && *id_loc == rcache->handle)) { in vmw_cmd_res_check()
652 res = rcache->res; in vmw_cmd_res_check()
655 rcache->private, dirty); in vmw_cmd_res_check()
676 if (rcache->valid && rcache->res == res) { in vmw_cmd_res_check()
677 rcache->valid_handle = true; in vmw_cmd_res_check()
678 rcache->handle = *id_loc; in vmw_cmd_res_check()
849 struct vmw_res_cache_entry *rcache = in vmw_execbuf_info_from_res() local
852 if (rcache->valid && rcache->res == res) in vmw_execbuf_info_from_res()
853 return rcache->private; in vmw_execbuf_info_from_res()
2790 struct vmw_res_cache_entry *rcache; in vmw_cmd_dx_genmips() local
2803 rcache = &sw_context->res_cache[vmw_res_surface]; in vmw_cmd_dx_genmips()
2804 vmw_validation_res_set_dirty(sw_context->ctx, rcache->private, in vmw_cmd_dx_genmips()