/kernel/linux/linux-5.10/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 | 477 OUT_RING(CCE_PACKET0(R128_WAIT_UNTIL, 0)); \ 478 OUT_RING(R128_EVENT_CRTC_OFFSET); \ 536 #define OUT_RING(x) do { \ macro
|
/kernel/linux/linux-5.10/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 …]
|
D | i810_drv.h | 166 #define OUT_RING(n) do { \ macro
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/adreno/ |
D | a2xx_gpu.c | 31 OUT_RING(ring, lower_32_bits(submit->cmd[i].iova)); in a2xx_submit() 32 OUT_RING(ring, submit->cmd[i].size); in a2xx_submit() 39 OUT_RING(ring, submit->seqno); in a2xx_submit() 43 OUT_RING(ring, 0x00000000); in a2xx_submit() 46 OUT_RING(ring, CACHE_FLUSH_TS); in a2xx_submit() 47 OUT_RING(ring, rbmemptr(ring, fence)); in a2xx_submit() 48 OUT_RING(ring, submit->seqno); in a2xx_submit() 50 OUT_RING(ring, 0x80000000); in a2xx_submit() 62 OUT_RING(ring, 0x000003ff); in a2xx_me_init() 64 OUT_RING(ring, 0x00000000); in a2xx_me_init() [all …]
|
D | a3xx_gpu.c | 49 OUT_RING(ring, lower_32_bits(submit->cmd[i].iova)); in a3xx_submit() 50 OUT_RING(ring, submit->cmd[i].size); in a3xx_submit() 57 OUT_RING(ring, submit->seqno); in a3xx_submit() 64 OUT_RING(ring, HLSQ_FLUSH); in a3xx_submit() 68 OUT_RING(ring, 0x00000000); in a3xx_submit() 72 OUT_RING(ring, CACHE_FLUSH_TS | BIT(31)); in a3xx_submit() 73 OUT_RING(ring, rbmemptr(ring, fence)); in a3xx_submit() 74 OUT_RING(ring, submit->seqno); in a3xx_submit() 79 OUT_RING(ring, CP_REG(REG_A3XX_HLSQ_CL_KERNEL_GROUP_X_REG)); in a3xx_submit() 80 OUT_RING(ring, 0x00000000); in a3xx_submit() [all …]
|
D | a5xx_gpu.c | 35 OUT_RING(ring, lower_32_bits(shadowptr(a5xx_gpu, ring))); in a5xx_flush() 36 OUT_RING(ring, upper_32_bits(shadowptr(a5xx_gpu, ring))); in a5xx_flush() 95 OUT_RING(ring, ptr[i]); in a5xx_submit_in_rb() 131 OUT_RING(ring, 0x02); in a5xx_submit() 135 OUT_RING(ring, 0); in a5xx_submit() 139 OUT_RING(ring, lower_32_bits(a5xx_gpu->preempt_iova[submit->ring->id])); in a5xx_submit() 140 OUT_RING(ring, upper_32_bits(a5xx_gpu->preempt_iova[submit->ring->id])); in a5xx_submit() 144 OUT_RING(ring, 1); in a5xx_submit() 148 OUT_RING(ring, 0x02); in a5xx_submit() 152 OUT_RING(ring, 0x02); in a5xx_submit() [all …]
|
D | a4xx_gpu.c | 43 OUT_RING(ring, lower_32_bits(submit->cmd[i].iova)); in a4xx_submit() 44 OUT_RING(ring, submit->cmd[i].size); in a4xx_submit() 51 OUT_RING(ring, submit->seqno); in a4xx_submit() 58 OUT_RING(ring, HLSQ_FLUSH); in a4xx_submit() 62 OUT_RING(ring, 0x00000000); in a4xx_submit() 66 OUT_RING(ring, CACHE_FLUSH_TS | BIT(31)); in a4xx_submit() 67 OUT_RING(ring, rbmemptr(ring, fence)); in a4xx_submit() 68 OUT_RING(ring, submit->seqno); in a4xx_submit() 162 OUT_RING(ring, 0x000003f7); in a4xx_me_init() 163 OUT_RING(ring, 0x00000000); in a4xx_me_init() [all …]
|
D | a6xx_gpu.c | 64 OUT_RING(ring, lower_32_bits(shadowptr(a6xx_gpu, ring))); in a6xx_flush() 65 OUT_RING(ring, upper_32_bits(shadowptr(a6xx_gpu, ring))); in a6xx_flush() 88 OUT_RING(ring, CP_REG_TO_MEM_0_REG(counter) | in get_stats_counter() 91 OUT_RING(ring, lower_32_bits(iova)); in get_stats_counter() 92 OUT_RING(ring, upper_32_bits(iova)); in get_stats_counter() 110 OUT_RING(ring, CP_SMMU_TABLE_UPDATE_0_TTBR0_LO(lower_32_bits(ttbr))); in a6xx_set_pagetable() 112 OUT_RING(ring, in a6xx_set_pagetable() 115 OUT_RING(ring, CP_SMMU_TABLE_UPDATE_2_CONTEXTIDR(0)); in a6xx_set_pagetable() 116 OUT_RING(ring, CP_SMMU_TABLE_UPDATE_3_CONTEXTBANK(0)); in a6xx_set_pagetable() 122 OUT_RING(ring, CP_MEM_WRITE_0_ADDR_LO(lower_32_bits(memptr))); in a6xx_set_pagetable() [all …]
|
D | adreno_gpu.h | 287 OUT_RING(ring, CP_TYPE0_PKT | ((cnt-1) << 16) | (regindx & 0x7FFF)); in OUT_PKT0() 295 OUT_RING(ring, CP_TYPE2_PKT); in OUT_PKT2() 302 OUT_RING(ring, CP_TYPE3_PKT | ((cnt-1) << 16) | ((opcode & 0xFF) << 8)); in OUT_PKT3() 324 OUT_RING(ring, PKT4(regindx, cnt)); in OUT_PKT4() 331 OUT_RING(ring, CP_TYPE7_PKT | (cnt << 0) | (PM4_PARITY(cnt) << 15) | in OUT_PKT7()
|
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()
|
/kernel/linux/linux-5.10/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 …]
|
D | intelfbhw.h | 534 #define OUT_RING(n) do { \ macro
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
D | msm_ringbuffer.h | 59 OUT_RING(struct msm_ringbuffer *ring, uint32_t data) in OUT_RING() function
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
D | nouveau_dma.h | 72 OUT_RING(struct nouveau_channel *chan, int data) in OUT_RING() function
|
D | nouveau_dma.c | 212 OUT_RING(chan, chan->push.addr | 0x20000000); in nouveau_dma_wait()
|