Home
last modified time | relevance | path

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

12345678910>>...14

/kernel/linux/linux-5.10/include/drm/
Ddrm_crtc.h70 struct drm_crtc;
101 struct drm_crtc *crtc;
420 void (*reset)(struct drm_crtc *crtc);
443 int (*cursor_set)(struct drm_crtc *crtc, struct drm_file *file_priv,
465 int (*cursor_set2)(struct drm_crtc *crtc, struct drm_file *file_priv,
485 int (*cursor_move)(struct drm_crtc *crtc, int x, int y);
500 int (*gamma_set)(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b,
511 void (*destroy)(struct drm_crtc *crtc);
583 int (*page_flip)(struct drm_crtc *crtc,
602 int (*page_flip_target)(struct drm_crtc *crtc,
[all …]
Ddrm_vblank.h36 struct drm_crtc;
230 u64 drm_crtc_vblank_count(struct drm_crtc *crtc);
231 u64 drm_crtc_vblank_count_and_time(struct drm_crtc *crtc,
233 void drm_crtc_send_vblank_event(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);
[all …]
Ddrm_modeset_helper_vtables.h78 void (*dpms)(struct drm_crtc *crtc, int mode);
93 void (*prepare)(struct drm_crtc *crtc);
108 void (*commit)(struct drm_crtc *crtc);
141 enum drm_mode_status (*mode_valid)(struct drm_crtc *crtc,
187 bool (*mode_fixup)(struct drm_crtc *crtc,
206 int (*mode_set)(struct drm_crtc *crtc, struct drm_display_mode *mode,
231 void (*mode_set_nofb)(struct drm_crtc *crtc);
250 int (*mode_set_base)(struct drm_crtc *crtc, int x, int y,
267 int (*mode_set_base_atomic)(struct drm_crtc *crtc,
302 void (*disable)(struct drm_crtc *crtc);
[all …]
Ddrm_atomic_state_helper.h31 struct drm_crtc;
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,
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dgma_display.h43 bool (*find_pll)(const struct gma_limit_t *, struct drm_crtc *,
50 const struct gma_limit_t *(*limit)(struct drm_crtc *crtc, int refclk);
51 bool (*pll_is_valid)(struct drm_crtc *crtc,
57 extern bool gma_pipe_has_type(struct drm_crtc *crtc, int type);
59 extern int gma_pipe_set_base(struct drm_crtc *crtc, int x, int y,
61 extern int gma_crtc_cursor_set(struct drm_crtc *crtc,
65 extern int gma_crtc_cursor_move(struct drm_crtc *crtc, int x, int y);
66 extern void gma_crtc_load_lut(struct drm_crtc *crtc);
67 extern int gma_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green,
70 extern void gma_crtc_dpms(struct drm_crtc *crtc, int mode);
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
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);
27 struct drm_crtc *omap_crtc_init(struct drm_device *dev,
30 int omap_crtc_wait_pending(struct drm_crtc *crtc);
31 void omap_crtc_error_irq(struct drm_crtc *crtc, u32 irqstatus);
32 void omap_crtc_vblank_irq(struct drm_crtc *crtc);
33 void omap_crtc_framedone_irq(struct drm_crtc *crtc, uint32_t irqstatus);
34 void omap_crtc_flush(struct drm_crtc *crtc);
Domap_crtc.c32 struct drm_crtc base;
56 struct videomode *omap_crtc_timings(struct drm_crtc *crtc) in omap_crtc_timings()
62 enum omap_channel omap_crtc_channel(struct drm_crtc *crtc) in omap_crtc_channel()
68 static bool omap_crtc_is_pending(struct drm_crtc *crtc) in omap_crtc_is_pending()
81 int omap_crtc_wait_pending(struct drm_crtc *crtc) in omap_crtc_wait_pending()
110 static void omap_crtc_set_enabled(struct drm_crtc *crtc, bool enable) in omap_crtc_set_enabled()
186 struct drm_crtc *crtc = priv->channels[channel]->crtc; in omap_crtc_dss_enable()
199 struct drm_crtc *crtc = priv->channels[channel]->crtc; in omap_crtc_dss_disable()
209 struct drm_crtc *crtc = priv->channels[channel]->crtc; in omap_crtc_dss_set_timings()
220 struct drm_crtc *crtc = priv->channels[channel]->crtc; in omap_crtc_dss_set_lcd_config()
[all …]
Domap_irq.h14 struct drm_crtc;
18 int omap_irq_enable_vblank(struct drm_crtc *crtc);
19 int omap_irq_enable_framedone(struct drm_crtc *crtc, bool enable);
20 void omap_irq_disable_vblank(struct drm_crtc *crtc);
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
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,
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_crtc.h98 struct drm_crtc *crtc;
144 struct drm_crtc base;
222 static inline int dpu_crtc_frame_pending(struct drm_crtc *crtc) in dpu_crtc_frame_pending()
232 int dpu_crtc_vblank(struct drm_crtc *crtc, bool en);
238 void dpu_crtc_vblank_callback(struct drm_crtc *crtc);
244 void dpu_crtc_commit_kickoff(struct drm_crtc *crtc);
250 void dpu_crtc_complete_commit(struct drm_crtc *crtc);
259 struct drm_crtc *dpu_crtc_init(struct drm_device *dev, struct drm_plane *plane,
270 struct drm_crtc *crtc_drm, u32 event, bool en);
276 enum dpu_intf_mode dpu_crtc_get_intf_mode(struct drm_crtc *crtc);
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/tilcdc/
Dtilcdc_drv.h20 struct drm_crtc;
70 struct drm_crtc *crtc;
155 irqreturn_t tilcdc_crtc_irq(struct drm_crtc *crtc);
156 void tilcdc_crtc_update_clk(struct drm_crtc *crtc);
157 void tilcdc_crtc_set_panel_info(struct drm_crtc *crtc,
159 void tilcdc_crtc_set_simulate_vesa_sync(struct drm_crtc *crtc,
161 int tilcdc_crtc_max_width(struct drm_crtc *crtc);
162 void tilcdc_crtc_shutdown(struct drm_crtc *crtc);
163 int tilcdc_crtc_update_fb(struct drm_crtc *crtc,
Dtilcdc_crtc.c30 struct drm_crtc base;
62 static void set_scanout(struct drm_crtc *crtc, struct drm_framebuffer *fb) in set_scanout()
96 static void tilcdc_crtc_load_palette(struct drm_crtc *crtc) in tilcdc_crtc_load_palette()
179 static void reset(struct drm_crtc *crtc) in reset()
204 static void tilcdc_crtc_set_clk(struct drm_crtc *crtc) in tilcdc_crtc_set_clk()
274 static void tilcdc_crtc_set_mode(struct drm_crtc *crtc) in tilcdc_crtc_set_mode()
444 static void tilcdc_crtc_enable(struct drm_crtc *crtc) in tilcdc_crtc_enable()
486 static void tilcdc_crtc_atomic_enable(struct drm_crtc *crtc, in tilcdc_crtc_atomic_enable()
492 static void tilcdc_crtc_off(struct drm_crtc *crtc, bool shutdown) in tilcdc_crtc_off()
538 static void tilcdc_crtc_disable(struct drm_crtc *crtc) in tilcdc_crtc_disable()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
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()
65 static void exynos_crtc_atomic_begin(struct drm_crtc *crtc, in exynos_crtc_atomic_begin()
74 static void exynos_crtc_atomic_flush(struct drm_crtc *crtc, in exynos_crtc_atomic_flush()
83 static enum drm_mode_status exynos_crtc_mode_valid(struct drm_crtc *crtc, in exynos_crtc_mode_valid()
94 static bool exynos_crtc_mode_fixup(struct drm_crtc *crtc, in exynos_crtc_mode_fixup()
120 struct drm_crtc *crtc = &exynos_crtc->base; in exynos_crtc_handle_event()
135 static void exynos_drm_crtc_destroy(struct drm_crtc *crtc) in exynos_drm_crtc_destroy()
143 static int exynos_drm_crtc_enable_vblank(struct drm_crtc *crtc) in exynos_drm_crtc_enable_vblank()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_irq.h15 struct drm_crtc;
104 bool intel_crtc_get_vblank_timestamp(struct drm_crtc *crtc, int *max_error,
107 u32 i915_get_vblank_counter(struct drm_crtc *crtc);
108 u32 g4x_get_vblank_counter(struct drm_crtc *crtc);
110 int i8xx_enable_vblank(struct drm_crtc *crtc);
111 int i915gm_enable_vblank(struct drm_crtc *crtc);
112 int i965_enable_vblank(struct drm_crtc *crtc);
113 int ilk_enable_vblank(struct drm_crtc *crtc);
114 int bdw_enable_vblank(struct drm_crtc *crtc);
115 void i8xx_disable_vblank(struct drm_crtc *crtc);
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_crc.h29 struct drm_crtc;
50 int amdgpu_dm_crtc_configure_crc_source(struct drm_crtc *crtc,
53 int amdgpu_dm_crtc_set_crc_source(struct drm_crtc *crtc, const char *src_name);
54 int amdgpu_dm_crtc_verify_crc_source(struct drm_crtc *crtc,
57 const char *const *amdgpu_dm_crtc_get_crc_sources(struct drm_crtc *crtc,
59 void amdgpu_dm_crtc_handle_crc_irq(struct drm_crtc *crtc);
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/
Dsti_crtc.c25 static void sti_crtc_atomic_enable(struct drm_crtc *crtc, in sti_crtc_atomic_enable()
37 static void sti_crtc_atomic_disable(struct drm_crtc *crtc, in sti_crtc_atomic_disable()
50 sti_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode) in sti_crtc_mode_set()
104 static void sti_crtc_disable(struct drm_crtc *crtc) in sti_crtc_disable()
130 sti_crtc_mode_set_nofb(struct drm_crtc *crtc) in sti_crtc_mode_set_nofb()
135 static void sti_crtc_atomic_flush(struct drm_crtc *crtc, in sti_crtc_atomic_flush()
229 static void sti_crtc_destroy(struct drm_crtc *crtc) in sti_crtc_destroy()
235 static int sti_crtc_set_property(struct drm_crtc *crtc, in sti_crtc_set_property()
247 struct drm_crtc *crtc = data; in sti_crtc_vblank_cb()
282 static int sti_crtc_enable_vblank(struct drm_crtc *crtc) in sti_crtc_enable_vblank()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.h191 struct drm_crtc *crtc;
337 struct drm_crtc crtc;
390 void vmw_du_crtc_save(struct drm_crtc *crtc);
391 void vmw_du_crtc_restore(struct drm_crtc *crtc);
392 int vmw_du_crtc_gamma_set(struct drm_crtc *crtc,
447 struct drm_crtc **p_crtc,
475 int vmw_du_crtc_atomic_check(struct drm_crtc *crtc,
477 void vmw_du_crtc_atomic_begin(struct drm_crtc *crtc,
479 void vmw_du_crtc_atomic_flush(struct drm_crtc *crtc,
481 void vmw_du_crtc_reset(struct drm_crtc *crtc);
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/
Dvkms_crtc.c14 struct drm_crtc *crtc = &output->crtc; in vkms_vblank_simulate()
56 static int vkms_enable_vblank(struct drm_crtc *crtc) in vkms_enable_vblank()
73 static void vkms_disable_vblank(struct drm_crtc *crtc) in vkms_disable_vblank()
80 static bool vkms_get_vblank_timestamp(struct drm_crtc *crtc, in vkms_get_vblank_timestamp()
113 vkms_atomic_crtc_duplicate_state(struct drm_crtc *crtc) in vkms_atomic_crtc_duplicate_state()
131 static void vkms_atomic_crtc_destroy_state(struct drm_crtc *crtc, in vkms_atomic_crtc_destroy_state()
143 static void vkms_atomic_crtc_reset(struct drm_crtc *crtc) in vkms_atomic_crtc_reset()
171 static int vkms_crtc_atomic_check(struct drm_crtc *crtc, in vkms_crtc_atomic_check()
217 static void vkms_crtc_atomic_enable(struct drm_crtc *crtc, in vkms_crtc_atomic_enable()
223 static void vkms_crtc_atomic_disable(struct drm_crtc *crtc, in vkms_crtc_atomic_disable()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_crtc.c16 struct drm_crtc base;
61 static struct mdp4_kms *get_kms(struct drm_crtc *crtc) in get_kms()
67 static void request_pending(struct drm_crtc *crtc, uint32_t pending) in request_pending()
75 static void crtc_flush(struct drm_crtc *crtc) in crtc_flush()
97 static void complete_flip(struct drm_crtc *crtc, struct drm_file *file) in complete_flip()
125 static void mdp4_crtc_destroy(struct drm_crtc *crtc) in mdp4_crtc_destroy()
155 struct drm_crtc *crtc; in setup_mixer()
176 static void blend_setup(struct drm_crtc *crtc) in blend_setup()
224 static void mdp4_crtc_mode_set_nofb(struct drm_crtc *crtc) in mdp4_crtc_mode_set_nofb()
266 static void mdp4_crtc_atomic_disable(struct drm_crtc *crtc, in mdp4_crtc_atomic_disable()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_crtc.h35 struct drm_crtc base;
68 void (*save)(struct drm_crtc *crtc);
69 void (*restore)(struct drm_crtc *crtc);
72 static inline struct nouveau_crtc *nouveau_crtc(struct drm_crtc *crtc) in nouveau_crtc()
77 static inline struct drm_crtc *to_drm_crtc(struct nouveau_crtc *crtc) in to_drm_crtc()
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/
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)
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_crtc.c84 struct drm_crtc *drm_crtc_from_index(struct drm_device *dev, int idx) in drm_crtc_from_index()
86 struct drm_crtc *crtc; in drm_crtc_from_index()
96 int drm_crtc_force_disable(struct drm_crtc *crtc) in drm_crtc_force_disable()
110 struct drm_crtc *tmp; in drm_num_crtcs()
121 struct drm_crtc *crtc; in drm_crtc_register_all()
138 struct drm_crtc *crtc; in drm_crtc_unregister_all()
147 static int drm_crtc_crc_init(struct drm_crtc *crtc) in drm_crtc_crc_init()
159 static void drm_crtc_crc_fini(struct drm_crtc *crtc) in drm_crtc_crc_fini()
168 static struct drm_crtc *fence_to_crtc(struct dma_fence *fence) in fence_to_crtc()
171 return container_of(fence->lock, struct drm_crtc, fence_lock); in fence_to_crtc()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/tidss/
Dtidss_crtc.c61 void tidss_crtc_vblank_irq(struct drm_crtc *crtc) in tidss_crtc_vblank_irq()
70 void tidss_crtc_framedone_irq(struct drm_crtc *crtc) in tidss_crtc_framedone_irq()
77 void tidss_crtc_error_irq(struct drm_crtc *crtc, u64 irqstatus) in tidss_crtc_error_irq()
87 static int tidss_crtc_atomic_check(struct drm_crtc *crtc, in tidss_crtc_atomic_check()
121 struct drm_crtc *crtc, in tidss_crtc_position_planes()
163 static void tidss_crtc_atomic_flush(struct drm_crtc *crtc, in tidss_crtc_atomic_flush()
214 static void tidss_crtc_atomic_enable(struct drm_crtc *crtc, in tidss_crtc_atomic_enable()
257 static void tidss_crtc_atomic_disable(struct drm_crtc *crtc, in tidss_crtc_atomic_disable()
293 enum drm_mode_status tidss_crtc_mode_valid(struct drm_crtc *crtc, in tidss_crtc_mode_valid()
314 static int tidss_crtc_enable_vblank(struct drm_crtc *crtc) in tidss_crtc_enable_vblank()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
Dmtk_drm_crtc.h17 void mtk_drm_crtc_commit(struct drm_crtc *crtc);
18 void mtk_crtc_ddp_irq(struct drm_crtc *crtc, struct mtk_ddp_comp *comp);
22 int mtk_drm_crtc_plane_check(struct drm_crtc *crtc, struct drm_plane *plane,
24 void mtk_drm_crtc_async_update(struct drm_crtc *crtc, struct drm_plane *plane,
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/
Dipuv3-crtc.c33 struct drm_crtc base;
44 static inline struct ipu_crtc *to_ipu_crtc(struct drm_crtc *crtc) in to_ipu_crtc()
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()
108 static void imx_drm_crtc_reset(struct drm_crtc *crtc) in imx_drm_crtc_reset()
123 static struct drm_crtc_state *imx_drm_crtc_duplicate_state(struct drm_crtc *crtc) in imx_drm_crtc_duplicate_state()
139 static void imx_drm_crtc_destroy_state(struct drm_crtc *crtc, in imx_drm_crtc_destroy_state()
146 static int ipu_enable_vblank(struct drm_crtc *crtc) in ipu_enable_vblank()
155 static void ipu_disable_vblank(struct drm_crtc *crtc) in ipu_disable_vblank()
176 struct drm_crtc *crtc = &ipu_crtc->base; in ipu_irq_handler()
[all …]

12345678910>>...14