Home
last modified time | relevance | path

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

/hardware/intel/img/psb_video/src/
Dvsp_cmdbuf.c214 struct drm_psb_reloc *reloc = cmdbuf->reloc_idx; in vsp_cmdbuf_add_relocation() local
217 reloc->where = addr_in_dst_buffer - start_of_dst_buffer; /* Offset in DWORDs */ in vsp_cmdbuf_add_relocation()
219 reloc->buffer = vsp_cmdbuf_buffer_ref(cmdbuf, ref_buffer); in vsp_cmdbuf_add_relocation()
220 ASSERT(reloc->buffer != -1); in vsp_cmdbuf_add_relocation()
222 reloc->reloc_op = PSB_RELOC_OP_OFFSET; in vsp_cmdbuf_add_relocation()
235 *addr_in_dst_buffer = reloc - (struct drm_psb_reloc *)cmdbuf->reloc_base; in vsp_cmdbuf_add_relocation()
237 reloc->mask = mask; in vsp_cmdbuf_add_relocation()
238 reloc->shift = align_shift << PSB_RELOC_ALSHIFT_SHIFT; in vsp_cmdbuf_add_relocation()
239 reloc->pre_add = buf_offset; in vsp_cmdbuf_add_relocation()
240 reloc->background = background; in vsp_cmdbuf_add_relocation()
[all …]
Dpnw_cmdbuf.c272 struct drm_psb_reloc *reloc = cmdbuf->reloc_idx; in pnw_cmdbuf_add_relocation() local
275 reloc->where = addr_in_dst_buffer - start_of_dst_buffer; /* Offset in DWORDs */ in pnw_cmdbuf_add_relocation()
277 reloc->buffer = pnw_cmdbuf_buffer_ref(cmdbuf, ref_buffer); in pnw_cmdbuf_add_relocation()
278 ASSERT(reloc->buffer != -1); in pnw_cmdbuf_add_relocation()
280 reloc->reloc_op = PSB_RELOC_OP_OFFSET; in pnw_cmdbuf_add_relocation()
293 *addr_in_dst_buffer = reloc - (struct drm_psb_reloc *)cmdbuf->reloc_base; in pnw_cmdbuf_add_relocation()
295 reloc->mask = mask; in pnw_cmdbuf_add_relocation()
296 reloc->shift = align_shift << PSB_RELOC_ALSHIFT_SHIFT; in pnw_cmdbuf_add_relocation()
297 reloc->pre_add = buf_offset; in pnw_cmdbuf_add_relocation()
298 reloc->background = background; in pnw_cmdbuf_add_relocation()
[all …]
Dtng_cmdbuf.c335 struct drm_psb_reloc *reloc = cmdbuf->reloc_idx; in tng_cmdbuf_add_relocation() local
338 reloc->where = addr_in_dst_buffer - start_of_dst_buffer; /* Offset in DWORDs */ in tng_cmdbuf_add_relocation()
340 reloc->buffer = tng_cmdbuf_buffer_ref(cmdbuf, ref_buffer); in tng_cmdbuf_add_relocation()
341 ASSERT(reloc->buffer != -1); in tng_cmdbuf_add_relocation()
343 reloc->reloc_op = PSB_RELOC_OP_OFFSET; in tng_cmdbuf_add_relocation()
356 *addr_in_dst_buffer = reloc - (struct drm_psb_reloc *)cmdbuf->reloc_base; in tng_cmdbuf_add_relocation()
358 reloc->mask = mask; in tng_cmdbuf_add_relocation()
359 reloc->shift = align_shift << PSB_RELOC_ALSHIFT_SHIFT; in tng_cmdbuf_add_relocation()
360 reloc->pre_add = buf_offset; in tng_cmdbuf_add_relocation()
361 reloc->background = background; in tng_cmdbuf_add_relocation()
[all …]
Dpsb_cmdbuf.c329 struct drm_psb_reloc *reloc = cmdbuf->reloc_idx; in psb_cmdbuf_add_relocation() local
336 reloc->where = addr_in_cmdbuf - (uint32_t *) cmdbuf->cmd_base; /* Location in DWORDs */ in psb_cmdbuf_add_relocation()
340 reloc->where = addr_in_cmdbuf - (uint32_t *) cmdbuf->MTX_msg; /* Location in DWORDs */ in psb_cmdbuf_add_relocation()
343 reloc->buffer = psb_cmdbuf_buffer_ref(cmdbuf, ref_buffer); in psb_cmdbuf_add_relocation()
344 ASSERT(reloc->buffer != -1); in psb_cmdbuf_add_relocation()
346 reloc->reloc_op = PSB_RELOC_OP_OFFSET; in psb_cmdbuf_add_relocation()
349 reloc->where, reloc->where << 2, buf_offset, background, reloc->buffer, presumed_offset); in psb_cmdbuf_add_relocation()
360 reloc->mask = mask; in psb_cmdbuf_add_relocation()
361 reloc->shift = align_shift << PSB_RELOC_ALSHIFT_SHIFT; in psb_cmdbuf_add_relocation()
362 reloc->pre_add = buf_offset; in psb_cmdbuf_add_relocation()
[all …]
/hardware/intel/img/psb_video/src/mrst/
Dlnc_cmdbuf.c263 struct drm_psb_reloc *reloc = cmdbuf->reloc_idx; in lnc_cmdbuf_add_relocation() local
266 reloc->where = addr_in_dst_buffer - start_of_dst_buffer; /* Offset in DWORDs */ in lnc_cmdbuf_add_relocation()
268 reloc->buffer = lnc_cmdbuf_buffer_ref(cmdbuf, ref_buffer); in lnc_cmdbuf_add_relocation()
269 ASSERT(reloc->buffer != -1); in lnc_cmdbuf_add_relocation()
271 reloc->reloc_op = PSB_RELOC_OP_OFFSET; in lnc_cmdbuf_add_relocation()
284 *addr_in_dst_buffer = reloc - (struct drm_psb_reloc *)cmdbuf->reloc_base; in lnc_cmdbuf_add_relocation()
286 reloc->mask = mask; in lnc_cmdbuf_add_relocation()
287 reloc->shift = align_shift << PSB_RELOC_ALSHIFT_SHIFT; in lnc_cmdbuf_add_relocation()
288 reloc->pre_add = buf_offset; in lnc_cmdbuf_add_relocation()
289 reloc->background = background; in lnc_cmdbuf_add_relocation()
[all …]