HomeSort by: relevance | last modified time | path
    Searched defs:crtc (Results 1 - 25 of 136) sorted by relevancy

1 2 3 4 5 6

  /src/sys/arch/x68k/dev/
grf_gv.c 138 volatile struct crtc *crtc = &IODEVbase->io_crtc; local in function:gv_mode
139 /* Reset CRTC, set dwidth and dheight accordingly */
140 crtc->r20 = (crtc->r20 & 0xFF00) | 0x1a;
141 crtc->r08 = 0x1b;
142 crtc->r07 = 0x19c;
143 crtc->r06 = 0x1c;
144 crtc->r05 = 0x02;
145 crtc->r04 = 0x019f
    [all...]
grf_tv.c 138 volatile struct crtc *crtc = &IODEVbase->io_crtc; local in function:cc_mode
139 /* Reset CRTC, set dwidth and dheight accordingly */
140 crtc->r20 = (crtc->r20 & 0xFF00) | 0x1a;
141 crtc->r08 = 0x1b;
142 crtc->r07 = 0x19c;
143 crtc->r06 = 0x1c;
144 crtc->r05 = 0x02;
145 crtc->r04 = 0x019f
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce80/
amdgpu_dce80_hw_sequencer.c 45 uint32_t crtc; member in struct:dce80_hw_seq_reg_offsets
50 .crtc = (mmCRTC0_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
53 .crtc = (mmCRTC1_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
56 .crtc = (mmCRTC2_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
59 .crtc = (mmCRTC3_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
62 .crtc = (mmCRTC4_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
65 .crtc = (mmCRTC5_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
70 (reg + reg_offsets[id].crtc)
  /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/
nouveau_dispnv04_cursor.c 36 crtc_wr_cio_state(struct drm_crtc *crtc, struct nv04_crtc_reg *crtcstate, int index)
38 NVWriteVgaCrtc(crtc->dev, nouveau_crtc(crtc)->index, index,
39 crtcstate->CRTC[index]);
48 struct drm_crtc *crtc = &nv_crtc->base; local in function:nv04_cursor_set_offset
50 regp->CRTC[NV_CIO_CRE_HCUR_ADDR0_INDEX] =
53 regp->CRTC[NV_CIO_CRE_HCUR_ADDR1_INDEX] =
55 if (crtc->mode.flags & DRM_MODE_FLAG_DBLSCAN)
56 regp->CRTC[NV_CIO_CRE_HCUR_ADDR1_INDEX] |=
58 regp->CRTC[NV_CIO_CRE_HCUR_ADDR2_INDEX] = offset >> 24
    [all...]
nouveau_dispnv04_disp.c 45 struct drm_crtc *crtc; local in function:nv04_display_fini
59 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
62 nouveau_fb = nouveau_framebuffer(crtc->primary->fb);
69 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
70 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc);
85 struct drm_crtc *crtc; local in function:nv04_display_init
96 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
97 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc);
111 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
114 nouveau_fb = nouveau_framebuffer(crtc->primary->fb)
201 struct nouveau_crtc *crtc; local in function:nv04_display_create
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce100/
amdgpu_dce100_hw_sequencer.c 45 uint32_t crtc; member in struct:dce100_hw_seq_reg_offsets
50 .crtc = (mmCRTC0_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
53 .crtc = (mmCRTC1_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
56 .crtc = (mmCRTC2_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
59 .crtc = (mmCRTC3_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
62 .crtc = (mmCRTC4_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
65 .crtc = (mmCRTC5_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
70 (reg + reg_offsets[id].crtc)
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce112/
amdgpu_dce112_hw_sequencer.c 43 uint32_t crtc; member in struct:dce112_hw_seq_reg_offsets
49 .crtc = (mmCRTC0_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
52 .crtc = (mmCRTC1_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
55 .crtc = (mmCRTC2_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
58 .crtc = (mmCRTC3_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
61 .crtc = (mmCRTC4_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
64 .crtc = (mmCRTC5_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL),
68 (reg + reg_offsets[id].crtc)
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce120/
amdgpu_dce120_hw_sequencer.c 55 uint32_t crtc; member in struct:dce120_hw_seq_reg_offsets
60 .crtc = (mmCRTC0_CRTC_GSL_CONTROL - mmCRTC0_CRTC_GSL_CONTROL),
63 .crtc = (mmCRTC1_CRTC_GSL_CONTROL - mmCRTC0_CRTC_GSL_CONTROL),
66 .crtc = (mmCRTC2_CRTC_GSL_CONTROL - mmCRTC0_CRTC_GSL_CONTROL),
69 .crtc = (mmCRTC3_CRTC_GSL_CONTROL - mmCRTC0_CRTC_GSL_CONTROL),
72 .crtc = (mmCRTC4_CRTC_GSL_CONTROL - mmCRTC0_CRTC_GSL_CONTROL),
75 .crtc = (mmCRTC5_CRTC_GSL_CONTROL - mmCRTC0_CRTC_GSL_CONTROL),
80 (reg + reg_offsets[id].crtc)
  /src/sys/external/bsd/drm2/dist/drm/
drm_encoder.c 40 * Encoders represent the connecting element between the CRTC (as the overall
43 * pixel data from a CRTC and converts it to a format suitable for any attached
45 * userspace to infer cloning and connector/CRTC restrictions. Unfortunately
52 * userspace directly connects a connector with a CRTC), drivers are therefore
209 return connector->state->crtc;
217 return encoder->crtc;
225 struct drm_crtc *crtc; local in function:drm_mode_getencoder
235 crtc = drm_encoder_get_crtc(encoder);
236 if (crtc && drm_lease_held(file_priv, crtc->base.id)
    [all...]
drm_modeset_lock.c 180 struct drm_crtc *crtc; local in function:drm_warn_on_modeset_not_all_locked
186 drm_for_each_crtc(crtc, dev)
187 WARN_ON(!drm_modeset_is_locked(&crtc->mutex));
404 struct drm_crtc *crtc; local in function:drm_modeset_lock_all_ctx
412 drm_for_each_crtc(crtc, dev) {
413 ret = drm_modeset_lock(&crtc->mutex, ctx);
drm_self_refresh_helper.c 41 * Once a crtc has enabled SR using &drm_self_refresh_helper_init, the
44 * on/off request with &drm_crtc_state.self_refresh_active set in crtc state
47 * During SR, drivers may choose to fully disable their crtc/encoder/bridge
53 * pipe that is in SR mode. If a crtc is driving multiple connectors, all
56 * If the crtc and connector are SR aware, but the panel connected does not
66 struct drm_crtc *crtc; member in struct:drm_self_refresh_data
79 struct drm_crtc *crtc = sr_data->crtc; local in function:drm_self_refresh_helper_entry_work
80 struct drm_device *dev = crtc->dev;
99 crtc_state = drm_atomic_get_crtc_state(state, crtc);
156 struct drm_crtc *crtc; local in function:drm_self_refresh_helper_update_avg_times
196 struct drm_crtc *crtc; local in function:drm_self_refresh_helper_alter_state
    [all...]
drm_blend.c 49 * rectangle in the visible area of a &drm_crtc. The visible area of a CRTC is
88 * area of the current mode of the CRTC. It must be apprpriately clipped by the
192 * plane or the CRTC (e.g. for the background color, which currently is not
343 * should be set to 0 and max to maximal number of planes for given crtc - 1.
432 static int drm_atomic_helper_crtc_normalize_zpos(struct drm_crtc *crtc,
436 struct drm_device *dev = crtc->dev;
443 DRM_DEBUG_ATOMIC("[CRTC:%d:%s] calculating normalized zpos values\n",
444 crtc->base.id, crtc->name);
491 * For every CRTC this function checks new states of all planes assigned t
504 struct drm_crtc *crtc; local in function:drm_atomic_normalize_zpos
    [all...]
drm_color_mgmt.c 152 * @crtc: DRM CRTC
158 * properties on a CRTC. This includes 3 degamma, csc and gamma
168 void drm_crtc_enable_color_mgmt(struct drm_crtc *crtc,
173 struct drm_device *dev = crtc->dev;
177 drm_object_attach_property(&crtc->base,
179 drm_object_attach_property(&crtc->base,
185 drm_object_attach_property(&crtc->base,
189 drm_object_attach_property(&crtc->base,
191 drm_object_attach_property(&crtc->base
257 struct drm_crtc *crtc; local in function:drm_mode_gamma_set_ioctl
326 struct drm_crtc *crtc; local in function:drm_mode_gamma_get_ioctl
    [all...]
drm_debugfs_crc.c 53 * Userspace can control generation of CRCs in a given CRTC by writing to the
54 * file dri/0/crtc-N/crc/control in debugfs, with N being the index of the CRTC.
57 * for this CRTC.
60 * the dri/0/crtc-N/crc/data file. Each line in that file contains the frame
90 struct drm_crtc *crtc = m->private; local in function:crc_control_show
92 if (crtc->funcs->get_crc_sources) {
94 const char *const *sources = crtc->funcs->get_crc_sources(crtc,
103 if (!crtc->funcs->verify_crc_source(crtc, sources[i]
120 struct drm_crtc *crtc = inode->i_private; local in function:crc_control_open
129 struct drm_crtc *crtc = m->private; local in function:crc_control_write
200 struct drm_crtc *crtc = inode->i_private; local in function:crtc_crc_open
263 struct drm_crtc *crtc = filep->f_inode->i_private; local in function:crtc_crc_release
290 struct drm_crtc *crtc = filep->f_inode->i_private; local in function:crtc_crc_read
349 struct drm_crtc *crtc = file->f_inode->i_private; local in function:crtc_crc_poll
    [all...]
drm_mode_config.c 89 * them to the user, including CRTC, connector and framebuffer configuration.
102 struct drm_crtc *crtc; local in function:drm_mode_getresources
135 drm_for_each_crtc(crtc, dev) {
136 if (drm_lease_held(file_priv, crtc->base.id)) {
138 put_user(crtc->base.id, crtc_id + count))
183 * This functions calls all the crtc's, encoder's and connector's ->reset
189 struct drm_crtc *crtc; local in function:drm_mode_config_reset
199 drm_for_each_crtc(crtc, dev)
200 if (crtc->funcs->reset)
201 crtc->funcs->reset(crtc)
471 struct drm_crtc *crtc, *ct; local in function:drm_mode_config_cleanup
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/display/
intel_dsb.c 46 struct intel_crtc *crtc = container_of(dsb, typeof(*crtc), dsb); local in function:is_dsb_busy
47 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);
48 enum pipe pipe = crtc->pipe;
55 struct intel_crtc *crtc = container_of(dsb, typeof(*crtc), dsb); local in function:intel_dsb_enable_engine
56 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);
57 enum pipe pipe = crtc->pipe;
75 struct intel_crtc *crtc = container_of(dsb, typeof(*crtc), dsb) local in function:intel_dsb_disable_engine
169 struct intel_crtc *crtc = container_of(dsb, typeof(*crtc), dsb); local in function:intel_dsb_put
202 struct intel_crtc *crtc = container_of(dsb, typeof(*crtc), dsb); local in function:intel_dsb_indexed_reg_write
277 struct intel_crtc *crtc = container_of(dsb, typeof(*crtc), dsb); local in function:intel_dsb_reg_write
307 struct intel_crtc *crtc = container_of(dsb, typeof(*crtc), dsb); local in function:intel_dsb_commit
    [all...]
intel_atomic_plane.c 169 struct intel_crtc *crtc = to_intel_crtc(plane_state->hw.crtc); local in function:intel_plane_calc_min_cdclk
175 crtc_state = intel_atomic_get_new_crtc_state(state, crtc);
187 * safe as long we hold at least one crtc mutex (which
214 plane_state->hw.crtc = from_plane_state->uapi.crtc;
246 if (!new_plane_state->hw.crtc && !old_plane_state->hw.crtc)
279 if (new_plane_state->uapi.crtc)
280 return to_intel_crtc(new_plane_state->uapi.crtc);
295 struct intel_crtc *crtc = local in function:intel_plane_atomic_check
361 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); local in function:intel_update_plane
370 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); local in function:intel_disable_plane
    [all...]
intel_fifo_underrun.c 62 struct intel_crtc *crtc; local in function:ivb_can_enable_err_int
68 crtc = intel_get_crtc_for_pipe(dev_priv, pipe);
70 if (crtc->cpu_fifo_underrun_disabled)
81 struct intel_crtc *crtc; local in function:cpt_can_enable_serr_int
86 crtc = intel_get_crtc_for_pipe(dev_priv, pipe);
88 if (crtc->pch_fifo_underrun_disabled)
95 static void i9xx_check_fifo_underruns(struct intel_crtc *crtc)
97 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);
98 i915_reg_t reg = PIPESTAT(crtc->pipe);
106 enable_mask = i915_pipestat_enable_mask(dev_priv, crtc->pipe)
261 struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); local in function:__intel_set_cpu_fifo_underrun_reporting
329 struct intel_crtc *crtc = local in function:intel_set_pch_fifo_underrun_reporting
373 struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); local in function:intel_cpu_fifo_underrun_irq_handler
424 struct intel_crtc *crtc; local in function:intel_check_cpu_fifo_underruns
451 struct intel_crtc *crtc; local in function:intel_check_pch_fifo_underruns
    [all...]
  /src/sys/external/bsd/drm2/dist/include/drm/
drm_encoder.h 142 * @possible_crtcs: Bitmask of potential CRTC bindings, using
149 * Note that since CRTC objects can't be hotplugged the assigned indices
172 * @crtc: Currently bound CRTC, only really meaningful for non-atomic
174 * &drm_connector_state.crtc.
176 struct drm_crtc *crtc; member in struct:drm_encoder
220 * drm_encoder_crtc_ok - can a given crtc drive a given encoder?
222 * @crtc: crtc to test
224 * Returns false if @encoder can't be driven by @crtc, true otherwise
    [all...]
  /src/sys/arch/arm/nxp/
imx6_dwhdmi.c 137 struct drm_crtc *crtc; local in function:imx6_dwhdmi_ep_activate
152 crtc = fdt_endpoint_get_data(in_ep);
155 crtc = NULL;
159 if (crtc == NULL)
162 sc->sc_encoder.possible_crtcs = 3; // 1U << drm_crtc_index(crtc); /* XXX */
163 drm_encoder_init(crtc->dev, &sc->sc_encoder, &imx6_dwhdmi_encoder_funcs,
  /src/sys/external/bsd/drm/dist/bsd-core/
drm_irq.c 114 DRM_DEBUG("disabling vblank on crtc %d\n", i);
166 /* Zero per-crtc vblank stuff */
304 u32 drm_vblank_count(struct drm_device *dev, unsigned int crtc)
306 return atomic_read(&dev->vblank[crtc].count);
309 static void drm_update_vblank_count(struct drm_device *dev, unsigned int crtc)
320 cur_vblank = dev->driver->get_vblank_counter(dev, crtc);
321 diff = cur_vblank - dev->vblank[crtc].last;
322 if (cur_vblank < dev->vblank[crtc].last) {
326 crtc, dev->vblank[crtc].last, cur_vblank, diff)
382 unsigned int crtc; local in function:drm_modeset_ctl
433 unsigned int flags, seq, crtc; local in function:drm_wait_vblank
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/
nouveau_encoder.h 53 /* different to drm_encoder.crtc, this reflects what's
54 * actually programmed on the hw, not the proposed crtc */
55 struct drm_crtc *crtc; member in struct:nouveau_encoder
  /src/sys/external/bsd/drm2/dist/drm/radeon/
radeon_kms.c 236 struct drm_crtc *crtc; local in function:radeon_info_ioctl
266 crtc = (struct drm_crtc *)minfo->crtcs[i];
267 if (crtc && crtc->base.id == *value) {
268 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc);
275 DRM_DEBUG_KMS("unknown crtc id %d\n", *value);
756 * @pipe: crtc to get the frame count from
758 * Gets the frame count on the requested crtc (all asics).
768 DRM_ERROR("Invalid crtc %u\n", pipe);
801 DRM_DEBUG_VBL("crtc %u: dist from vblank start %d\n"
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/xen/
xen_drm_front_kms.c 98 struct drm_crtc *crtc = &pipeline->pipe.crtc; local in function:send_pending_event
99 struct drm_device *dev = crtc->dev;
104 drm_crtc_send_vblank_event(crtc, pipeline->pending_event);
115 struct drm_crtc *crtc = &pipe->crtc; local in function:display_enable
119 if (!drm_dev_enter(pipe->crtc.dev, &idx))
122 ret = xen_drm_front_mode_set(pipeline, crtc->x, crtc->y,
141 if (drm_dev_enter(pipe->crtc.dev, &idx))
233 struct drm_crtc *crtc = &pipe->crtc; local in function:display_update
    [all...]
  /src/sys/arch/arm/rockchip/
rk_anxdp.c 115 const u_int crtc_index = drm_crtc_index(encoder->crtc);
138 struct drm_crtc *crtc; local in function:rk_anxdp_ep_activate
153 crtc = fdt_endpoint_get_data(in_ep);
161 drm_encoder_init(crtc->dev, &sc->sc_encoder, &rk_anxdp_encoder_funcs,

Completed in 24 milliseconds

1 2 3 4 5 6