/linux-6.1.9/drivers/gpu/drm/logicvc/ |
D | logicvc_crtc.c | 26 container_of(c, struct logicvc_crtc, drm_crtc) 29 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 41 struct logicvc_crtc *crtc = logicvc_crtc(drm_crtc); in logicvc_crtc_atomic_begin() 43 drm_atomic_get_old_crtc_state(state, drm_crtc); in logicvc_crtc_atomic_begin() 44 struct drm_device *drm_dev = drm_crtc->dev; in logicvc_crtc_atomic_begin() 51 if (drm_crtc->state->event && old_state->active) { in logicvc_crtc_atomic_begin() 53 WARN_ON(drm_crtc_vblank_get(drm_crtc) != 0); in logicvc_crtc_atomic_begin() 55 crtc->event = drm_crtc->state->event; in logicvc_crtc_atomic_begin() 56 drm_crtc->state->event = NULL; in logicvc_crtc_atomic_begin() [all …]
|
/linux-6.1.9/include/drm/ |
D | drm_crtc.h | 57 struct drm_crtc; 88 struct drm_crtc *crtc; 418 void (*reset)(struct drm_crtc *crtc); 441 int (*cursor_set)(struct drm_crtc *crtc, struct drm_file *file_priv, 463 int (*cursor_set2)(struct drm_crtc *crtc, struct drm_file *file_priv, 483 int (*cursor_move)(struct drm_crtc *crtc, int x, int y); 498 int (*gamma_set)(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b, 509 void (*destroy)(struct drm_crtc *crtc); 581 int (*page_flip)(struct drm_crtc *crtc, 600 int (*page_flip_target)(struct drm_crtc *crtc, [all …]
|
D | drm_vblank.h | 36 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 …]
|
D | drm_modeset_helper_vtables.h | 78 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 …]
|
D | drm_atomic_state_helper.h | 31 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,
|
/linux-6.1.9/drivers/gpu/drm/gma500/ |
D | gma_display.h | 43 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 void gma_crtc_load_lut(struct drm_crtc *crtc); 62 extern void gma_crtc_dpms(struct drm_crtc *crtc, int mode); 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); [all …]
|
/linux-6.1.9/drivers/gpu/drm/omapdrm/ |
D | omap_crtc.h | 16 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);
|
D | omap_crtc.c | 31 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() 109 void omap_crtc_set_enabled(struct drm_crtc *crtc, bool enable) in omap_crtc_set_enabled() 184 struct drm_crtc *crtc = priv->channels[channel]->crtc; in omap_crtc_dss_enable() 196 struct drm_crtc *crtc = priv->channels[channel]->crtc; in omap_crtc_dss_disable() 206 struct drm_crtc *crtc = priv->channels[channel]->crtc; in omap_crtc_dss_set_timings() 217 struct drm_crtc *crtc = priv->channels[channel]->crtc; in omap_crtc_dss_set_lcd_config() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | atombios_crtc.h | 27 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.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_crc.h | 29 struct drm_crtc; 60 struct drm_crtc *crtc; 73 int amdgpu_dm_crtc_configure_crc_source(struct drm_crtc *crtc, 76 int amdgpu_dm_crtc_set_crc_source(struct drm_crtc *crtc, const char *src_name); 77 int amdgpu_dm_crtc_verify_crc_source(struct drm_crtc *crtc, 80 const char *const *amdgpu_dm_crtc_get_crc_sources(struct drm_crtc *crtc, 82 void amdgpu_dm_crtc_handle_crc_irq(struct drm_crtc *crtc); 91 bool amdgpu_dm_crc_window_is_activated(struct drm_crtc *crtc); 92 void amdgpu_dm_crtc_handle_crc_window_irq(struct drm_crtc *crtc);
|
D | amdgpu_dm_crtc.c | 39 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() 142 static inline int dm_set_vblank(struct drm_crtc *crtc, bool enable) in dm_set_vblank() 193 int dm_enable_vblank(struct drm_crtc *crtc) in dm_enable_vblank() 198 void dm_disable_vblank(struct drm_crtc *crtc) in dm_disable_vblank() 203 static void dm_crtc_destroy_state(struct drm_crtc *crtc, in dm_crtc_destroy_state() 219 static struct drm_crtc_state *dm_crtc_duplicate_state(struct drm_crtc *crtc) in dm_crtc_duplicate_state() 253 static void amdgpu_dm_crtc_destroy(struct drm_crtc *crtc) in amdgpu_dm_crtc_destroy() 259 static void dm_crtc_reset_state(struct drm_crtc *crtc) in dm_crtc_reset_state() 274 static int amdgpu_dm_crtc_late_register(struct drm_crtc *crtc) in amdgpu_dm_crtc_late_register() [all …]
|
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_crtc.h | 112 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.1.9/drivers/gpu/drm/i915/ |
D | i915_irq.h | 15 struct drm_crtc; 76 bool intel_crtc_get_vblank_timestamp(struct drm_crtc *crtc, int *max_error, 79 u32 i915_get_vblank_counter(struct drm_crtc *crtc); 80 u32 g4x_get_vblank_counter(struct drm_crtc *crtc); 82 int i8xx_enable_vblank(struct drm_crtc *crtc); 83 int i915gm_enable_vblank(struct drm_crtc *crtc); 84 int i965_enable_vblank(struct drm_crtc *crtc); 85 int ilk_enable_vblank(struct drm_crtc *crtc); 86 int bdw_enable_vblank(struct drm_crtc *crtc); 87 void i8xx_disable_vblank(struct drm_crtc *crtc); [all …]
|
/linux-6.1.9/drivers/gpu/drm/exynos/ |
D | exynos_drm_crtc.c | 21 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() 85 static enum drm_mode_status exynos_crtc_mode_valid(struct drm_crtc *crtc, in exynos_crtc_mode_valid() 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() 145 static int exynos_drm_crtc_enable_vblank(struct drm_crtc *crtc) in exynos_drm_crtc_enable_vblank() [all …]
|
/linux-6.1.9/drivers/gpu/drm/tilcdc/ |
D | tilcdc_drv.h | 20 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.1.9/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_kms.h | 192 struct drm_crtc *crtc; 356 struct drm_crtc crtc; 409 void vmw_du_crtc_save(struct drm_crtc *crtc); 410 void vmw_du_crtc_restore(struct drm_crtc *crtc); 411 int vmw_du_crtc_gamma_set(struct drm_crtc *crtc, 466 struct drm_crtc **p_crtc, 498 int vmw_du_crtc_atomic_check(struct drm_crtc *crtc, 500 void vmw_du_crtc_atomic_begin(struct drm_crtc *crtc, 502 void vmw_du_crtc_atomic_flush(struct drm_crtc *crtc, 504 void vmw_du_crtc_reset(struct drm_crtc *crtc); [all …]
|
/linux-6.1.9/drivers/gpu/drm/sti/ |
D | sti_crtc.c | 24 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() 49 sti_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode) in sti_crtc_mode_set() 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() [all …]
|
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_crtc.c | 87 struct drm_crtc *drm_crtc_from_index(struct drm_device *dev, int idx) in drm_crtc_from_index() 89 struct drm_crtc *crtc; in drm_crtc_from_index() 99 int drm_crtc_force_disable(struct drm_crtc *crtc) in drm_crtc_force_disable() 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() 150 static int drm_crtc_crc_init(struct drm_crtc *crtc) in drm_crtc_crc_init() 162 static void drm_crtc_crc_fini(struct drm_crtc *crtc) in drm_crtc_crc_fini() 171 static struct drm_crtc *fence_to_crtc(struct dma_fence *fence) in fence_to_crtc() 174 return container_of(fence->lock, struct drm_crtc, fence_lock); in fence_to_crtc() [all …]
|
/linux-6.1.9/drivers/gpu/drm/vkms/ |
D | vkms_crtc.c | 16 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() 137 static void vkms_atomic_crtc_destroy_state(struct drm_crtc *crtc, in vkms_atomic_crtc_destroy_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() [all …]
|
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_crtc.c | 17 struct drm_crtc base; 62 static struct mdp4_kms *get_kms(struct drm_crtc *crtc) in get_kms() 68 static void request_pending(struct drm_crtc *crtc, uint32_t pending) in request_pending() 76 static void crtc_flush(struct drm_crtc *crtc) in crtc_flush() 98 static void complete_flip(struct drm_crtc *crtc, struct drm_file *file) in complete_flip() 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() 225 static void mdp4_crtc_mode_set_nofb(struct drm_crtc *crtc) in mdp4_crtc_mode_set_nofb() 267 static void mdp4_crtc_atomic_disable(struct drm_crtc *crtc, in mdp4_crtc_atomic_disable() [all …]
|
/linux-6.1.9/drivers/gpu/drm/mgag200/ |
D | mgag200_drv.h | 271 int (*pixpllc_atomic_check)(struct drm_crtc *crtc, struct drm_atomic_state *new_state); 278 void (*pixpllc_atomic_update)(struct drm_crtc *crtc, struct drm_atomic_state *old_state); 296 struct drm_crtc crtc; 347 void mgag200_g200wb_pixpllc_atomic_update(struct drm_crtc *crtc, struct drm_atomic_state *old_state… 351 void mgag200_g200eh_pixpllc_atomic_update(struct drm_crtc *crtc, struct drm_atomic_state *old_state… 365 struct drm_crtc; 393 enum drm_mode_status mgag200_crtc_helper_mode_valid(struct drm_crtc *crtc, 395 int mgag200_crtc_helper_atomic_check(struct drm_crtc *crtc, struct drm_atomic_state *new_state); 396 void mgag200_crtc_helper_atomic_flush(struct drm_crtc *crtc, struct drm_atomic_state *old_state); 397 void mgag200_crtc_helper_atomic_enable(struct drm_crtc *crtc, struct drm_atomic_state *old_state); [all …]
|
/linux-6.1.9/drivers/gpu/drm/armada/ |
D | armada_trace.h | 7 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.1.9/drivers/gpu/drm/nouveau/ |
D | nouveau_crtc.h | 35 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()
|
/linux-6.1.9/drivers/gpu/drm/imx/ |
D | ipuv3-crtc.c | 33 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() 110 static void imx_drm_crtc_reset(struct drm_crtc *crtc) in imx_drm_crtc_reset() 125 static struct drm_crtc_state *imx_drm_crtc_duplicate_state(struct drm_crtc *crtc) in imx_drm_crtc_duplicate_state() 141 static void imx_drm_crtc_destroy_state(struct drm_crtc *crtc, in imx_drm_crtc_destroy_state() 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() [all …]
|
/linux-6.1.9/drivers/gpu/drm/tidss/ |
D | tidss_crtc.c | 59 void tidss_crtc_vblank_irq(struct drm_crtc *crtc) in tidss_crtc_vblank_irq() 68 void tidss_crtc_framedone_irq(struct drm_crtc *crtc) in tidss_crtc_framedone_irq() 75 void tidss_crtc_error_irq(struct drm_crtc *crtc, u64 irqstatus) in tidss_crtc_error_irq() 85 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() 216 static void tidss_crtc_atomic_enable(struct drm_crtc *crtc, in tidss_crtc_atomic_enable() 261 static void tidss_crtc_atomic_disable(struct drm_crtc *crtc, in tidss_crtc_atomic_disable() 297 enum drm_mode_status tidss_crtc_mode_valid(struct drm_crtc *crtc, in tidss_crtc_mode_valid() 318 static int tidss_crtc_enable_vblank(struct drm_crtc *crtc) in tidss_crtc_enable_vblank() [all …]
|