Home
last modified time | relevance | path

Searched refs:drm_crtc (Results 1 – 25 of 367) sorted by relevance

12345678910>>...15

/linux-6.3-rc2/drivers/gpu/drm/logicvc/
A Dlogicvc_crtc.c29 logicvc_crtc_mode_valid(struct drm_crtc *drm_crtc, in logicvc_crtc_mode_valid() argument
38 static void logicvc_crtc_atomic_begin(struct drm_crtc *drm_crtc, in logicvc_crtc_atomic_begin() argument
56 drm_crtc->state->event = NULL; in logicvc_crtc_atomic_begin()
62 static void logicvc_crtc_atomic_enable(struct drm_crtc *drm_crtc, in logicvc_crtc_atomic_enable() argument
139 drm_crtc_vblank_on(drm_crtc); in logicvc_crtc_atomic_enable()
152 static void logicvc_crtc_atomic_disable(struct drm_crtc *drm_crtc, in logicvc_crtc_atomic_disable() argument
158 drm_crtc_vblank_off(drm_crtc); in logicvc_crtc_atomic_disable()
175 if (drm_crtc->state->event && !drm_crtc->state->active) { in logicvc_crtc_atomic_disable()
178 drm_crtc_send_vblank_event(drm_crtc, drm_crtc->state->event); in logicvc_crtc_atomic_disable()
191 static int logicvc_crtc_enable_vblank(struct drm_crtc *drm_crtc) in logicvc_crtc_enable_vblank() argument
[all …]
/linux-6.3-rc2/include/drm/
A Ddrm_crtc.h57 struct drm_crtc;
88 struct drm_crtc *crtc;
418 void (*reset)(struct drm_crtc *crtc);
509 void (*destroy)(struct drm_crtc *crtc);
581 int (*page_flip)(struct drm_crtc *crtc,
620 int (*set_property)(struct drm_crtc *crtc,
749 int (*late_register)(struct drm_crtc *crtc);
937 struct drm_crtc { struct
1200 struct drm_crtc *crtc; argument
1214 struct drm_crtc *crtc,
[all …]
A Ddrm_vblank.h36 struct drm_crtc;
230 u64 drm_crtc_vblank_count(struct drm_crtc *crtc);
235 void drm_crtc_arm_vblank_event(struct drm_crtc *crtc,
241 bool drm_crtc_handle_vblank(struct drm_crtc *crtc);
242 int drm_crtc_vblank_get(struct drm_crtc *crtc);
243 void drm_crtc_vblank_put(struct drm_crtc *crtc);
245 void drm_crtc_wait_one_vblank(struct drm_crtc *crtc);
246 void drm_crtc_vblank_off(struct drm_crtc *crtc);
247 void drm_crtc_vblank_reset(struct drm_crtc *crtc);
248 void drm_crtc_vblank_on(struct drm_crtc *crtc);
[all …]
A Ddrm_modeset_helper_vtables.h82 void (*dpms)(struct drm_crtc *crtc, int mode);
97 void (*prepare)(struct drm_crtc *crtc);
112 void (*commit)(struct drm_crtc *crtc);
191 bool (*mode_fixup)(struct drm_crtc *crtc,
235 void (*mode_set_nofb)(struct drm_crtc *crtc);
306 void (*disable)(struct drm_crtc *crtc);
358 int (*atomic_check)(struct drm_crtc *crtc,
379 void (*atomic_begin)(struct drm_crtc *crtc,
403 void (*atomic_flush)(struct drm_crtc *crtc,
425 void (*atomic_enable)(struct drm_crtc *crtc,
[all …]
A Ddrm_atomic_state_helper.h32 struct drm_crtc;
44 struct drm_crtc *crtc);
45 void __drm_atomic_helper_crtc_reset(struct drm_crtc *crtc,
47 void drm_atomic_helper_crtc_reset(struct drm_crtc *crtc);
48 void __drm_atomic_helper_crtc_duplicate_state(struct drm_crtc *crtc,
51 drm_atomic_helper_crtc_duplicate_state(struct drm_crtc *crtc);
53 void drm_atomic_helper_crtc_destroy_state(struct drm_crtc *crtc,
/linux-6.3-rc2/drivers/gpu/drm/gma500/
A Dgma_display.h51 bool (*pll_is_valid)(struct drm_crtc *crtc,
61 extern void gma_crtc_load_lut(struct drm_crtc *crtc);
63 extern void gma_crtc_prepare(struct drm_crtc *crtc);
64 extern void gma_crtc_commit(struct drm_crtc *crtc);
65 extern void gma_crtc_disable(struct drm_crtc *crtc);
66 extern void gma_crtc_destroy(struct drm_crtc *crtc);
67 extern int gma_crtc_page_flip(struct drm_crtc *crtc,
73 extern void gma_crtc_save(struct drm_crtc *crtc);
74 extern void gma_crtc_restore(struct drm_crtc *crtc);
85 extern bool gma_pll_is_valid(struct drm_crtc *crtc,
[all …]
/linux-6.3-rc2/drivers/gpu/drm/omapdrm/
A Domap_crtc.h16 struct drm_crtc;
23 struct videomode *omap_crtc_timings(struct drm_crtc *crtc);
24 enum omap_channel omap_crtc_channel(struct drm_crtc *crtc);
25 struct drm_crtc *omap_crtc_init(struct drm_device *dev,
28 int omap_crtc_wait_pending(struct drm_crtc *crtc);
29 void omap_crtc_error_irq(struct drm_crtc *crtc, u32 irqstatus);
30 void omap_crtc_vblank_irq(struct drm_crtc *crtc);
31 void omap_crtc_framedone_irq(struct drm_crtc *crtc, uint32_t irqstatus);
32 void omap_crtc_flush(struct drm_crtc *crtc);
A Domap_crtc.c31 struct drm_crtc base;
55 struct videomode *omap_crtc_timings(struct drm_crtc *crtc) in omap_crtc_timings()
61 enum omap_channel omap_crtc_channel(struct drm_crtc *crtc) in omap_crtc_channel()
67 static bool omap_crtc_is_pending(struct drm_crtc *crtc) in omap_crtc_is_pending()
80 int omap_crtc_wait_pending(struct drm_crtc *crtc) in omap_crtc_wait_pending()
278 void omap_crtc_vblank_irq(struct drm_crtc *crtc) in omap_crtc_vblank_irq()
336 void omap_crtc_flush(struct drm_crtc *crtc) in omap_crtc_flush()
423 static void omap_crtc_destroy(struct drm_crtc *crtc) in omap_crtc_destroy()
709 static void omap_crtc_reset(struct drm_crtc *crtc) in omap_crtc_reset()
724 omap_crtc_duplicate_state(struct drm_crtc *crtc) in omap_crtc_duplicate_state()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Datombios_crtc.h27 void amdgpu_atombios_crtc_overscan_setup(struct drm_crtc *crtc,
30 void amdgpu_atombios_crtc_scaler_setup(struct drm_crtc *crtc);
31 void amdgpu_atombios_crtc_lock(struct drm_crtc *crtc, int lock);
32 void amdgpu_atombios_crtc_enable(struct drm_crtc *crtc, int state);
33 void amdgpu_atombios_crtc_blank(struct drm_crtc *crtc, int state);
34 void amdgpu_atombios_crtc_powergate(struct drm_crtc *crtc, int state);
36 void amdgpu_atombios_crtc_set_dtd_timing(struct drm_crtc *crtc,
42 void amdgpu_atombios_crtc_program_pll(struct drm_crtc *crtc,
55 int amdgpu_atombios_crtc_prepare_pll(struct drm_crtc *crtc,
57 void amdgpu_atombios_crtc_set_pll(struct drm_crtc *crtc,
/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_crc.h29 struct drm_crtc;
63 struct drm_crtc *crtc;
78 int amdgpu_dm_crtc_configure_crc_source(struct drm_crtc *crtc,
81 int amdgpu_dm_crtc_set_crc_source(struct drm_crtc *crtc, const char *src_name);
82 int amdgpu_dm_crtc_verify_crc_source(struct drm_crtc *crtc,
85 const char *const *amdgpu_dm_crtc_get_crc_sources(struct drm_crtc *crtc,
87 void amdgpu_dm_crtc_handle_crc_irq(struct drm_crtc *crtc);
96 bool amdgpu_dm_crc_window_is_activated(struct drm_crtc *crtc);
97 void amdgpu_dm_crtc_handle_crc_window_irq(struct drm_crtc *crtc);
A Damdgpu_dm_crtc.c39 struct drm_crtc *crtc = &acrtc->base; in dm_crtc_handle_vblank()
73 int dm_set_vupdate_irq(struct drm_crtc *crtc, bool enable) in dm_set_vupdate_irq()
202 int dm_enable_vblank(struct drm_crtc *crtc) in dm_enable_vblank()
207 void dm_disable_vblank(struct drm_crtc *crtc) in dm_disable_vblank()
212 static void dm_crtc_destroy_state(struct drm_crtc *crtc, in dm_crtc_destroy_state()
262 static void amdgpu_dm_crtc_destroy(struct drm_crtc *crtc) in amdgpu_dm_crtc_destroy()
268 static void dm_crtc_reset_state(struct drm_crtc *crtc) in dm_crtc_reset_state()
283 static int amdgpu_dm_crtc_late_register(struct drm_crtc *crtc) in amdgpu_dm_crtc_late_register()
311 static void dm_crtc_helper_disable(struct drm_crtc *crtc) in dm_crtc_helper_disable()
362 static bool dm_crtc_helper_mode_fixup(struct drm_crtc *crtc, in dm_crtc_helper_mode_fixup()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_crtc.h112 struct drm_crtc *crtc;
157 struct drm_crtc base;
237 static inline int dpu_crtc_frame_pending(struct drm_crtc *crtc) in dpu_crtc_frame_pending()
247 int dpu_crtc_vblank(struct drm_crtc *crtc, bool en);
253 void dpu_crtc_vblank_callback(struct drm_crtc *crtc);
259 void dpu_crtc_commit_kickoff(struct drm_crtc *crtc);
265 void dpu_crtc_complete_commit(struct drm_crtc *crtc);
274 struct drm_crtc *dpu_crtc_init(struct drm_device *dev, struct drm_plane *plane,
285 struct drm_crtc *crtc_drm, u32 event, bool en);
291 enum dpu_intf_mode dpu_crtc_get_intf_mode(struct drm_crtc *crtc);
[all …]
/linux-6.3-rc2/drivers/gpu/drm/exynos/
A Dexynos_drm_crtc.c21 static void exynos_drm_crtc_atomic_enable(struct drm_crtc *crtc, in exynos_drm_crtc_atomic_enable()
32 static void exynos_drm_crtc_atomic_disable(struct drm_crtc *crtc, in exynos_drm_crtc_atomic_disable()
51 static int exynos_crtc_atomic_check(struct drm_crtc *crtc, in exynos_crtc_atomic_check()
67 static void exynos_crtc_atomic_begin(struct drm_crtc *crtc, in exynos_crtc_atomic_begin()
76 static void exynos_crtc_atomic_flush(struct drm_crtc *crtc, in exynos_crtc_atomic_flush()
96 static bool exynos_crtc_mode_fixup(struct drm_crtc *crtc, in exynos_crtc_mode_fixup()
122 struct drm_crtc *crtc = &exynos_crtc->base; in exynos_crtc_handle_event()
137 static void exynos_drm_crtc_destroy(struct drm_crtc *crtc) in exynos_drm_crtc_destroy()
181 struct drm_crtc *crtc; in exynos_drm_crtc_create()
212 struct drm_crtc *crtc; in exynos_drm_crtc_get_by_type()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/
A Di915_irq.h15 struct drm_crtc;
76 int i8xx_enable_vblank(struct drm_crtc *crtc);
77 int i915gm_enable_vblank(struct drm_crtc *crtc);
78 int i965_enable_vblank(struct drm_crtc *crtc);
79 int ilk_enable_vblank(struct drm_crtc *crtc);
80 int bdw_enable_vblank(struct drm_crtc *crtc);
81 void i8xx_disable_vblank(struct drm_crtc *crtc);
82 void i915gm_disable_vblank(struct drm_crtc *crtc);
83 void i965_disable_vblank(struct drm_crtc *crtc);
84 void ilk_disable_vblank(struct drm_crtc *crtc);
[all …]
/linux-6.3-rc2/drivers/gpu/drm/tilcdc/
A Dtilcdc_drv.h20 struct drm_crtc;
74 struct drm_crtc *crtc;
160 irqreturn_t tilcdc_crtc_irq(struct drm_crtc *crtc);
161 void tilcdc_crtc_update_clk(struct drm_crtc *crtc);
162 void tilcdc_crtc_set_panel_info(struct drm_crtc *crtc,
164 void tilcdc_crtc_set_simulate_vesa_sync(struct drm_crtc *crtc,
166 void tilcdc_crtc_shutdown(struct drm_crtc *crtc);
167 int tilcdc_crtc_update_fb(struct drm_crtc *crtc,
/linux-6.3-rc2/drivers/gpu/drm/sti/
A Dsti_crtc.c24 static void sti_crtc_atomic_enable(struct drm_crtc *crtc, in sti_crtc_atomic_enable()
36 static void sti_crtc_atomic_disable(struct drm_crtc *crtc, in sti_crtc_atomic_disable()
103 static void sti_crtc_disable(struct drm_crtc *crtc) in sti_crtc_disable()
129 sti_crtc_mode_set_nofb(struct drm_crtc *crtc) in sti_crtc_mode_set_nofb()
134 static void sti_crtc_atomic_flush(struct drm_crtc *crtc, in sti_crtc_atomic_flush()
228 static void sti_crtc_destroy(struct drm_crtc *crtc) in sti_crtc_destroy()
234 static int sti_crtc_set_property(struct drm_crtc *crtc, in sti_crtc_set_property()
246 struct drm_crtc *crtc = data; in sti_crtc_vblank_cb()
281 static int sti_crtc_enable_vblank(struct drm_crtc *crtc) in sti_crtc_enable_vblank()
339 bool sti_crtc_is_main(struct drm_crtc *crtc) in sti_crtc_is_main()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_kms.h192 struct drm_crtc *crtc;
360 struct drm_crtc crtc;
413 void vmw_du_crtc_save(struct drm_crtc *crtc);
414 void vmw_du_crtc_restore(struct drm_crtc *crtc);
415 int vmw_du_crtc_gamma_set(struct drm_crtc *crtc,
499 void vmw_du_crtc_reset(struct drm_crtc *crtc);
538 struct drm_crtc *crtc);
546 struct drm_crtc *crtc);
553 struct drm_crtc *crtc);
568 struct drm_crtc *crtc);
[all …]
/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_crtc.c89 struct drm_crtc *crtc; in drm_crtc_from_index()
113 struct drm_crtc *tmp; in drm_num_crtcs()
124 struct drm_crtc *crtc; in drm_crtc_register_all()
141 struct drm_crtc *crtc; in drm_crtc_unregister_all()
377 struct drm_crtc *crtc = ptr; in drmm_crtc_init_with_planes_cleanup()
384 struct drm_crtc *crtc, in __drmm_crtc_init_with_planes()
464 struct drm_crtc *crtc; in __drmm_crtc_alloc_with_planes()
543 struct drm_crtc *crtc; in drm_mode_getcrtc()
601 struct drm_crtc *crtc = set->crtc; in __drm_mode_set_config_internal()
603 struct drm_crtc *tmp; in __drm_mode_set_config_internal()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/vkms/
A Dvkms_crtc.c16 struct drm_crtc *crtc = &output->crtc; in vkms_vblank_simulate()
62 static int vkms_enable_vblank(struct drm_crtc *crtc) in vkms_enable_vblank()
79 static void vkms_disable_vblank(struct drm_crtc *crtc) in vkms_disable_vblank()
86 static bool vkms_get_vblank_timestamp(struct drm_crtc *crtc, in vkms_get_vblank_timestamp()
119 vkms_atomic_crtc_duplicate_state(struct drm_crtc *crtc) in vkms_atomic_crtc_duplicate_state()
149 static void vkms_atomic_crtc_reset(struct drm_crtc *crtc) in vkms_atomic_crtc_reset()
177 static int vkms_crtc_atomic_check(struct drm_crtc *crtc, in vkms_crtc_atomic_check()
225 static void vkms_crtc_atomic_enable(struct drm_crtc *crtc, in vkms_crtc_atomic_enable()
231 static void vkms_crtc_atomic_disable(struct drm_crtc *crtc, in vkms_crtc_atomic_disable()
237 static void vkms_crtc_atomic_begin(struct drm_crtc *crtc, in vkms_crtc_atomic_begin()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/msm/disp/mdp4/
A Dmdp4_crtc.c17 struct drm_crtc base;
62 static struct mdp4_kms *get_kms(struct drm_crtc *crtc) in get_kms()
76 static void crtc_flush(struct drm_crtc *crtc) in crtc_flush()
126 static void mdp4_crtc_destroy(struct drm_crtc *crtc) in mdp4_crtc_destroy()
156 struct drm_crtc *crtc; in setup_mixer()
177 static void blend_setup(struct drm_crtc *crtc) in blend_setup()
355 static void update_cursor(struct drm_crtc *crtc) in update_cursor()
501 struct drm_crtc *crtc = &mdp4_crtc->base; in mdp4_crtc_vblank_irq()
522 struct drm_crtc *crtc = &mdp4_crtc->base; in mdp4_crtc_err_irq()
550 uint32_t mdp4_crtc_vblank(struct drm_crtc *crtc) in mdp4_crtc_vblank()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/mgag200/
A Dmgag200_drv.h270 int (*pixpllc_atomic_check)(struct drm_crtc *crtc, struct drm_atomic_state *new_state);
277 void (*pixpllc_atomic_update)(struct drm_crtc *crtc, struct drm_atomic_state *old_state);
295 struct drm_crtc crtc;
364 struct drm_crtc;
392 enum drm_mode_status mgag200_crtc_helper_mode_valid(struct drm_crtc *crtc,
394 int mgag200_crtc_helper_atomic_check(struct drm_crtc *crtc, struct drm_atomic_state *new_state);
395 void mgag200_crtc_helper_atomic_flush(struct drm_crtc *crtc, struct drm_atomic_state *old_state);
396 void mgag200_crtc_helper_atomic_enable(struct drm_crtc *crtc, struct drm_atomic_state *old_state);
406 void mgag200_crtc_reset(struct drm_crtc *crtc);
407 struct drm_crtc_state *mgag200_crtc_atomic_duplicate_state(struct drm_crtc *crtc);
[all …]
/linux-6.3-rc2/drivers/gpu/drm/armada/
A Darmada_trace.h7 struct drm_crtc;
16 TP_PROTO(struct drm_crtc *crtc, u32 stat),
19 __field(struct drm_crtc *, crtc)
31 TP_PROTO(struct drm_plane *plane, struct drm_crtc *crtc,
38 __field(struct drm_crtc *, crtc)
71 TP_PROTO(struct drm_crtc *crtc, struct drm_plane *plane),
75 __field(struct drm_crtc *, crtc)
/linux-6.3-rc2/drivers/gpu/drm/nouveau/
A Dnouveau_crtc.h35 struct drm_crtc base;
69 void (*save)(struct drm_crtc *crtc);
70 void (*restore)(struct drm_crtc *crtc);
73 static inline struct nouveau_crtc *nouveau_crtc(struct drm_crtc *crtc) in nouveau_crtc()
78 static inline struct drm_crtc *to_drm_crtc(struct nouveau_crtc *crtc) in to_drm_crtc()
/linux-6.3-rc2/drivers/gpu/drm/imx/ipuv3/
A Dipuv3-crtc.c33 struct drm_crtc base;
49 static void ipu_crtc_atomic_enable(struct drm_crtc *crtc, in ipu_crtc_atomic_enable()
81 static void ipu_crtc_atomic_disable(struct drm_crtc *crtc, in ipu_crtc_atomic_disable()
110 static void imx_drm_crtc_reset(struct drm_crtc *crtc) in imx_drm_crtc_reset()
148 static int ipu_enable_vblank(struct drm_crtc *crtc) in ipu_enable_vblank()
157 static void ipu_disable_vblank(struct drm_crtc *crtc) in ipu_disable_vblank()
177 struct drm_crtc *crtc = &ipu_crtc->base; in ipu_irq_handler()
206 static bool ipu_crtc_mode_fixup(struct drm_crtc *crtc, in ipu_crtc_mode_fixup()
228 static int ipu_crtc_atomic_check(struct drm_crtc *crtc, in ipu_crtc_atomic_check()
241 static void ipu_crtc_atomic_begin(struct drm_crtc *crtc, in ipu_crtc_atomic_begin()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Dintel_vblank.h12 struct drm_crtc;
15 u32 i915_get_vblank_counter(struct drm_crtc *crtc);
16 u32 g4x_get_vblank_counter(struct drm_crtc *crtc);
17 bool intel_crtc_get_vblank_timestamp(struct drm_crtc *crtc, int *max_error,

Completed in 67 milliseconds

12345678910>>...15