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

1 2 3 4 5 6 7 8 910

  /src/sys/external/bsd/drm2/dist/drm/i915/display/
intel_pipe_crc.h 20 int intel_crtc_set_crc_source(struct drm_crtc *crtc, const char *source_name);
21 int intel_crtc_verify_crc_source(struct drm_crtc *crtc,
23 const char *const *intel_crtc_get_crc_sources(struct drm_crtc *crtc,
25 void intel_crtc_disable_pipe_crc(struct intel_crtc *crtc);
26 void intel_crtc_enable_pipe_crc(struct intel_crtc *crtc);
33 static inline void intel_crtc_disable_pipe_crc(struct intel_crtc *crtc)
37 static inline void intel_crtc_enable_pipe_crc(struct intel_crtc *crtc)
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_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/drm/
drm_crtc_helper.c 7 * DRM core CRTC related functions
63 * The CRTC modeset helper library provides a default set_config implementation
76 * to the CRTC state. For easier transition this library provides functions to
77 * implement the old semantics required by the CRTC helpers using the new plane
133 * drm_helper_crtc_in_use - check if a given CRTC is in a mode_config
134 * @crtc: CRTC to check
136 * Checks whether @crtc is with the current mode setting output configuration
141 * True if @crtc is used, false otherwise.
143 bool drm_helper_crtc_in_use(struct drm_crtc *crtc)
181 struct drm_crtc *crtc; local in function:__drm_helper_disable_unused_functions
880 struct drm_crtc *crtc = encoder ? encoder->crtc : NULL; local in function:drm_helper_connector_dpms
950 struct drm_crtc *crtc; local in function:drm_helper_resume_force_mode
1012 struct drm_crtc *crtc; local in function:drm_helper_force_disable_all
    [all...]
drm_crtc.c 8 * DRM core CRTC related functions
61 * A CRTC represents the overall display pipeline. It receives pixel data from
63 * to the CRTC, specifying display timings. On the output side the data is fed
67 * To create a CRTC, a KMS drivers allocates and zeroes an instances of
71 * The CRTC is also the entry point for legacy modeset operations, see
80 * drm_crtc_from_index - find the registered CRTC at an index
82 * @idx: index of registered CRTC to find for
84 * Given a CRTC index, return the registered CRTC from DRM device's
92 struct drm_crtc *crtc; local in function:drm_crtc_from_index
127 struct drm_crtc *crtc; local in function:drm_crtc_register_all
144 struct drm_crtc *crtc; local in function:drm_crtc_unregister_all
182 struct drm_crtc *crtc = fence_to_crtc(fence); local in function:drm_crtc_fence_get_driver_name
189 struct drm_crtc *crtc = fence_to_crtc(fence); local in function:drm_crtc_fence_get_timeline_name
369 struct drm_crtc *crtc; local in function:drm_mode_getcrtc
427 struct drm_crtc *crtc = set->crtc; local in function:__drm_mode_set_config_internal
536 struct drm_crtc *crtc; local in function:drm_mode_setcrtc
748 struct drm_crtc *crtc = obj_to_crtc(obj); local in function:drm_mode_crtc_set_obj_prop
    [all...]
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_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_plane_helper.c 46 * primary plane support on top of the normal CRTC configuration interface.
48 * plane together with the CRTC state this does not allow userspace to disable
70 * Returns the connectors currently associated with a CRTC. This function
74 static int get_connectors_for_crtc(struct drm_crtc *crtc,
78 struct drm_device *dev = crtc->dev;
92 if (connector->encoder && connector->encoder->crtc == crtc) {
105 struct drm_crtc *crtc,
118 .crtc = crtc,
    [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/include/drm/
drm_self_refresh_helper.h 21 int drm_self_refresh_helper_init(struct drm_crtc *crtc);
22 void drm_self_refresh_helper_cleanup(struct drm_crtc *crtc);
drm_vblank.h 94 * struct drm_vblank_crtc - vblank tracking for a CRTC
96 * This structure tracks the vblank state for one CRTC.
158 * Maximum value of the vblank registers for this crtc. This value +1
168 * This is the runtime configurable per-crtc maximum set through
216 * drivers not using atomic KMS, since those might go through their CRTC
223 u64 drm_crtc_vblank_count(struct drm_crtc *crtc);
224 u64 drm_crtc_vblank_count_and_time(struct drm_crtc *crtc,
226 void drm_crtc_send_vblank_event(struct drm_crtc *crtc,
228 void drm_crtc_arm_vblank_event(struct drm_crtc *crtc,
234 bool drm_crtc_handle_vblank(struct drm_crtc *crtc);
    [all...]
drm_crtc.h 85 * struct drm_crtc_state - mutable CRTC state
105 /** @crtc: backpointer to the CRTC */
106 struct drm_crtc *crtc; member in struct:drm_crtc_state
109 * @enable: Whether the CRTC should be enabled, gates all other state.
116 * @active: Whether the CRTC is actively displaying (used for DPMS).
125 * should be as much powered down as when the CRTC is completely
131 * @planes_changed: Planes on this crtc are updated. Used by the atomic
141 * Drivers are supposed to set this for any CRTC state changes that
156 * @connectors_changed: Connectors to this crtc have been updated
1135 struct drm_crtc *crtc; member in struct:drm_mode_set
    [all...]
drm_modeset_helper_vtables.h 60 * These hooks are used by the legacy CRTC helpers, the transitional plane
67 * Callback to control power levels on the CRTC. If the mode passed in
69 * This is used by the legacy CRTC helpers to implement DPMS
72 * This callback is also used to disable a CRTC by calling it with
75 * This callback is used by the legacy CRTC helpers. Atomic helpers
76 * also support using this hook for enabling and disabling a CRTC to
80 void (*dpms)(struct drm_crtc *crtc, int mode);
85 * This callback should prepare the CRTC for a subsequent modeset, which
86 * in practice means the driver should disable the CRTC if it is
90 * This callback is used by the legacy CRTC helpers. Atomic helper
    [all...]
drm_atomic_state_helper.h 43 struct drm_crtc *crtc);
44 void __drm_atomic_helper_crtc_reset(struct drm_crtc *crtc,
46 void drm_atomic_helper_crtc_reset(struct drm_crtc *crtc);
47 void __drm_atomic_helper_crtc_duplicate_state(struct drm_crtc *crtc,
50 drm_atomic_helper_crtc_duplicate_state(struct drm_crtc *crtc);
52 void drm_atomic_helper_crtc_destroy_state(struct drm_crtc *crtc,
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_pll.h 36 u32 amdgpu_pll_get_use_mask(struct drm_crtc *crtc);
37 int amdgpu_pll_get_shared_dp_ppll(struct drm_crtc *crtc);
38 int amdgpu_pll_get_shared_nondp_ppll(struct drm_crtc *crtc);
atombios_crtc.h 29 void amdgpu_atombios_crtc_overscan_setup(struct drm_crtc *crtc,
32 void amdgpu_atombios_crtc_scaler_setup(struct drm_crtc *crtc);
33 void amdgpu_atombios_crtc_lock(struct drm_crtc *crtc, int lock);
34 void amdgpu_atombios_crtc_enable(struct drm_crtc *crtc, int state);
35 void amdgpu_atombios_crtc_blank(struct drm_crtc *crtc, int state);
36 void amdgpu_atombios_crtc_powergate(struct drm_crtc *crtc, int state);
38 void amdgpu_atombios_crtc_set_dtd_timing(struct drm_crtc *crtc,
44 void amdgpu_atombios_crtc_program_pll(struct drm_crtc *crtc,
57 int amdgpu_atombios_crtc_prepare_pll(struct drm_crtc *crtc,
59 void amdgpu_atombios_crtc_set_pll(struct drm_crtc *crtc,
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/
amdgpu_dm_crc.h 52 int amdgpu_dm_crtc_configure_crc_source(struct drm_crtc *crtc,
55 int amdgpu_dm_crtc_set_crc_source(struct drm_crtc *crtc, const char *src_name);
56 int amdgpu_dm_crtc_verify_crc_source(struct drm_crtc *crtc,
59 const char *const *amdgpu_dm_crtc_get_crc_sources(struct drm_crtc *crtc,
61 void amdgpu_dm_crtc_handle_crc_irq(struct drm_crtc *crtc);
amdgpu_dm_crc.c 40 "crtc",
41 "crtc dither",
51 if (!strcmp(source, "auto") || !strcmp(source, "crtc"))
55 if (!strcmp(source, "crtc dither"))
82 const char *const *amdgpu_dm_crtc_get_crc_sources(struct drm_crtc *crtc,
90 amdgpu_dm_crtc_verify_crc_source(struct drm_crtc *crtc, const char *src_name,
96 DRM_DEBUG_DRIVER("Unknown CRC source %s for CRTC%d\n",
97 src_name, crtc->index);
105 int amdgpu_dm_crtc_configure_crc_source(struct drm_crtc *crtc,
109 struct amdgpu_device *adev = crtc->dev->dev_private
    [all...]
  /src/sys/external/bsd/drm/dist/shared-core/
mach64_irq.c 71 u32 mach64_get_vblank_counter(struct drm_device * dev, unsigned int crtc)
75 if (crtc != 0)
81 int mach64_enable_vblank(struct drm_device * dev, unsigned int crtc)
86 if (crtc != 0) {
87 DRM_ERROR("tried to enable vblank on non-existent crtc %d\n",
88 crtc);
101 void mach64_disable_vblank(struct drm_device * dev, unsigned int crtc)
103 if (crtc != 0) {
104 DRM_ERROR("tried to disable vblank on non-existent crtc %d\n",
105 crtc);
    [all...]
r128_irq.c 38 u32 r128_get_vblank_counter(struct drm_device *dev, unsigned int crtc)
42 if (crtc != 0)
66 int r128_enable_vblank(struct drm_device *dev, unsigned int crtc)
70 if (crtc != 0) {
71 DRM_ERROR("%s: bad crtc %d\n", __FUNCTION__, crtc);
79 void r128_disable_vblank(struct drm_device *dev, unsigned int crtc)
81 if (crtc != 0)
82 DRM_ERROR("%s: bad crtc %d\n", __FUNCTION__, crtc);
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/
nouveau_crtc.h 70 void (*save)(struct drm_crtc *crtc);
71 void (*restore)(struct drm_crtc *crtc);
74 static inline struct nouveau_crtc *nouveau_crtc(struct drm_crtc *crtc)
76 return crtc ? container_of(crtc, struct nouveau_crtc, base) : NULL;
79 static inline struct drm_crtc *to_drm_crtc(struct nouveau_crtc *crtc)
81 return &crtc->base;
  /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/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...]
  /src/sys/external/bsd/drm2/dist/drm/radeon/
radeon_cursor.c 37 static void radeon_lock_cursor(struct drm_crtc *crtc, bool lock)
39 struct radeon_device *rdev = crtc->dev->dev_private;
40 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc);
67 static void radeon_hide_cursor(struct drm_crtc *crtc)
69 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc);
70 struct radeon_device *rdev = crtc->dev->dev_private;
95 static void radeon_show_cursor(struct drm_crtc *crtc)
97 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc);
98 struct radeon_device *rdev = crtc->dev->dev_private;
149 static int radeon_cursor_move_locked(struct drm_crtc *crtc, int x, int y
    [all...]

Completed in 20 milliseconds

1 2 3 4 5 6 7 8 910