Home
last modified time | relevance | path

Searched refs:ctch (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_guc_ct.c143 static bool ctch_is_open(struct intel_guc_ct_channel *ctch) in ctch_is_open() argument
145 return ctch->vma != NULL; in ctch_is_open()
149 struct intel_guc_ct_channel *ctch) in ctch_init() argument
156 GEM_BUG_ON(ctch->vma); in ctch_init()
186 ctch->vma = vma; in ctch_init()
195 intel_guc_ggtt_offset(guc, ctch->vma)); in ctch_init()
198 for (i = 0; i < ARRAY_SIZE(ctch->ctbs); i++) { in ctch_init()
200 ctch->ctbs[i].desc = blob + PAGE_SIZE/4 * i; in ctch_init()
201 ctch->ctbs[i].cmds = blob + PAGE_SIZE/4 * i + PAGE_SIZE/2; in ctch_init()
207 i915_vma_unpin_and_release(&ctch->vma); in ctch_init()
[all …]