/Linux-v5.4/drivers/gpu/drm/nouveau/ |
D | nvc0_fbcon.c | 44 OUT_RING (chan, 1); in nvc0_fbcon_fillrect() 49 OUT_RING (chan, ((uint32_t *)info->pseudo_palette)[rect->color]); in nvc0_fbcon_fillrect() 51 OUT_RING (chan, rect->color); in nvc0_fbcon_fillrect() 53 OUT_RING (chan, rect->dx); in nvc0_fbcon_fillrect() 54 OUT_RING (chan, rect->dy); in nvc0_fbcon_fillrect() 55 OUT_RING (chan, rect->dx + rect->width); in nvc0_fbcon_fillrect() 56 OUT_RING (chan, rect->dy + rect->height); in nvc0_fbcon_fillrect() 59 OUT_RING (chan, 3); in nvc0_fbcon_fillrect() 78 OUT_RING (chan, 0); in nvc0_fbcon_copyarea() 80 OUT_RING (chan, region->dx); in nvc0_fbcon_copyarea() [all …]
|
D | nv50_fbcon.c | 44 OUT_RING(chan, 1); in nv50_fbcon_fillrect() 49 OUT_RING(chan, ((uint32_t *)info->pseudo_palette)[rect->color]); in nv50_fbcon_fillrect() 51 OUT_RING(chan, rect->color); in nv50_fbcon_fillrect() 53 OUT_RING(chan, rect->dx); in nv50_fbcon_fillrect() 54 OUT_RING(chan, rect->dy); in nv50_fbcon_fillrect() 55 OUT_RING(chan, rect->dx + rect->width); in nv50_fbcon_fillrect() 56 OUT_RING(chan, rect->dy + rect->height); in nv50_fbcon_fillrect() 59 OUT_RING(chan, 3); in nv50_fbcon_fillrect() 78 OUT_RING(chan, 0); in nv50_fbcon_copyarea() 80 OUT_RING(chan, region->dx); in nv50_fbcon_copyarea() [all …]
|
D | nv04_fbcon.c | 42 OUT_RING(chan, (region->sy << 16) | region->sx); in nv04_fbcon_copyarea() 43 OUT_RING(chan, (region->dy << 16) | region->dx); in nv04_fbcon_copyarea() 44 OUT_RING(chan, (region->height << 16) | region->width); in nv04_fbcon_copyarea() 62 OUT_RING(chan, (rect->rop != ROP_COPY) ? 1 : 3); in nv04_fbcon_fillrect() 66 OUT_RING(chan, ((uint32_t *)info->pseudo_palette)[rect->color]); in nv04_fbcon_fillrect() 68 OUT_RING(chan, rect->color); in nv04_fbcon_fillrect() 70 OUT_RING(chan, (rect->dx << 16) | rect->dy); in nv04_fbcon_fillrect() 71 OUT_RING(chan, (rect->width << 16) | rect->height); in nv04_fbcon_fillrect() 105 OUT_RING(chan, (image->dy << 16) | (image->dx & 0xffff)); in nv04_fbcon_imageblit() 106 OUT_RING(chan, ((image->dy + image->height) << 16) | in nv04_fbcon_imageblit() [all …]
|
D | nvc0_fence.c | 37 OUT_RING (chan, upper_32_bits(virtual)); in nvc0_fence_emit32() 38 OUT_RING (chan, lower_32_bits(virtual)); in nvc0_fence_emit32() 39 OUT_RING (chan, sequence); in nvc0_fence_emit32() 40 OUT_RING (chan, NV84_SUBCHAN_SEMAPHORE_TRIGGER_WRITE_LONG); in nvc0_fence_emit32() 41 OUT_RING (chan, 0x00000000); in nvc0_fence_emit32() 53 OUT_RING (chan, upper_32_bits(virtual)); in nvc0_fence_sync32() 54 OUT_RING (chan, lower_32_bits(virtual)); in nvc0_fence_sync32() 55 OUT_RING (chan, sequence); in nvc0_fence_sync32() 56 OUT_RING (chan, NV84_SUBCHAN_SEMAPHORE_TRIGGER_ACQUIRE_GEQUAL | in nvc0_fence_sync32()
|
D | nouveau_bo.c | 744 OUT_RING (chan, handle & 0x0000ffff); in nve0_bo_move_init() 758 OUT_RING (chan, upper_32_bits(mem->vma[0].addr)); in nve0_bo_move_copy() 759 OUT_RING (chan, lower_32_bits(mem->vma[0].addr)); in nve0_bo_move_copy() 760 OUT_RING (chan, upper_32_bits(mem->vma[1].addr)); in nve0_bo_move_copy() 761 OUT_RING (chan, lower_32_bits(mem->vma[1].addr)); in nve0_bo_move_copy() 762 OUT_RING (chan, PAGE_SIZE); in nve0_bo_move_copy() 763 OUT_RING (chan, PAGE_SIZE); in nve0_bo_move_copy() 764 OUT_RING (chan, PAGE_SIZE); in nve0_bo_move_copy() 765 OUT_RING (chan, new_reg->num_pages); in nve0_bo_move_copy() 777 OUT_RING (chan, handle); in nvc0_bo_move_init() [all …]
|
D | nv17_fence.c | 54 OUT_RING (prev, fctx->sema.handle); in nv17_fence_sync() 55 OUT_RING (prev, 0); in nv17_fence_sync() 56 OUT_RING (prev, value + 0); in nv17_fence_sync() 57 OUT_RING (prev, value + 1); in nv17_fence_sync() 63 OUT_RING (chan, fctx->sema.handle); in nv17_fence_sync() 64 OUT_RING (chan, 0); in nv17_fence_sync() 65 OUT_RING (chan, value + 1); in nv17_fence_sync() 66 OUT_RING (chan, value + 2); in nv17_fence_sync()
|
D | nv84_fence.c | 38 OUT_RING (chan, chan->vram.handle); in nv84_fence_emit32() 40 OUT_RING (chan, upper_32_bits(virtual)); in nv84_fence_emit32() 41 OUT_RING (chan, lower_32_bits(virtual)); in nv84_fence_emit32() 42 OUT_RING (chan, sequence); in nv84_fence_emit32() 43 OUT_RING (chan, NV84_SUBCHAN_SEMAPHORE_TRIGGER_WRITE_LONG); in nv84_fence_emit32() 44 OUT_RING (chan, 0x00000000); in nv84_fence_emit32() 56 OUT_RING (chan, chan->vram.handle); in nv84_fence_sync32() 58 OUT_RING (chan, upper_32_bits(virtual)); in nv84_fence_sync32() 59 OUT_RING (chan, lower_32_bits(virtual)); in nv84_fence_sync32() 60 OUT_RING (chan, sequence); in nv84_fence_sync32() [all …]
|
D | nouveau_dma.h | 100 OUT_RING(struct nouveau_channel *chan, int data) in OUT_RING() function 111 OUT_RING(chan, 0x00000000 | (subc << 13) | (size << 18) | mthd); in BEGIN_NV04() 117 OUT_RING(chan, 0x40000000 | (subc << 13) | (size << 18) | mthd); in BEGIN_NI04() 123 OUT_RING(chan, 0x20000000 | (size << 16) | (subc << 13) | (mthd >> 2)); in BEGIN_NVC0() 129 OUT_RING(chan, 0x60000000 | (size << 16) | (subc << 13) | (mthd >> 2)); in BEGIN_NIC0() 135 OUT_RING(chan, 0x80000000 | (data << 16) | (subc << 13) | (mthd >> 2)); in BEGIN_IMC0()
|
D | nouveau_dmem.c | 459 OUT_RING (chan, upper_32_bits(src_addr)); in nvc0b5_migrate_copy() 460 OUT_RING (chan, lower_32_bits(src_addr)); in nvc0b5_migrate_copy() 461 OUT_RING (chan, upper_32_bits(dst_addr)); in nvc0b5_migrate_copy() 462 OUT_RING (chan, lower_32_bits(dst_addr)); in nvc0b5_migrate_copy() 463 OUT_RING (chan, PAGE_SIZE); in nvc0b5_migrate_copy() 464 OUT_RING (chan, PAGE_SIZE); in nvc0b5_migrate_copy() 465 OUT_RING (chan, PAGE_SIZE); in nvc0b5_migrate_copy() 466 OUT_RING (chan, npages); in nvc0b5_migrate_copy() 468 OUT_RING (chan, launch_dma); in nvc0b5_migrate_copy()
|
D | nv04_fence.c | 46 OUT_RING (chan, fence->base.seqno); in nv04_fence_emit()
|
D | nv10_fence.c | 36 OUT_RING (chan, fence->base.seqno); in nv10_fence_emit()
|
D | nouveau_gem.c | 801 OUT_RING(chan, (nvbo->bo.offset + push[i].offset) | 2); in nouveau_gem_ioctl_pushbuf() 802 OUT_RING(chan, 0); in nouveau_gem_ioctl_pushbuf() 835 OUT_RING(chan, 0x20000000 | in nouveau_gem_ioctl_pushbuf() 837 OUT_RING(chan, 0); in nouveau_gem_ioctl_pushbuf() 839 OUT_RING(chan, 0); in nouveau_gem_ioctl_pushbuf()
|
/Linux-v5.4/drivers/gpu/drm/r128/ |
D | r128_state.c | 56 OUT_RING(CCE_PACKET0(R128_AUX1_SC_LEFT, 3)); in r128_emit_clip_rects() 57 OUT_RING(boxes[0].x1); in r128_emit_clip_rects() 58 OUT_RING(boxes[0].x2 - 1); in r128_emit_clip_rects() 59 OUT_RING(boxes[0].y1); in r128_emit_clip_rects() 60 OUT_RING(boxes[0].y2 - 1); in r128_emit_clip_rects() 65 OUT_RING(CCE_PACKET0(R128_AUX2_SC_LEFT, 3)); in r128_emit_clip_rects() 66 OUT_RING(boxes[1].x1); in r128_emit_clip_rects() 67 OUT_RING(boxes[1].x2 - 1); in r128_emit_clip_rects() 68 OUT_RING(boxes[1].y1); in r128_emit_clip_rects() 69 OUT_RING(boxes[1].y2 - 1); in r128_emit_clip_rects() [all …]
|
D | r128_drv.h | 476 OUT_RING(CCE_PACKET0(R128_WAIT_UNTIL, 0)); \ 477 OUT_RING(R128_EVENT_CRTC_OFFSET); \ 535 #define OUT_RING(x) do { \ macro
|
/Linux-v5.4/drivers/gpu/drm/i810/ |
D | i810_dma.c | 470 OUT_RING(GFX_OP_COLOR_FACTOR); in i810EmitContextVerified() 471 OUT_RING(code[I810_CTXREG_CF1]); in i810EmitContextVerified() 473 OUT_RING(GFX_OP_STIPPLE); in i810EmitContextVerified() 474 OUT_RING(code[I810_CTXREG_ST1]); in i810EmitContextVerified() 481 OUT_RING(tmp); in i810EmitContextVerified() 488 OUT_RING(0); in i810EmitContextVerified() 502 OUT_RING(GFX_OP_MAP_INFO); in i810EmitTexVerified() 503 OUT_RING(code[I810_TEXREG_MI1]); in i810EmitTexVerified() 504 OUT_RING(code[I810_TEXREG_MI2]); in i810EmitTexVerified() 505 OUT_RING(code[I810_TEXREG_MI3]); in i810EmitTexVerified() [all …]
|
/Linux-v5.4/drivers/gpu/drm/msm/adreno/ |
D | a2xx_gpu.c | 20 OUT_RING(ring, 0x000003ff); in a2xx_me_init() 22 OUT_RING(ring, 0x00000000); in a2xx_me_init() 24 OUT_RING(ring, 0x00000000); in a2xx_me_init() 26 OUT_RING(ring, REG_A2XX_RB_SURFACE_INFO - 0x2000); in a2xx_me_init() 27 OUT_RING(ring, REG_A2XX_PA_SC_WINDOW_OFFSET - 0x2000); in a2xx_me_init() 28 OUT_RING(ring, REG_A2XX_VGT_MAX_VTX_INDX - 0x2000); in a2xx_me_init() 29 OUT_RING(ring, REG_A2XX_SQ_PROGRAM_CNTL - 0x2000); in a2xx_me_init() 30 OUT_RING(ring, REG_A2XX_RB_DEPTHCONTROL - 0x2000); in a2xx_me_init() 31 OUT_RING(ring, REG_A2XX_PA_SU_POINT_SIZE - 0x2000); in a2xx_me_init() 32 OUT_RING(ring, REG_A2XX_PA_SC_LINE_CNTL - 0x2000); in a2xx_me_init() [all …]
|
D | a5xx_gpu.c | 85 OUT_RING(ring, ptr[i]); in a5xx_submit_in_rb() 122 OUT_RING(ring, 0x02); in a5xx_submit() 126 OUT_RING(ring, 0); in a5xx_submit() 130 OUT_RING(ring, lower_32_bits(a5xx_gpu->preempt_iova[submit->ring->id])); in a5xx_submit() 131 OUT_RING(ring, upper_32_bits(a5xx_gpu->preempt_iova[submit->ring->id])); in a5xx_submit() 135 OUT_RING(ring, 1); in a5xx_submit() 139 OUT_RING(ring, 0x02); in a5xx_submit() 143 OUT_RING(ring, 0x02); in a5xx_submit() 156 OUT_RING(ring, lower_32_bits(submit->cmd[i].iova)); in a5xx_submit() 157 OUT_RING(ring, upper_32_bits(submit->cmd[i].iova)); in a5xx_submit() [all …]
|
D | a3xx_gpu.c | 40 OUT_RING(ring, 0x000003f7); in a3xx_me_init() 41 OUT_RING(ring, 0x00000000); in a3xx_me_init() 42 OUT_RING(ring, 0x00000000); in a3xx_me_init() 43 OUT_RING(ring, 0x00000000); in a3xx_me_init() 44 OUT_RING(ring, 0x00000080); in a3xx_me_init() 45 OUT_RING(ring, 0x00000100); in a3xx_me_init() 46 OUT_RING(ring, 0x00000180); in a3xx_me_init() 47 OUT_RING(ring, 0x00006600); in a3xx_me_init() 48 OUT_RING(ring, 0x00000150); in a3xx_me_init() 49 OUT_RING(ring, 0x0000014e); in a3xx_me_init() [all …]
|
D | a4xx_gpu.c | 114 OUT_RING(ring, 0x000003f7); in a4xx_me_init() 115 OUT_RING(ring, 0x00000000); in a4xx_me_init() 116 OUT_RING(ring, 0x00000000); in a4xx_me_init() 117 OUT_RING(ring, 0x00000000); in a4xx_me_init() 118 OUT_RING(ring, 0x00000080); in a4xx_me_init() 119 OUT_RING(ring, 0x00000100); in a4xx_me_init() 120 OUT_RING(ring, 0x00000180); in a4xx_me_init() 121 OUT_RING(ring, 0x00006600); in a4xx_me_init() 122 OUT_RING(ring, 0x00000150); in a4xx_me_init() 123 OUT_RING(ring, 0x0000014e); in a4xx_me_init() [all …]
|
D | a6xx_gpu.c | 77 OUT_RING(ring, counter | (1 << 30) | (2 << 18)); in get_stats_counter() 78 OUT_RING(ring, lower_32_bits(iova)); in get_stats_counter() 79 OUT_RING(ring, upper_32_bits(iova)); in get_stats_counter() 105 OUT_RING(ring, PC_CCU_INVALIDATE_DEPTH); in a6xx_submit() 108 OUT_RING(ring, PC_CCU_INVALIDATE_COLOR); in a6xx_submit() 121 OUT_RING(ring, lower_32_bits(submit->cmd[i].iova)); in a6xx_submit() 122 OUT_RING(ring, upper_32_bits(submit->cmd[i].iova)); in a6xx_submit() 123 OUT_RING(ring, submit->cmd[i].size); in a6xx_submit() 135 OUT_RING(ring, submit->seqno); in a6xx_submit() 142 OUT_RING(ring, CACHE_FLUSH_TS | (1 << 31)); in a6xx_submit() [all …]
|
D | adreno_gpu.c | 435 OUT_RING(ring, lower_32_bits(submit->cmd[i].iova)); in adreno_submit() 436 OUT_RING(ring, submit->cmd[i].size); in adreno_submit() 443 OUT_RING(ring, submit->seqno); in adreno_submit() 451 OUT_RING(ring, HLSQ_FLUSH); in adreno_submit() 456 OUT_RING(ring, 0x00000000); in adreno_submit() 461 OUT_RING(ring, CACHE_FLUSH_TS | BIT(31)); in adreno_submit() 462 OUT_RING(ring, rbmemptr(ring, fence)); in adreno_submit() 463 OUT_RING(ring, submit->seqno); in adreno_submit() 467 OUT_RING(ring, CACHE_FLUSH_TS); in adreno_submit() 468 OUT_RING(ring, rbmemptr(ring, fence)); in adreno_submit() [all …]
|
D | a5xx_power.c | 231 OUT_RING(ring, 0); in a5xx_gpmu_init() 235 OUT_RING(ring, lower_32_bits(a5xx_gpu->gpmu_iova)); in a5xx_gpmu_init() 236 OUT_RING(ring, upper_32_bits(a5xx_gpu->gpmu_iova)); in a5xx_gpmu_init() 237 OUT_RING(ring, a5xx_gpu->gpmu_dwords); in a5xx_gpmu_init() 241 OUT_RING(ring, 1); in a5xx_gpmu_init()
|
D | adreno_gpu.h | 262 OUT_RING(ring, CP_TYPE0_PKT | ((cnt-1) << 16) | (regindx & 0x7FFF)); in OUT_PKT0() 270 OUT_RING(ring, CP_TYPE2_PKT); in OUT_PKT2() 277 OUT_RING(ring, CP_TYPE3_PKT | ((cnt-1) << 16) | ((opcode & 0xFF) << 8)); in OUT_PKT3() 299 OUT_RING(ring, PKT4(regindx, cnt)); in OUT_PKT4() 306 OUT_RING(ring, CP_TYPE7_PKT | (cnt << 0) | (PM4_PARITY(cnt) << 15) | in OUT_PKT7()
|
/Linux-v5.4/drivers/video/fbdev/intelfb/ |
D | intelfbhw.c | 1549 OUT_RING(MI_FLUSH | MI_WRITE_DIRTY_STATE | MI_INVALIDATE_MAP_CACHE); in do_flush() 1550 OUT_RING(MI_NOOP); in do_flush() 1687 OUT_RING(br00); in intelfbhw_do_fillrect() 1688 OUT_RING(br13); in intelfbhw_do_fillrect() 1689 OUT_RING(br14); in intelfbhw_do_fillrect() 1690 OUT_RING(br09); in intelfbhw_do_fillrect() 1691 OUT_RING(br16); in intelfbhw_do_fillrect() 1692 OUT_RING(MI_NOOP); in intelfbhw_do_fillrect() 1736 OUT_RING(br00); in intelfbhw_do_bitblt() 1737 OUT_RING(br13); in intelfbhw_do_bitblt() [all …]
|
/Linux-v5.4/drivers/gpu/drm/msm/ |
D | msm_ringbuffer.h | 58 OUT_RING(struct msm_ringbuffer *ring, uint32_t data) in OUT_RING() function
|