Home
last modified time | relevance | path

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

/external/libdrm/freedreno/msm/
Dmsm_ringbuffer.c494 struct drm_msm_gem_submit_reloc *reloc_hi; in msm_ringbuffer_emit_reloc() local
503 reloc_hi = &cmd->relocs[idx]; in msm_ringbuffer_emit_reloc()
505 reloc_hi->reloc_idx = reloc_idx; in msm_ringbuffer_emit_reloc()
506 reloc_hi->reloc_offset = r->offset; in msm_ringbuffer_emit_reloc()
507 reloc_hi->or = r->orhi; in msm_ringbuffer_emit_reloc()
508 reloc_hi->shift = r->shift - 32; in msm_ringbuffer_emit_reloc()
509 reloc_hi->submit_offset = offset_bytes(ring->cur, ring->start); in msm_ringbuffer_emit_reloc()
512 if (reloc_hi->shift < 0) in msm_ringbuffer_emit_reloc()
513 addr >>= -reloc_hi->shift; in msm_ringbuffer_emit_reloc()
515 addr <<= reloc_hi->shift; in msm_ringbuffer_emit_reloc()