Home
last modified time | relevance | path

Searched full:disp (Results 1 – 25 of 513) sorted by relevance

12345678910>>...21

/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A DKbuild2 nvkm-y += nvkm/engine/disp/base.o
3 nvkm-y += nvkm/engine/disp/nv04.o
4 nvkm-y += nvkm/engine/disp/nv50.o
5 nvkm-y += nvkm/engine/disp/g84.o
6 nvkm-y += nvkm/engine/disp/g94.o
7 nvkm-y += nvkm/engine/disp/gt200.o
8 nvkm-y += nvkm/engine/disp/mcp77.o
9 nvkm-y += nvkm/engine/disp/gt215.o
10 nvkm-y += nvkm/engine/disp/mcp89.o
11 nvkm-y += nvkm/engine/disp/gf119.o
[all …]
H A Dbase.c45 struct nvkm_disp *disp = container_of(event, typeof(*disp), vblank); in nvkm_disp_vblank_fini() local
46 struct nvkm_head *head = nvkm_head_find(disp, id); in nvkm_disp_vblank_fini()
54 struct nvkm_disp *disp = container_of(event, typeof(*disp), vblank); in nvkm_disp_vblank_init() local
55 struct nvkm_head *head = nvkm_head_find(disp, id); in nvkm_disp_vblank_init()
64 struct nvkm_disp *disp = in nvkm_disp_vblank_ctor() local
65 container_of(notify->event, typeof(*disp), vblank); in nvkm_disp_vblank_ctor()
73 if (ret = -ENXIO, req->v0.head <= disp->vblank.index_nr) { in nvkm_disp_vblank_ctor()
91 nvkm_disp_vblank(struct nvkm_disp *disp, int head) in nvkm_disp_vblank() argument
94 nvkm_event_send(&disp->vblank, 1, head, &rep, sizeof(rep)); in nvkm_disp_vblank()
101 struct nvkm_disp *disp = in nvkm_disp_hpd_ctor() local
[all …]
H A Dnv50.c33 #include <subdev/bios/disp.h>
48 struct nv50_disp *disp = nv50_disp(base); in nv50_disp_intr_() local
49 disp->func->intr(disp); in nv50_disp_intr_()
55 struct nv50_disp *disp = nv50_disp(base); in nv50_disp_fini_() local
56 disp->func->fini(disp); in nv50_disp_fini_()
62 struct nv50_disp *disp = nv50_disp(base); in nv50_disp_init_() local
63 return disp->func->init(disp); in nv50_disp_init_()
69 struct nv50_disp *disp = nv50_disp(base); in nv50_disp_dtor_() local
71 nvkm_ramht_del(&disp->ramht); in nv50_disp_dtor_()
72 nvkm_gpuobj_del(&disp->inst); in nv50_disp_dtor_()
[all …]
H A Dgv100.c32 gv100_disp_wndw_cnt(struct nvkm_disp *disp, unsigned long *pmask) in gv100_disp_wndw_cnt() argument
34 struct nvkm_device *device = disp->engine.subdev.device; in gv100_disp_wndw_cnt()
42 struct nv50_disp *disp = in gv100_disp_super() local
44 struct nvkm_subdev *subdev = &disp->base.engine.subdev; in gv100_disp_super()
50 nvkm_debug(subdev, "supervisor %d: %08x\n", ffs(disp->super), stat); in gv100_disp_super()
51 list_for_each_entry(head, &disp->base.head, head) { in gv100_disp_super()
56 if (disp->super & 0x00000001) { in gv100_disp_super()
57 nv50_disp_chan_mthd(disp->chan[0], NV_DBG_DEBUG); in gv100_disp_super()
58 nv50_disp_super_1(disp); in gv100_disp_super()
59 list_for_each_entry(head, &disp->base.head, head) { in gv100_disp_super()
[all …]
H A Dgf119.c36 struct nv50_disp *disp = in gf119_disp_super() local
38 struct nvkm_subdev *subdev = &disp->base.engine.subdev; in gf119_disp_super()
43 nvkm_debug(subdev, "supervisor %d\n", ffs(disp->super)); in gf119_disp_super()
44 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_super()
49 if (disp->super & 0x00000001) { in gf119_disp_super()
50 nv50_disp_chan_mthd(disp->chan[0], NV_DBG_DEBUG); in gf119_disp_super()
51 nv50_disp_super_1(disp); in gf119_disp_super()
52 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_super()
55 nv50_disp_super_1_0(disp, head); in gf119_disp_super()
58 if (disp->super & 0x00000002) { in gf119_disp_super()
[all …]
H A Dchannv50.c38 nv50_disp_mthd_list(struct nv50_disp *disp, int debug, u32 base, int c, in nv50_disp_mthd_list() argument
41 struct nvkm_subdev *subdev = &disp->base.engine.subdev; in nv50_disp_mthd_list()
69 struct nv50_disp *disp = chan->disp; in nv50_disp_chan_mthd() local
70 struct nvkm_subdev *subdev = &disp->base.engine.subdev; in nv50_disp_chan_mthd()
100 nv50_disp_mthd_list(disp, debug, base, mthd->prev, in nv50_disp_chan_mthd()
109 struct nv50_disp *disp = container_of(event, typeof(*disp), uevent); in nv50_disp_chan_uevent_fini() local
110 struct nvkm_device *device = disp->base.engine.subdev.device; in nv50_disp_chan_uevent_fini()
118 struct nv50_disp *disp = container_of(event, typeof(*disp), uevent); in nv50_disp_chan_uevent_init() local
119 struct nvkm_device *device = disp->base.engine.subdev.device; in nv50_disp_chan_uevent_init()
125 nv50_disp_chan_uevent_send(struct nv50_disp *disp, int chid) in nv50_disp_chan_uevent_send() argument
[all …]
H A Drootnv50.c44 struct nv50_disp *disp = root->disp; in nv50_disp_root_mthd_() local
53 nvif_ioctl(object, "disp mthd size %d\n", size); in nv50_disp_root_mthd_()
55 nvif_ioctl(object, "disp mthd vers %d mthd %02x head %d\n", in nv50_disp_root_mthd_()
61 nvif_ioctl(object, "disp mthd vers %d mthd %02x " in nv50_disp_root_mthd_()
72 if (!(head = nvkm_head_find(&disp->base, hidx))) in nv50_disp_root_mthd_()
76 list_for_each_entry(temp, &disp->base.outp, head) { in nv50_disp_root_mthd_()
142 nvif_ioctl(object, "disp sor hda eld size %d\n", size); in nv50_disp_root_mthd_()
144 nvif_ioctl(object, "disp sor hda eld vers %d\n", in nv50_disp_root_mthd_()
176 nvif_ioctl(object, "disp sor hdmi ctrl size %d\n", size); in nv50_disp_root_mthd_()
178 nvif_ioctl(object, "disp sor hdmi ctrl vers %d state %d " in nv50_disp_root_mthd_()
[all …]
H A Dsorg94.c31 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_watermark()
40 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_activesym()
51 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_audio_sym()
60 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_drive()
78 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_pattern()
86 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_power()
105 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_links()
125 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_war_needed()
140 g94_sor_war_update_sppll1(struct nvkm_disp *disp) in g94_sor_war_update_sppll1() argument
142 struct nvkm_device *device = disp->engine.subdev.device; in g94_sor_war_update_sppll1()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/
H A DMakefile3 ccflags-y += -I $(srctree)/$(src)/disp/dpu1
34 disp/mdp_format.o \
35 disp/mdp_kms.o \
36 disp/mdp4/mdp4_crtc.o \
37 disp/mdp4/mdp4_dtv_encoder.o \
38 disp/mdp4/mdp4_lcdc_encoder.o \
39 disp/mdp4/mdp4_lvds_connector.o \
40 disp/mdp4/mdp4_irq.o \
41 disp/mdp4/mdp4_kms.o \
42 disp/mdp4/mdp4_plane.o \
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/xlnx/
H A Dzynqmp_disp.c142 * @disp: Back pointer to struct zynqmp_disp
152 struct zynqmp_disp *disp; member
942 * @disp: Display controller
947 void zynqmp_disp_handle_vblank(struct zynqmp_disp *disp) in zynqmp_disp_handle_vblank() argument
949 struct drm_crtc *crtc = &disp->crtc; in zynqmp_disp_handle_vblank()
956 * @disp: Display controller
962 bool zynqmp_disp_audio_enabled(struct zynqmp_disp *disp) in zynqmp_disp_audio_enabled() argument
964 return !!disp->audio.clk; in zynqmp_disp_audio_enabled()
969 * @disp: Display controller
973 unsigned int zynqmp_disp_get_audio_clk_rate(struct zynqmp_disp *disp) in zynqmp_disp_get_audio_clk_rate() argument
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/mediatek/
H A Dmediatek,disp.txt4 The Mediatek display subsystem consists of various DISP function blocks in the
10 All DISP device tree nodes must be siblings to the central MMSYS_CONFIG node.
14 DISP function blocks
19 interface, or writes pixels back to memory. All DISP function blocks have
29 - compatible: "mediatek,<chip>-disp-<function>", one of
30 "mediatek,<chip>-disp-ovl" - overlay (4 layers, blending, csc)
31 "mediatek,<chip>-disp-ovl-2l" - overlay (2 layers, blending, csc)
32 "mediatek,<chip>-disp-rdma" - read DMA / line buffer
33 "mediatek,<chip>-disp-wdma" - write DMA
34 "mediatek,<chip>-disp-ccorr" - color correction
[all …]
/OK3568_Linux_fs/u-boot/tools/
H A Dfdtgrep.c108 * @disp: Display structure, holding info about our options
114 static int value_add(struct display_info *disp, struct value_node **headp, in value_add() argument
127 disp->types_inc |= type; in value_add()
129 disp->types_exc |= type; in value_add()
130 if (disp->types_inc & disp->types_exc & type) { in value_add()
225 * @disp: Display structure, holding info about our options
230 static int display_fdt_by_regions(struct display_info *disp, const void *blob, in display_fdt_by_regions() argument
239 FILE *f = disp->fout; in display_fdt_by_regions()
245 if (disp->show_dts_version) in display_fdt_by_regions()
248 if (disp->header) { in display_fdt_by_regions()
[all …]
/OK3568_Linux_fs/kernel/scripts/dtc/
H A Dfdtput.c50 * @param disp Display information / options
56 static int encode_value(struct display_info *disp, char **arg, int arg_count, in encode_value() argument
69 if (disp->verbose) in encode_value()
73 fmt[1] = disp->type ? disp->type : 'd'; in encode_value()
77 if (disp->type == 's') in encode_value()
80 len = disp->size == -1 ? 4 : disp->size; in encode_value()
94 if (disp->type == 's') { in encode_value()
96 if (disp->verbose) in encode_value()
105 if (disp->verbose) { in encode_value()
107 disp->size == 1 ? "byte" : in encode_value()
[all …]
H A Dfdtget.c45 * If a specific data type is provided in disp, then this is used. Otherwise
48 * @param disp Display information / options
53 static int show_data(struct display_info *disp, const char *data, int len) in show_data() argument
66 is_string = (disp->type) == 's' || in show_data()
67 (!disp->type && util_is_printable_string(data, len)); in show_data()
80 size = disp->size; in show_data()
89 fmt[1] = disp->type ? disp->type : 'd'; in show_data()
187 * @param disp Display information / options
192 static int show_data_for_item(const void *blob, struct display_info *disp, in show_data_for_item() argument
198 switch (disp->mode) { in show_data_for_item()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/
H A Dnouveau_display.c94 struct nouveau_display *disp = nouveau_display(crtc->dev); in nouveau_display_scanoutpos_head() local
100 ret = nvif_mthd(&disp->disp.object, 0, &args, sizeof(args)); in nouveau_display_scanoutpos_head()
142 struct nouveau_display *disp = nouveau_display(drm->dev); in nouveau_decode_mod() local
157 modifier |= disp->format_modifiers[0] & (0xffull << 12); in nouveau_decode_mod()
201 struct nouveau_display *disp = nouveau_display(drm->dev); in nouveau_validate_decode_mod() local
208 BUG_ON(!disp->format_modifiers); in nouveau_validate_decode_mod()
211 (disp->format_modifiers[mod] != DRM_FORMAT_MOD_INVALID) && in nouveau_validate_decode_mod()
212 (disp->format_modifiers[mod] != modifier); in nouveau_validate_decode_mod()
215 if (disp->format_modifiers[mod] == DRM_FORMAT_MOD_INVALID) { in nouveau_validate_decode_mod()
570 struct nouveau_display *disp = nouveau_display(dev); in nouveau_display_init() local
[all …]
/OK3568_Linux_fs/kernel/drivers/video/
H A Dof_display_timing.c148 struct display_timings *disp; in of_get_display_timings() local
159 disp = kzalloc(sizeof(*disp), GFP_KERNEL); in of_get_display_timings()
160 if (!disp) { in of_get_display_timings()
161 pr_err("%pOF: could not allocate struct disp'\n", np); in of_get_display_timings()
179 disp->num_timings = of_get_child_count(timings_np); in of_get_display_timings()
180 if (disp->num_timings == 0) { in of_get_display_timings()
186 disp->timings = kcalloc(disp->num_timings, in of_get_display_timings()
189 if (!disp->timings) { in of_get_display_timings()
194 disp->num_timings = 0; in of_get_display_timings()
195 disp->native_mode = 0; in of_get_display_timings()
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/kernel/probes/
H A Dsimulate-insn.c107 int disp = bbl_displacement(opcode); in simulate_b_bl() local
113 instruction_pointer_set(regs, addr + disp); in simulate_b_bl()
119 int disp = 4; in simulate_b_cond() local
122 disp = bcond_displacement(opcode); in simulate_b_cond()
124 instruction_pointer_set(regs, addr + disp); in simulate_b_cond()
143 int disp = 4; in simulate_cbz_cbnz() local
147 disp = cbz_displacement(opcode); in simulate_cbz_cbnz()
150 disp = cbz_displacement(opcode); in simulate_cbz_cbnz()
152 instruction_pointer_set(regs, addr + disp); in simulate_cbz_cbnz()
158 int disp = 4; in simulate_tbz_tbnz() local
[all …]
/OK3568_Linux_fs/kernel/drivers/video/fbdev/mb862xx/
H A Dmb862xxfbdrv.c98 outreg(disp, GC_L0PAL0 + (regno * 4), val); in mb862xxfb_setcolreg()
214 /* disp off */ in mb862xxfb_set_par()
215 reg = inreg(disp, GC_DCM1); in mb862xxfb_set_par()
217 outreg(disp, GC_DCM1, reg); in mb862xxfb_set_par()
221 reg = inreg(disp, GC_DCM1); in mb862xxfb_set_par()
224 outreg(disp, GC_DCM1, reg); in mb862xxfb_set_par()
227 /* disp dimension, format */ in mb862xxfb_set_par()
232 outreg(disp, GC_L0M, reg); in mb862xxfb_set_par()
235 reg = inreg(disp, GC_L0EM); in mb862xxfb_set_par()
236 outreg(disp, GC_L0EM, reg | GC_L0EM_L0EC_24); in mb862xxfb_set_par()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/
H A Ddisplay.c74 static int drm_display_init(struct display *disp) in drm_display_init() argument
77 if (drmInit(&disp->dev)) { in drm_display_init()
82 for (int i = 0; i < disp->buf_cnt; i++) { in drm_display_init()
83 ret = drmGetBuffer(disp->dev.drm_fd, disp->width, disp->height, disp->fmt, &disp->buf[i]); in drm_display_init()
163 static void drm_display_exit(struct display *disp) in drm_display_exit() argument
165 drmDeinit(&disp->dev); in drm_display_exit()
166 for (int i = 0; i < disp->buf_cnt; i++) in drm_display_exit()
167 drmPutBuffer(disp->dev.drm_fd, &disp->buf[i]); in drm_display_exit()
179 void drm_commit(struct display *disp, int num, void *ptr, int fd, int fmt, int w, int h, int rotati… in drm_commit() argument
183 char *map = disp->buf[num].map; in drm_commit()
[all …]
/OK3568_Linux_fs/kernel/arch/s390/include/asm/
H A Dvx-insn.h261 .macro VLVG v, gr, disp, m
266 .word (b2 << 12) | (\disp)
292 .macro VL v, disp, index="%r0", base
297 .word (b2 << 12) | (\disp)
302 .macro VLEx vr1, disp, index="%r0", base, m3, opc
307 .word (b2 << 12) | (\disp)
310 .macro VLEB vr1, disp, index="%r0", base, m3
311 VLEx \vr1, \disp, \index, \base, \m3, 0x00
313 .macro VLEH vr1, disp, index="%r0", base, m3
314 VLEx \vr1, \disp, \index, \base, \m3, 0x01
[all …]
H A Dnospec-insn.h92 .macro __DECODE_DRR expand,disp,reg,ruse
98 \expand \disp,\r1,\r2
129 .macro __THUNK_EX_BC disp,reg,ruse
138 556: b \disp(\reg)
147 .macro GEN_B_THUNK disp,reg,ruse=%r1
148 __DECODE_DRR __THUNK_PROLOG_BC,\disp,\reg,\ruse
149 __THUNK_EX_BC \disp,\reg,\ruse
160 .macro B_EX disp,reg,ruse=%r1
161 558: __DECODE_DRR __THUNK_BC,\disp,\reg,\ruse
178 .macro GEN_B_THUNK disp,reg,ruse=%r1
[all …]
/OK3568_Linux_fs/u-boot/drivers/video/
H A Dipu_disp.c794 * @param disp The DI the panel is attached to.
828 int32_t ipu_init_sync_panel(int disp, uint32_t pixel_clk, in ipu_init_sync_panel() argument
861 if (!(g_di1_tvout && (disp == 1))) { /*not round div for tvout*/ in ipu_init_sync_panel()
868 di_parent = clk_get_parent(g_di_clk[disp]); in ipu_init_sync_panel()
870 clk_round_rate(g_pixel_clk[disp], in ipu_init_sync_panel()
881 clk_set_rate(g_di_clk[disp], in ipu_init_sync_panel()
886 clk_set_parent(g_pixel_clk[disp], g_ldb_clk); in ipu_init_sync_panel()
888 if (clk_get_usecount(g_pixel_clk[disp]) != 0) in ipu_init_sync_panel()
889 clk_set_parent(g_pixel_clk[disp], g_ipu_clk); in ipu_init_sync_panel()
891 rounded_pixel_clk = clk_round_rate(g_pixel_clk[disp], pixel_clk); in ipu_init_sync_panel()
[all …]
H A Dtegra.c32 struct disp_ctlr *disp; /* Display controller to use */ member
100 static int update_display_mode(struct dc_disp_reg *disp, in update_display_mode() argument
108 writel(0x0, &disp->disp_timing_opt); in update_display_mode()
110 writel(1 | 1 << 16, &disp->ref_to_sync); in update_display_mode()
111 writel(dt->hsync_len.typ | dt->vsync_len.typ << 16, &disp->sync_width); in update_display_mode()
113 &disp->back_porch); in update_display_mode()
115 &disp->front_porch); in update_display_mode()
116 writel(dt->hactive.typ | (dt->vactive.typ << 16), &disp->disp_active); in update_display_mode()
120 writel(val, &disp->data_enable_opt); in update_display_mode()
125 writel(val, &disp->disp_interface_ctrl); in update_display_mode()
[all …]
/OK3568_Linux_fs/external/gstreamer-rockchip/gst/rkximage/
H A Dximagesink.h41 * @disp: the X11 Display of this context
42 * @screen: the default Screen of Display @disp
45 * @root: the root Window of Display @disp
48 * @depth: the color depth of Display @disp
49 * @bpp: the number of bits per pixel on Display @disp
50 * @endianness: the endianness of image bytes on Display @disp
51 * @width: the width in pixels of Display @disp
52 * @height: the height in pixels of Display @disp
53 * @widthmm: the width in millimeters of Display @disp
54 * @heightmm: the height in millimeters of Display @disp
[all …]
/OK3568_Linux_fs/u-boot/drivers/video/tegra124/
H A Ddisplay.c61 writel(0x1, &disp_ctrl->disp.disp_timing_opt); in update_display_mode()
64 &disp_ctrl->disp.ref_to_sync); in update_display_mode()
67 &disp_ctrl->disp.sync_width); in update_display_mode()
70 timing->hback_porch.typ, &disp_ctrl->disp.back_porch); in update_display_mode()
73 timing->hfront_porch.typ, &disp_ctrl->disp.front_porch); in update_display_mode()
76 &disp_ctrl->disp.disp_active); in update_display_mode()
93 &disp_ctrl->disp.disp_clk_ctrl); in update_display_mode()
165 dc_reg_ctx[i++] = readl(&disp_ctrl->disp.ref_to_sync); in tegra_dc_sor_disable_win_short_raster()
167 &disp_ctrl->disp.ref_to_sync); in tegra_dc_sor_disable_win_short_raster()
169 dc_reg_ctx[i++] = readl(&disp_ctrl->disp.sync_width); in tegra_dc_sor_disable_win_short_raster()
[all …]

12345678910>>...21