Home
last modified time | relevance | path

Searched refs:OUT_RING (Results 1 – 25 of 28) sorted by relevance

12

/drivers/gpu/drm/nouveau/
Dnvc0_fbcon.c43 OUT_RING (chan, 1); in nvc0_fbcon_fillrect()
48 OUT_RING (chan, ((uint32_t *)info->pseudo_palette)[rect->color]); in nvc0_fbcon_fillrect()
50 OUT_RING (chan, rect->color); in nvc0_fbcon_fillrect()
52 OUT_RING (chan, rect->dx); in nvc0_fbcon_fillrect()
53 OUT_RING (chan, rect->dy); in nvc0_fbcon_fillrect()
54 OUT_RING (chan, rect->dx + rect->width); in nvc0_fbcon_fillrect()
55 OUT_RING (chan, rect->dy + rect->height); in nvc0_fbcon_fillrect()
58 OUT_RING (chan, 3); in nvc0_fbcon_fillrect()
77 OUT_RING (chan, 0); in nvc0_fbcon_copyarea()
79 OUT_RING (chan, region->dx); in nvc0_fbcon_copyarea()
[all …]
Dnv50_fbcon.c43 OUT_RING(chan, 1); in nv50_fbcon_fillrect()
48 OUT_RING(chan, ((uint32_t *)info->pseudo_palette)[rect->color]); in nv50_fbcon_fillrect()
50 OUT_RING(chan, rect->color); in nv50_fbcon_fillrect()
52 OUT_RING(chan, rect->dx); in nv50_fbcon_fillrect()
53 OUT_RING(chan, rect->dy); in nv50_fbcon_fillrect()
54 OUT_RING(chan, rect->dx + rect->width); in nv50_fbcon_fillrect()
55 OUT_RING(chan, rect->dy + rect->height); in nv50_fbcon_fillrect()
58 OUT_RING(chan, 3); in nv50_fbcon_fillrect()
77 OUT_RING(chan, 0); in nv50_fbcon_copyarea()
79 OUT_RING(chan, region->dx); in nv50_fbcon_copyarea()
[all …]
Dnv04_fbcon.c44 OUT_RING(chan, (region->sy << 16) | region->sx); in nv04_fbcon_copyarea()
45 OUT_RING(chan, (region->dy << 16) | region->dx); in nv04_fbcon_copyarea()
46 OUT_RING(chan, (region->height << 16) | region->width); in nv04_fbcon_copyarea()
64 OUT_RING(chan, (rect->rop != ROP_COPY) ? 1 : 3); in nv04_fbcon_fillrect()
68 OUT_RING(chan, ((uint32_t *)info->pseudo_palette)[rect->color]); in nv04_fbcon_fillrect()
70 OUT_RING(chan, rect->color); in nv04_fbcon_fillrect()
72 OUT_RING(chan, (rect->dx << 16) | rect->dy); in nv04_fbcon_fillrect()
73 OUT_RING(chan, (rect->width << 16) | rect->height); in nv04_fbcon_fillrect()
111 OUT_RING(chan, (image->dy << 16) | (image->dx & 0xffff)); in nv04_fbcon_imageblit()
112 OUT_RING(chan, ((image->dy + image->height) << 16) | in nv04_fbcon_imageblit()
[all …]
Dnouveau_bo.c581 OUT_RING (chan, handle); in nve0_bo_move_init()
595 OUT_RING (chan, upper_32_bits(node->vma[0].offset)); in nve0_bo_move_copy()
596 OUT_RING (chan, lower_32_bits(node->vma[0].offset)); in nve0_bo_move_copy()
597 OUT_RING (chan, upper_32_bits(node->vma[1].offset)); in nve0_bo_move_copy()
598 OUT_RING (chan, lower_32_bits(node->vma[1].offset)); in nve0_bo_move_copy()
599 OUT_RING (chan, PAGE_SIZE); in nve0_bo_move_copy()
600 OUT_RING (chan, PAGE_SIZE); in nve0_bo_move_copy()
601 OUT_RING (chan, PAGE_SIZE); in nve0_bo_move_copy()
602 OUT_RING (chan, new_mem->num_pages); in nve0_bo_move_copy()
614 OUT_RING (chan, handle); in nvc0_bo_move_init()
[all …]
Dnvc0_fence.c43 OUT_RING (chan, upper_32_bits(virtual)); in nvc0_fence_emit32()
44 OUT_RING (chan, lower_32_bits(virtual)); in nvc0_fence_emit32()
45 OUT_RING (chan, sequence); in nvc0_fence_emit32()
46 OUT_RING (chan, NV84_SUBCHAN_SEMAPHORE_TRIGGER_WRITE_LONG); in nvc0_fence_emit32()
47 OUT_RING (chan, 0x00000000); in nvc0_fence_emit32()
59 OUT_RING (chan, upper_32_bits(virtual)); in nvc0_fence_sync32()
60 OUT_RING (chan, lower_32_bits(virtual)); in nvc0_fence_sync32()
61 OUT_RING (chan, sequence); in nvc0_fence_sync32()
62 OUT_RING (chan, NV84_SUBCHAN_SEMAPHORE_TRIGGER_ACQUIRE_GEQUAL | in nvc0_fence_sync32()
Dnv17_fence.c51 OUT_RING (prev, NvSema); in nv17_fence_sync()
52 OUT_RING (prev, 0); in nv17_fence_sync()
53 OUT_RING (prev, value + 0); in nv17_fence_sync()
54 OUT_RING (prev, value + 1); in nv17_fence_sync()
60 OUT_RING (chan, NvSema); in nv17_fence_sync()
61 OUT_RING (chan, 0); in nv17_fence_sync()
62 OUT_RING (chan, value + 1); in nv17_fence_sync()
63 OUT_RING (chan, value + 2); in nv17_fence_sync()
Dnv84_fence.c50 OUT_RING (chan, chan->vram); in nv84_fence_emit32()
52 OUT_RING (chan, upper_32_bits(virtual)); in nv84_fence_emit32()
53 OUT_RING (chan, lower_32_bits(virtual)); in nv84_fence_emit32()
54 OUT_RING (chan, sequence); in nv84_fence_emit32()
55 OUT_RING (chan, NV84_SUBCHAN_SEMAPHORE_TRIGGER_WRITE_LONG); in nv84_fence_emit32()
56 OUT_RING (chan, 0x00000000); in nv84_fence_emit32()
68 OUT_RING (chan, chan->vram); in nv84_fence_sync32()
70 OUT_RING (chan, upper_32_bits(virtual)); in nv84_fence_sync32()
71 OUT_RING (chan, lower_32_bits(virtual)); in nv84_fence_sync32()
72 OUT_RING (chan, sequence); in nv84_fence_sync32()
[all …]
Dnouveau_dma.h117 OUT_RING(struct nouveau_channel *chan, int data) in OUT_RING() function
128 OUT_RING(chan, 0x00000000 | (subc << 13) | (size << 18) | mthd); in BEGIN_NV04()
134 OUT_RING(chan, 0x40000000 | (subc << 13) | (size << 18) | mthd); in BEGIN_NI04()
140 OUT_RING(chan, 0x20000000 | (size << 16) | (subc << 13) | (mthd >> 2)); in BEGIN_NVC0()
146 OUT_RING(chan, 0x60000000 | (size << 16) | (subc << 13) | (mthd >> 2)); in BEGIN_NIC0()
152 OUT_RING(chan, 0x80000000 | (data << 16) | (subc << 13) | (mthd >> 2)); in BEGIN_IMC0()
Dnv50_display.c540 OUT_RING (chan, NvEvoSema0 + head); in nv50_display_flip_next()
541 OUT_RING (chan, sync->addr ^ 0x10); in nv50_display_flip_next()
543 OUT_RING (chan, sync->data + 1); in nv50_display_flip_next()
545 OUT_RING (chan, sync->addr); in nv50_display_flip_next()
546 OUT_RING (chan, sync->data); in nv50_display_flip_next()
555 OUT_RING (chan, chan->vram); in nv50_display_flip_next()
557 OUT_RING (chan, upper_32_bits(addr ^ 0x10)); in nv50_display_flip_next()
558 OUT_RING (chan, lower_32_bits(addr ^ 0x10)); in nv50_display_flip_next()
559 OUT_RING (chan, sync->data + 1); in nv50_display_flip_next()
560 OUT_RING (chan, NV84_SUBCHAN_SEMAPHORE_TRIGGER_WRITE_LONG); in nv50_display_flip_next()
[all …]
Dnouveau_gem.c758 OUT_RING(chan, (nvbo->bo.offset + push[i].offset) | 2); in nouveau_gem_ioctl_pushbuf()
759 OUT_RING(chan, 0); in nouveau_gem_ioctl_pushbuf()
792 OUT_RING(chan, 0x20000000 | in nouveau_gem_ioctl_pushbuf()
794 OUT_RING(chan, 0); in nouveau_gem_ioctl_pushbuf()
796 OUT_RING(chan, 0); in nouveau_gem_ioctl_pushbuf()
Dnv04_fence.c46 OUT_RING (chan, fence->sequence); in nv04_fence_emit()
Dnv10_fence.c39 OUT_RING (chan, fence->sequence); in nv10_fence_emit()
Dnouveau_display.c534 OUT_RING (chan, 0x00000000); in nouveau_page_flip_emit()
535 OUT_RING (chan, 0x00000000); in nouveau_page_flip_emit()
538 OUT_RING (chan, 0); in nouveau_page_flip_emit()
Dnouveau_chan.c347 OUT_RING(chan, 0x00000000); in nouveau_channel_init()
370 OUT_RING (chan, NvSw); in nouveau_channel_init()
/drivers/gpu/drm/radeon/
Dr600_blit.c64 OUT_RING(CP_PACKET3(R600_IT_SET_CONTEXT_REG, 1)); in set_render_target()
65 OUT_RING((R600_CB_COLOR0_BASE - R600_SET_CONTEXT_REG_OFFSET) >> 2); in set_render_target()
66 OUT_RING(gpu_addr >> 8); in set_render_target()
67 OUT_RING(CP_PACKET3(R600_IT_SURFACE_BASE_UPDATE, 0)); in set_render_target()
68 OUT_RING(2 << 0); in set_render_target()
71 OUT_RING(CP_PACKET3(R600_IT_SET_CONTEXT_REG, 1)); in set_render_target()
72 OUT_RING((R600_CB_COLOR0_BASE - R600_SET_CONTEXT_REG_OFFSET) >> 2); in set_render_target()
73 OUT_RING(gpu_addr >> 8); in set_render_target()
76 OUT_RING(CP_PACKET3(R600_IT_SET_CONTEXT_REG, 1)); in set_render_target()
77 OUT_RING((R600_CB_COLOR0_SIZE - R600_SET_CONTEXT_REG_OFFSET) >> 2); in set_render_target()
[all …]
Dradeon_state.c458 OUT_RING(CP_PACKET0(RADEON_RE_TOP_LEFT, 0)); in radeon_emit_clip_rect()
459 OUT_RING((box->y1 << 16) | box->x1); in radeon_emit_clip_rect()
460 OUT_RING(CP_PACKET0(RADEON_RE_WIDTH_HEIGHT, 0)); in radeon_emit_clip_rect()
461 OUT_RING(((box->y2 - 1) << 16) | (box->x2 - 1)); in radeon_emit_clip_rect()
490 OUT_RING(CP_PACKET0(RADEON_PP_MISC, 6)); in radeon_emit_state()
491 OUT_RING(ctx->pp_misc); in radeon_emit_state()
492 OUT_RING(ctx->pp_fog_color); in radeon_emit_state()
493 OUT_RING(ctx->re_solid_color); in radeon_emit_state()
494 OUT_RING(ctx->rb3d_blendcntl); in radeon_emit_state()
495 OUT_RING(ctx->rb3d_depthoffset); in radeon_emit_state()
[all …]
Dr300_cmdbuf.c75 OUT_RING(CP_PACKET0(R300_RE_CLIPRECT_TL_0, nr * 2 - 1)); in r300_emit_cliprects()
107 OUT_RING((box.x1 << R300_CLIPRECT_X_SHIFT) | in r300_emit_cliprects()
109 OUT_RING((box.x2 << R300_CLIPRECT_X_SHIFT) | in r300_emit_cliprects()
121 OUT_RING(CP_PACKET0(R300_RE_SCISSORS_TL, 1)); in r300_emit_cliprects()
122 OUT_RING(0); in r300_emit_cliprects()
123 OUT_RING(R300_SCISSORS_X_MASK | R300_SCISSORS_Y_MASK); in r300_emit_cliprects()
148 OUT_RING(CP_PACKET0(R300_RB3D_DSTCACHE_CTLSTAT, 0)); in r300_emit_cliprects()
149 OUT_RING(R300_RB3D_DC_FLUSH); in r300_emit_cliprects()
152 OUT_RING(CP_PACKET0(RADEON_WAIT_UNTIL, 0)); in r300_emit_cliprects()
153 OUT_RING(RADEON_WAIT_3D_IDLECLEAN); in r300_emit_cliprects()
[all …]
Dradeon_drv.h1924 OUT_RING( CP_PACKET0( RADEON_WAIT_UNTIL, 0 ) ); \
1925 OUT_RING( (RADEON_WAIT_2D_IDLECLEAN | \
1930 OUT_RING( CP_PACKET0( RADEON_WAIT_UNTIL, 0 ) ); \
1931 OUT_RING( (RADEON_WAIT_3D_IDLECLEAN | \
1936 OUT_RING( CP_PACKET0( RADEON_WAIT_UNTIL, 0 ) ); \
1937 OUT_RING( (RADEON_WAIT_2D_IDLECLEAN | \
1943 OUT_RING( CP_PACKET0( RADEON_WAIT_UNTIL, 0 ) ); \
1944 OUT_RING( RADEON_WAIT_CRTC_PFLIP ); \
1949 OUT_RING(CP_PACKET0(RADEON_RB3D_DSTCACHE_CTLSTAT, 0)); \
1950 OUT_RING(RADEON_RB3D_DC_FLUSH); \
[all …]
Dr600_cp.c2313 OUT_RING(CP_PACKET3(R600_IT_EVENT_WRITE, 0)); in r600_do_cp_idle()
2314 OUT_RING(R600_CACHE_FLUSH_AND_INV_EVENT); in r600_do_cp_idle()
2316 OUT_RING(CP_PACKET3(R600_IT_SET_CONFIG_REG, 1)); in r600_do_cp_idle()
2317 OUT_RING((R600_WAIT_UNTIL - R600_SET_CONFIG_REG_OFFSET) >> 2); in r600_do_cp_idle()
2318 OUT_RING(RADEON_WAIT_3D_IDLE | RADEON_WAIT_3D_IDLECLEAN); in r600_do_cp_idle()
2335 OUT_RING(CP_PACKET3(R600_IT_ME_INITIALIZE, 5)); in r600_do_cp_start()
2336 OUT_RING(0x00000001); in r600_do_cp_start()
2338 OUT_RING(0x00000003); in r600_do_cp_start()
2340 OUT_RING(0x00000000); in r600_do_cp_start()
2341 OUT_RING((dev_priv->r600_max_hw_contexts - 1)); in r600_do_cp_start()
[all …]
Dradeon_cp.c619 OUT_RING(CP_PACKET0(R300_CP_RESYNC_ADDR, 1)); in radeon_do_cp_start()
620 OUT_RING(5); /* scratch reg 5 */ in radeon_do_cp_start()
621 OUT_RING(0xdeadbeef); in radeon_do_cp_start()
628 OUT_RING(CP_PACKET0(RADEON_ISYNC_CNTL, 0)); in radeon_do_cp_start()
629 OUT_RING(RADEON_ISYNC_ANY2D_IDLE3D | in radeon_do_cp_start()
669 OUT_RING(CP_PACKET0(R300_RB3D_DSTCACHE_CTLSTAT, 0)); in radeon_do_cp_stop()
670 OUT_RING(R300_RB3D_DC_FINISH); in radeon_do_cp_stop()
/drivers/gpu/drm/r128/
Dr128_state.c49 OUT_RING(CCE_PACKET0(R128_AUX1_SC_LEFT, 3)); in r128_emit_clip_rects()
50 OUT_RING(boxes[0].x1); in r128_emit_clip_rects()
51 OUT_RING(boxes[0].x2 - 1); in r128_emit_clip_rects()
52 OUT_RING(boxes[0].y1); in r128_emit_clip_rects()
53 OUT_RING(boxes[0].y2 - 1); in r128_emit_clip_rects()
58 OUT_RING(CCE_PACKET0(R128_AUX2_SC_LEFT, 3)); in r128_emit_clip_rects()
59 OUT_RING(boxes[1].x1); in r128_emit_clip_rects()
60 OUT_RING(boxes[1].x2 - 1); in r128_emit_clip_rects()
61 OUT_RING(boxes[1].y1); in r128_emit_clip_rects()
62 OUT_RING(boxes[1].y2 - 1); in r128_emit_clip_rects()
[all …]
Dr128_drv.h463 OUT_RING(CCE_PACKET0(R128_WAIT_UNTIL, 0)); \
464 OUT_RING(R128_EVENT_CRTC_OFFSET); \
522 #define OUT_RING(x) do { \ macro
/drivers/gpu/drm/i810/
Di810_dma.c467 OUT_RING(GFX_OP_COLOR_FACTOR); in i810EmitContextVerified()
468 OUT_RING(code[I810_CTXREG_CF1]); in i810EmitContextVerified()
470 OUT_RING(GFX_OP_STIPPLE); in i810EmitContextVerified()
471 OUT_RING(code[I810_CTXREG_ST1]); in i810EmitContextVerified()
478 OUT_RING(tmp); in i810EmitContextVerified()
485 OUT_RING(0); in i810EmitContextVerified()
499 OUT_RING(GFX_OP_MAP_INFO); in i810EmitTexVerified()
500 OUT_RING(code[I810_TEXREG_MI1]); in i810EmitTexVerified()
501 OUT_RING(code[I810_TEXREG_MI2]); in i810EmitTexVerified()
502 OUT_RING(code[I810_TEXREG_MI3]); in i810EmitTexVerified()
[all …]
/drivers/gpu/drm/i915/
Di915_dma.c52 #define OUT_RING(x) \ macro
369 OUT_RING(buffer[i]); in i915_emit_cmds()
371 OUT_RING(0); in i915_emit_cmds()
398 OUT_RING(GFX_OP_DRAWRECT_INFO_I965); in i915_emit_box()
399 OUT_RING((box->x1 & 0xffff) | (box->y1 << 16)); in i915_emit_box()
400 OUT_RING(((box->x2 - 1) & 0xffff) | ((box->y2 - 1) << 16)); in i915_emit_box()
401 OUT_RING(DR4); in i915_emit_box()
407 OUT_RING(GFX_OP_DRAWRECT_INFO); in i915_emit_box()
408 OUT_RING(DR1); in i915_emit_box()
409 OUT_RING((box->x1 & 0xffff) | (box->y1 << 16)); in i915_emit_box()
[all …]
/drivers/video/intelfb/
Dintelfbhw.c1553 OUT_RING(MI_FLUSH | MI_WRITE_DIRTY_STATE | MI_INVALIDATE_MAP_CACHE); in do_flush()
1554 OUT_RING(MI_NOOP); in do_flush()
1691 OUT_RING(br00); in intelfbhw_do_fillrect()
1692 OUT_RING(br13); in intelfbhw_do_fillrect()
1693 OUT_RING(br14); in intelfbhw_do_fillrect()
1694 OUT_RING(br09); in intelfbhw_do_fillrect()
1695 OUT_RING(br16); in intelfbhw_do_fillrect()
1696 OUT_RING(MI_NOOP); in intelfbhw_do_fillrect()
1740 OUT_RING(br00); in intelfbhw_do_bitblt()
1741 OUT_RING(br13); in intelfbhw_do_bitblt()
[all …]

12