Home
last modified time | relevance | path

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

/external/libdrm/freedreno/msm/
Dmsm_ringbuffer.c586 struct drm_msm_gem_submit_reloc *reloc_hi; in msm_ringbuffer_emit_reloc() local
595 reloc_hi = &cmd->relocs[idx]; in msm_ringbuffer_emit_reloc()
597 reloc_hi->reloc_idx = reloc_idx; in msm_ringbuffer_emit_reloc()
598 reloc_hi->reloc_offset = r->offset; in msm_ringbuffer_emit_reloc()
599 reloc_hi->or = r->orhi; in msm_ringbuffer_emit_reloc()
600 reloc_hi->shift = r->shift - 32; in msm_ringbuffer_emit_reloc()
601 reloc_hi->submit_offset = offset_bytes(ring->cur, ring->start) + in msm_ringbuffer_emit_reloc()
605 if (reloc_hi->shift < 0) in msm_ringbuffer_emit_reloc()
606 addr >>= -reloc_hi->shift; in msm_ringbuffer_emit_reloc()
608 addr <<= reloc_hi->shift; in msm_ringbuffer_emit_reloc()