/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
D | nv04_fbcon.c | 37 struct nvif_push *push = chan->chan.push; in nv04_fbcon_copyarea() local 40 ret = PUSH_WAIT(push, 4); in nv04_fbcon_copyarea() 44 PUSH_NVSQ(push, NV05F, 0x0300, (region->sy << 16) | region->sx, in nv04_fbcon_copyarea() 47 PUSH_KICK(push); in nv04_fbcon_copyarea() 57 struct nvif_push *push = chan->chan.push; in nv04_fbcon_fillrect() local 60 ret = PUSH_WAIT(push, 7); in nv04_fbcon_fillrect() 64 PUSH_NVSQ(push, NV04A, 0x02fc, (rect->rop != ROP_COPY) ? 1 : 3); in nv04_fbcon_fillrect() 67 PUSH_NVSQ(push, NV04A, 0x03fc, ((uint32_t *)info->pseudo_palette)[rect->color]); in nv04_fbcon_fillrect() 69 PUSH_NVSQ(push, NV04A, 0x03fc, rect->color); in nv04_fbcon_fillrect() 70 PUSH_NVSQ(push, NV04A, 0x0400, (rect->dx << 16) | rect->dy, in nv04_fbcon_fillrect() [all …]
|
D | nv50_fbcon.c | 40 struct nvif_push *push = chan->chan.push; in nv50_fbcon_fillrect() local 50 ret = PUSH_WAIT(push, rect->rop == ROP_COPY ? 7 : 11); in nv50_fbcon_fillrect() 55 PUSH_MTHD(push, NV502D, SET_OPERATION, in nv50_fbcon_fillrect() 59 PUSH_MTHD(push, NV502D, SET_RENDER_SOLID_PRIM_COLOR, colour); in nv50_fbcon_fillrect() 61 PUSH_MTHD(push, NV502D, RENDER_SOLID_PRIM_POINT_SET_X(0), rect->dx, in nv50_fbcon_fillrect() 67 PUSH_MTHD(push, NV502D, SET_OPERATION, in nv50_fbcon_fillrect() 71 PUSH_KICK(push); in nv50_fbcon_fillrect() 81 struct nvif_push *push = chan->chan.push; in nv50_fbcon_copyarea() local 84 ret = PUSH_WAIT(push, 12); in nv50_fbcon_copyarea() 88 PUSH_MTHD(push, NV502D, WAIT_FOR_IDLE, 0); in nv50_fbcon_copyarea() [all …]
|
D | nvc0_fbcon.c | 40 struct nvif_push *push = chan->chan.push; in nvc0_fbcon_fillrect() local 50 ret = PUSH_WAIT(push, rect->rop == ROP_COPY ? 7 : 9); in nvc0_fbcon_fillrect() 55 PUSH_IMMD(push, NV902D, SET_OPERATION, in nvc0_fbcon_fillrect() 59 PUSH_MTHD(push, NV902D, SET_RENDER_SOLID_PRIM_COLOR, colour); in nvc0_fbcon_fillrect() 61 PUSH_MTHD(push, NV902D, RENDER_SOLID_PRIM_POINT_SET_X(0), rect->dx, in nvc0_fbcon_fillrect() 67 PUSH_IMMD(push, NV902D, SET_OPERATION, in nvc0_fbcon_fillrect() 71 PUSH_KICK(push); in nvc0_fbcon_fillrect() 81 struct nvif_push *push = chan->chan.push; in nvc0_fbcon_copyarea() local 84 ret = PUSH_WAIT(push, 11); in nvc0_fbcon_copyarea() 88 PUSH_IMMD(push, NV902D, WAIT_FOR_IDLE, 0); in nvc0_fbcon_copyarea() [all …]
|
D | nouveau_bo0039.c | 50 struct nvif_push *push = chan->chan.push; in nv04_bo_move_m2mf() local 58 ret = PUSH_WAIT(push, 3); in nv04_bo_move_m2mf() 62 PUSH_MTHD(push, NV039, SET_CONTEXT_DMA_BUFFER_IN, src_ctxdma, in nv04_bo_move_m2mf() 69 ret = PUSH_WAIT(push, 11); in nv04_bo_move_m2mf() 73 PUSH_MTHD(push, NV039, OFFSET_IN, src_offset, in nv04_bo_move_m2mf() 86 PUSH_MTHD(push, NV039, NO_OPERATION, 0x00000000); in nv04_bo_move_m2mf() 99 struct nvif_push *push = chan->chan.push; in nv04_bo_move_init() local 102 ret = PUSH_WAIT(push, 4); in nv04_bo_move_init() 106 PUSH_MTHD(push, NV039, SET_OBJECT, handle); in nv04_bo_move_init() 107 PUSH_MTHD(push, NV039, SET_CONTEXT_DMA_NOTIFIES, chan->drm->ntfy.handle); in nv04_bo_move_init()
|
D | nouveau_bo5039.c | 43 struct nvif_push *push = chan->chan.push; in nv50_bo_move_m2mf() local 54 ret = PUSH_WAIT(push, 18 + 6 * (src_tiled + dst_tiled)); in nv50_bo_move_m2mf() 63 PUSH_MTHD(push, NV5039, SET_SRC_MEMORY_LAYOUT, in nv50_bo_move_m2mf() 80 PUSH_MTHD(push, NV5039, SET_SRC_MEMORY_LAYOUT, in nv50_bo_move_m2mf() 85 PUSH_MTHD(push, NV5039, SET_DST_MEMORY_LAYOUT, in nv50_bo_move_m2mf() 102 PUSH_MTHD(push, NV5039, SET_DST_MEMORY_LAYOUT, in nv50_bo_move_m2mf() 106 PUSH_MTHD(push, NV5039, OFFSET_IN_UPPER, in nv50_bo_move_m2mf() 112 PUSH_MTHD(push, NV5039, OFFSET_IN, lower_32_bits(src_offset), in nv50_bo_move_m2mf() 126 PUSH_MTHD(push, NV5039, NO_OPERATION, 0x00000000); in nv50_bo_move_m2mf() 139 struct nvif_push *push = chan->chan.push; in nv50_bo_move_init() local [all …]
|
D | nvc0_fence.c | 37 struct nvif_push *push = chan->chan.push; in nvc0_fence_emit32() local 38 int ret = PUSH_WAIT(push, 6); in nvc0_fence_emit32() 40 PUSH_MTHD(push, NV906F, SEMAPHOREA, in nvc0_fence_emit32() 52 PUSH_KICK(push); in nvc0_fence_emit32() 60 struct nvif_push *push = chan->chan.push; in nvc0_fence_sync32() local 61 int ret = PUSH_WAIT(push, 5); in nvc0_fence_sync32() 63 PUSH_MTHD(push, NV906F, SEMAPHOREA, in nvc0_fence_sync32() 72 PUSH_KICK(push); in nvc0_fence_sync32()
|
D | nouveau_bo9039.c | 41 struct nvif_push *push = chan->chan.push; in nvc0_bo_move_m2mf() local 52 ret = PUSH_WAIT(push, 12); in nvc0_bo_move_m2mf() 56 PUSH_MTHD(push, NV9039, OFFSET_OUT_UPPER, in nvc0_bo_move_m2mf() 61 PUSH_MTHD(push, NV9039, OFFSET_IN_UPPER, in nvc0_bo_move_m2mf() 70 PUSH_MTHD(push, NV9039, LAUNCH_DMA, in nvc0_bo_move_m2mf() 89 struct nvif_push *push = chan->chan.push; in nvc0_bo_move_init() local 92 ret = PUSH_WAIT(push, 2); in nvc0_bo_move_init() 96 PUSH_MTHD(push, NV9039, SET_OBJECT, handle); in nvc0_bo_move_init()
|
D | nouveau_chan.c | 107 nvif_object_dtor(&chan->push.ctxdma); in nouveau_channel_del() 108 nouveau_vma_del(&chan->push.vma); in nouveau_channel_del() 109 nouveau_bo_unmap(chan->push.buffer); in nouveau_channel_del() 110 if (chan->push.buffer && chan->push.buffer->pin_refcnt) in nouveau_channel_del() 111 nouveau_bo_unpin(chan->push.buffer); in nouveau_channel_del() 112 nouveau_bo_ref(NULL, &chan->push.buffer); in nouveau_channel_del() 122 nouveau_channel_kick(struct nvif_push *push) in nouveau_channel_kick() argument 124 struct nouveau_channel *chan = container_of(push, typeof(*chan), chan._push); in nouveau_channel_kick() 131 nouveau_channel_wait(struct nvif_push *push, u32 size) in nouveau_channel_wait() argument 133 struct nouveau_channel *chan = container_of(push, typeof(*chan), chan._push); in nouveau_channel_wait() [all …]
|
D | nouveau_boa0b5.c | 42 struct nvif_push *push = chan->chan.push; in nve0_bo_move_copy() local 45 ret = PUSH_WAIT(push, 10); in nve0_bo_move_copy() 49 PUSH_MTHD(push, NVA0B5, OFFSET_IN_UPPER, in nve0_bo_move_copy() 63 PUSH_IMMD(push, NVA0B5, LAUNCH_DMA, in nve0_bo_move_copy() 81 struct nvif_push *push = chan->chan.push; in nve0_bo_move_init() local 84 ret = PUSH_WAIT(push, 2); in nve0_bo_move_init() 88 PUSH_NVSQ(push, NVA0B5, 0x0000, handle & 0x0000ffff); in nve0_bo_move_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/ |
D | wndwc37e.c | 43 struct nvif_push *push = wndw->wndw.push; in wndwc37e_csc_set() local 46 if ((ret = PUSH_WAIT(push, 13))) in wndwc37e_csc_set() 49 PUSH_MTHD(push, NVC37E, SET_CSC_RED2RED, asyw->csc.matrix, 12); in wndwc37e_csc_set() 56 struct nvif_push *push = wndw->wndw.push; in wndwc37e_ilut_clr() local 59 if ((ret = PUSH_WAIT(push, 2))) in wndwc37e_ilut_clr() 62 PUSH_MTHD(push, NVC37E, SET_CONTEXT_DMA_INPUT_LUT, 0x00000000); in wndwc37e_ilut_clr() 69 struct nvif_push *push = wndw->wndw.push; in wndwc37e_ilut_set() local 72 if ((ret = PUSH_WAIT(push, 4))) in wndwc37e_ilut_set() 75 PUSH_MTHD(push, NVC37E, SET_CONTROL_INPUT_LUT, in wndwc37e_ilut_set() 102 struct nvif_push *push = wndw->wndw.push; in wndwc37e_blend_set() local [all …]
|
D | base507c.c | 40 struct nvif_push *push = wndw->wndw.push; in base507c_update() local 43 if ((ret = PUSH_WAIT(push, 2))) in base507c_update() 46 PUSH_MTHD(push, NV507C, UPDATE, interlock[NV50_DISP_INTERLOCK_CORE]); in base507c_update() 47 return PUSH_KICK(push); in base507c_update() 53 struct nvif_push *push = wndw->wndw.push; in base507c_image_clr() local 56 if ((ret = PUSH_WAIT(push, 4))) in base507c_image_clr() 59 PUSH_MTHD(push, NV507C, SET_PRESENT_CONTROL, in base507c_image_clr() 63 PUSH_MTHD(push, NV507C, SET_CONTEXT_DMA_ISO, 0x00000000); in base507c_image_clr() 70 struct nvif_push *push = wndw->wndw.push; in base507c_image_set() local 73 if ((ret = PUSH_WAIT(push, 13))) in base507c_image_set() [all …]
|
D | head907d.c | 39 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in head907d_or() local 43 if ((ret = PUSH_WAIT(push, 3))) in head907d_or() 46 PUSH_MTHD(push, NV907D, HEAD_SET_CONTROL_OUTPUT_RESOURCE(i), in head907d_or() 60 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in head907d_procamp() local 64 if ((ret = PUSH_WAIT(push, 2))) in head907d_procamp() 67 PUSH_MTHD(push, NV907D, HEAD_SET_PROCAMP(i), in head907d_procamp() 80 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in head907d_dither() local 84 if ((ret = PUSH_WAIT(push, 2))) in head907d_dither() 87 PUSH_MTHD(push, NV907D, HEAD_SET_DITHER_CONTROL(i), in head907d_dither() 98 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in head907d_ovly() local [all …]
|
D | headc37d.c | 33 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in headc37d_or() local 52 if ((ret = PUSH_WAIT(push, 2))) in headc37d_or() 55 PUSH_MTHD(push, NVC37D, HEAD_SET_CONTROL_OUTPUT_RESOURCE(i), in headc37d_or() 67 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in headc37d_procamp() local 71 if ((ret = PUSH_WAIT(push, 2))) in headc37d_procamp() 74 PUSH_MTHD(push, NVC37D, HEAD_SET_PROCAMP(i), in headc37d_procamp() 88 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in headc37d_dither() local 92 if ((ret = PUSH_WAIT(push, 2))) in headc37d_dither() 95 PUSH_MTHD(push, NVC37D, HEAD_SET_DITHER_CONTROL(i), in headc37d_dither() 107 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in headc37d_curs_clr() local [all …]
|
D | head827d.c | 32 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in head827d_curs_clr() local 36 if ((ret = PUSH_WAIT(push, 4))) in head827d_curs_clr() 39 PUSH_MTHD(push, NV827D, HEAD_SET_CONTROL_CURSOR(i), in head827d_curs_clr() 44 PUSH_MTHD(push, NV827D, HEAD_SET_CONTEXT_DMA_CURSOR(i), 0x00000000); in head827d_curs_clr() 51 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in head827d_curs_set() local 55 if ((ret = PUSH_WAIT(push, 5))) in head827d_curs_set() 58 PUSH_MTHD(push, NV827D, HEAD_SET_CONTROL_CURSOR(i), in head827d_curs_set() 69 PUSH_MTHD(push, NV827D, HEAD_SET_CONTEXT_DMA_CURSOR(i), asyh->curs.handle); in head827d_curs_set() 76 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in head827d_core_set() local 80 if ((ret = PUSH_WAIT(push, 9))) in head827d_core_set() [all …]
|
D | head507d.c | 32 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in head507d_procamp() local 36 if ((ret = PUSH_WAIT(push, 2))) in head507d_procamp() 39 PUSH_MTHD(push, NV507D, HEAD_SET_PROCAMP(i), in head507d_procamp() 51 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in head507d_dither() local 55 if ((ret = PUSH_WAIT(push, 2))) in head507d_dither() 58 PUSH_MTHD(push, NV507D, HEAD_SET_DITHER_CONTROL(i), in head507d_dither() 69 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in head507d_ovly() local 87 if ((ret = PUSH_WAIT(push, 2))) in head507d_ovly() 90 PUSH_MTHD(push, NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS(i), bounds); in head507d_ovly() 97 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in head507d_base() local [all …]
|
D | base907c.c | 31 struct nvif_push *push = wndw->wndw.push; in base907c_image_set() local 34 if ((ret = PUSH_WAIT(push, 10))) in base907c_image_set() 37 PUSH_MTHD(push, NV907C, SET_PRESENT_CONTROL, in base907c_image_set() 42 PUSH_MTHD(push, NV907C, SET_CONTEXT_DMAS_ISO(0), asyw->image.handle, 1); in base907c_image_set() 44 PUSH_MTHD(push, NV907C, SURFACE_SET_OFFSET(0, 0), asyw->image.offset[0] >> 8, in base907c_image_set() 68 struct nvif_push *push = wndw->wndw.push; in base907c_xlut_clr() local 71 if ((ret = PUSH_WAIT(push, 6))) in base907c_xlut_clr() 74 PUSH_MTHD(push, NV907C, SET_BASE_LUT_LO, in base907c_xlut_clr() 77 PUSH_MTHD(push, NV907C, SET_OUTPUT_LUT_LO, in base907c_xlut_clr() 80 PUSH_MTHD(push, NV907C, SET_CONTEXT_DMA_LUT, 0x00000000); in base907c_xlut_clr() [all …]
|
D | wndwc57e.c | 37 struct nvif_push *push = wndw->wndw.push; in wndwc57e_image_set() local 40 if ((ret = PUSH_WAIT(push, 17))) in wndwc57e_image_set() 43 PUSH_MTHD(push, NVC57E, SET_PRESENT_CONTROL, in wndwc57e_image_set() 48 PUSH_MTHD(push, NVC57E, SET_SIZE, in wndwc57e_image_set() 66 PUSH_MTHD(push, NVC57E, SET_CONTEXT_DMA_ISO(0), asyw->image.handle, 1); in wndwc57e_image_set() 67 PUSH_MTHD(push, NVC57E, SET_OFFSET(0), asyw->image.offset[0] >> 8); in wndwc57e_image_set() 69 PUSH_MTHD(push, NVC57E, SET_POINT_IN(0), in wndwc57e_image_set() 73 PUSH_MTHD(push, NVC57E, SET_SIZE_IN, in wndwc57e_image_set() 77 PUSH_MTHD(push, NVC57E, SET_SIZE_OUT, in wndwc57e_image_set() 86 struct nvif_push *push = wndw->wndw.push; in wndwc57e_csc_clr() local [all …]
|
D | corec37d.c | 36 struct nvif_push *push = core->chan.push; in corec37d_wndw_owner() local 40 if ((ret = PUSH_WAIT(push, windows * 2))) in corec37d_wndw_owner() 44 PUSH_MTHD(push, NVC37D, WINDOW_SET_CONTROL(i), in corec37d_wndw_owner() 54 struct nvif_push *push = core->chan.push; in corec37d_update() local 57 if ((ret = PUSH_WAIT(push, 9))) in corec37d_update() 61 PUSH_MTHD(push, NVC37D, SET_NOTIFIER_CONTROL, in corec37d_update() 67 PUSH_MTHD(push, NVC37D, SET_INTERLOCK_FLAGS, interlock[NV50_DISP_INTERLOCK_CURS], in corec37d_update() 69 PUSH_MTHD(push, NVC37D, UPDATE, 0x00000001 | in corec37d_update() 74 PUSH_MTHD(push, NVC37D, SET_NOTIFIER_CONTROL, in corec37d_update() 78 return PUSH_KICK(push); in corec37d_update() [all …]
|
D | core507d.c | 36 struct nvif_push *push = core->chan.push; in core507d_update() local 39 if ((ret = PUSH_WAIT(push, 5))) in core507d_update() 43 PUSH_MTHD(push, NV507D, SET_NOTIFIER_CONTROL, in core507d_update() 49 PUSH_MTHD(push, NV507D, UPDATE, interlock[NV50_DISP_INTERLOCK_BASE] | in core507d_update() 58 return PUSH_KICK(push); in core507d_update() 83 struct nvif_push *push = disp->core->chan.push; in core507d_read_caps() local 86 ret = PUSH_WAIT(push, 6); in core507d_read_caps() 90 PUSH_MTHD(push, NV507D, SET_NOTIFIER_CONTROL, in core507d_read_caps() 95 PUSH_MTHD(push, NV507D, GET_CAPABILITIES, 0x00000000); in core507d_read_caps() 97 PUSH_MTHD(push, NV507D, SET_NOTIFIER_CONTROL, in core507d_read_caps() [all …]
|
D | headc57d.c | 33 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in headc57d_or() local 52 if ((ret = PUSH_WAIT(push, 2))) in headc57d_or() 55 PUSH_MTHD(push, NVC57D, HEAD_SET_CONTROL_OUTPUT_RESOURCE(i), in headc57d_or() 68 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in headc57d_procamp() local 72 if ((ret = PUSH_WAIT(push, 2))) in headc57d_procamp() 76 PUSH_MTHD(push, NVC57D, HEAD_SET_PROCAMP(i), in headc57d_procamp() 86 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in headc57d_olut_clr() local 90 if ((ret = PUSH_WAIT(push, 2))) in headc57d_olut_clr() 93 PUSH_MTHD(push, NVC57D, HEAD_SET_CONTEXT_DMA_OLUT(i), 0x00000000); in headc57d_olut_clr() 100 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in headc57d_olut_set() local [all …]
|
D | head917d.c | 33 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in head917d_dither() local 37 if ((ret = PUSH_WAIT(push, 2))) in head917d_dither() 40 PUSH_MTHD(push, NV917D, HEAD_SET_DITHER_CONTROL(i), in head917d_dither() 51 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in head917d_base() local 70 if ((ret = PUSH_WAIT(push, 2))) in head917d_base() 73 PUSH_MTHD(push, NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS(i), bounds); in head917d_base() 80 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; in head917d_curs_set() local 84 ret = PUSH_WAIT(push, 5); in head917d_curs_set() 88 PUSH_MTHD(push, NV917D, HEAD_SET_CONTROL_CURSOR(i), in head917d_curs_set() 98 PUSH_MTHD(push, NV917D, HEAD_SET_CONTEXT_DMA_CURSOR(i), asyh->curs.handle); in head917d_curs_set()
|
D | wimmc37b.c | 34 struct nvif_push *push = wndw->wimm.push; in wimmc37b_update() local 37 if ((ret = PUSH_WAIT(push, 2))) in wimmc37b_update() 40 PUSH_MTHD(push, NVC37B, UPDATE, 0x00000001 | in wimmc37b_update() 43 return PUSH_KICK(push); in wimmc37b_update() 49 struct nvif_push *push = wndw->wimm.push; in wimmc37b_point() local 52 if ((ret = PUSH_WAIT(push, 2))) in wimmc37b_point() 55 PUSH_MTHD(push, NVC37B, SET_POINT_OUT(0), in wimmc37b_point()
|
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/ |
D | vmenter.S | 45 push %_ASM_BP 48 push %r15 49 push %r14 50 push %r13 51 push %r12 53 push %edi 54 push %esi 56 push %_ASM_BX 59 push %_ASM_ARG1 62 push %_ASM_ARG3 [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/ |
D | handlers.S | 2 push %r15 3 push %r14 4 push %r13 5 push %r12 6 push %r11 7 push %r10 8 push %r9 9 push %r8 11 push %rdi 12 push %rsi [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/x86/ |
D | thunks_32.S | 22 push %ecx 23 push %edx 24 push %esi 25 push %edi 35 push $0x23 /* USER32_CS */ 36 .code32; push $1f; .code64 /* hack: can't have X86_64_32S relocation in 32-bit ELF */
|