Home | History | Annotate | Download | only in msm

Lines Matching refs:reloc

40  * a backing bo, and a reloc table.
48 /* reloc's table: */
60 * that is global to the submit ioctl call. The reloc's table is tracked
305 struct drm_msm_gem_submit_reloc *reloc = &msm_cmd->relocs[i];
306 if (reloc->submit_offset >= offset)
333 /* for each of the cmd buffers, clear their reloc's: */
391 ERROR_MSG(" reloc[%d]: submit_offset=%u, or=%08x, shift=%d, reloc_idx=%u"
425 /* for each of the cmd's fix up their reloc's: */
476 struct drm_msm_gem_submit_reloc *reloc;
481 reloc = &cmd->relocs[idx];
483 reloc->reloc_idx = bo2idx(parent, r->bo, r->flags);
484 reloc->reloc_offset = r->offset;
485 reloc->or = r->or;
486 reloc->shift = r->shift;
487 reloc->submit_offset = offset_bytes(ring->cur, ring->start);
490 if (reloc->shift < 0)
491 addr >>= -reloc->shift;
493 addr <<= reloc->shift;
503 reloc_hi->reloc_idx = reloc->reloc_idx;