29#ifndef __DRM_MODESET_HELPER_VTABLES_H__
30#define __DRM_MODESET_HELPER_VTABLES_H__
467 bool in_vblank_irq,
int *vpos,
int *hpos,
489static inline void drm_crtc_helper_add(
struct drm_crtc *
crtc,
1178static inline void drm_connector_helper_add(
struct drm_connector *connector,
#define bool
Definition stdbool.h:35
int job
Definition main.cpp:51
size_t size_t const struct drm_bridge_funcs * funcs
Definition drm_bridge.h:1300
drm_connector_status
Definition drm_connector.h:67
struct drm_crtc * crtc
Definition drm_crtc.h:1238
struct drm_encoder * encoder
Definition drm_encoder.h:211
drm_mode_status
Definition drm_modes.h:91
struct drm_plane * plane
Definition drm_plane.h:828
int y
Definition layout.c:118
int x
Definition layout.c:118
int64_t ktime_t
Definition kernel.h:404
Definition drm_atomic.h:480
Definition drm_modeset_helper_vtables.h:850
int(* prepare_writeback_job)(struct drm_writeback_connector *connector, struct drm_writeback_job *job)
Definition drm_modeset_helper_vtables.h:1122
int(* get_modes)(struct drm_connector *connector)
Definition drm_modeset_helper_vtables.h:894
void(* cleanup_writeback_job)(struct drm_writeback_connector *connector, struct drm_writeback_job *job)
Definition drm_modeset_helper_vtables.h:1137
enum drm_mode_status(* mode_valid)(struct drm_connector *connector, const struct drm_display_mode *mode)
Definition drm_modeset_helper_vtables.h:958
int(* mode_valid_ctx)(struct drm_connector *connector, const struct drm_display_mode *mode, struct drm_modeset_acquire_ctx *ctx, enum drm_mode_status *status)
Definition drm_modeset_helper_vtables.h:997
void(* atomic_commit)(struct drm_connector *connector, struct drm_atomic_commit *state)
Definition drm_modeset_helper_vtables.h:1105
void(* enable_hpd)(struct drm_connector *connector)
Definition drm_modeset_helper_vtables.h:1154
int(* detect_ctx)(struct drm_connector *connector, struct drm_modeset_acquire_ctx *ctx, bool force)
Definition drm_modeset_helper_vtables.h:920
void(* disable_hpd)(struct drm_connector *connector)
Definition drm_modeset_helper_vtables.h:1170
int(* atomic_check)(struct drm_connector *connector, struct drm_atomic_commit *state)
Definition drm_modeset_helper_vtables.h:1090
Definition drm_connector.h:1065
Definition drm_connector.h:1998
const struct drm_connector_helper_funcs * helper_private
Definition drm_connector.h:2247
Definition drm_modeset_helper_vtables.h:61
void(* commit)(struct drm_crtc *crtc)
Definition drm_modeset_helper_vtables.h:108
void(* atomic_disable)(struct drm_crtc *crtc, struct drm_atomic_commit *state)
Definition drm_modeset_helper_vtables.h:421
int(* atomic_check)(struct drm_crtc *crtc, struct drm_atomic_commit *state)
Definition drm_modeset_helper_vtables.h:334
bool(* get_scanout_position)(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode)
Definition drm_modeset_helper_vtables.h:466
int(* mode_set)(struct drm_crtc *crtc, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode, int x, int y, struct drm_framebuffer *old_fb)
Definition drm_modeset_helper_vtables.h:206
void(* dpms)(struct drm_crtc *crtc, int mode)
Definition drm_modeset_helper_vtables.h:78
void(* disable)(struct drm_crtc *crtc)
Definition drm_modeset_helper_vtables.h:282
void(* mode_set_nofb)(struct drm_crtc *crtc)
Definition drm_modeset_helper_vtables.h:229
void(* atomic_begin)(struct drm_crtc *crtc, struct drm_atomic_commit *state)
Definition drm_modeset_helper_vtables.h:355
bool(* mode_fixup)(struct drm_crtc *crtc, const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode)
Definition drm_modeset_helper_vtables.h:187
void(* atomic_enable)(struct drm_crtc *crtc, struct drm_atomic_commit *state)
Definition drm_modeset_helper_vtables.h:401
int(* mode_set_base)(struct drm_crtc *crtc, int x, int y, struct drm_framebuffer *old_fb)
Definition drm_modeset_helper_vtables.h:248
bool(* handle_vblank_timeout)(struct drm_crtc *crtc)
Definition drm_modeset_helper_vtables.h:481
void(* atomic_flush)(struct drm_crtc *crtc, struct drm_atomic_commit *state)
Definition drm_modeset_helper_vtables.h:379
enum drm_mode_status(* mode_valid)(struct drm_crtc *crtc, const struct drm_display_mode *mode)
Definition drm_modeset_helper_vtables.h:141
void(* prepare)(struct drm_crtc *crtc)
Definition drm_modeset_helper_vtables.h:93
Definition drm_crtc.h:955
const struct drm_crtc_helper_funcs * helper_private
Definition drm_crtc.h:1103
Definition drm_modes.h:252
Definition drm_modeset_helper_vtables.h:501
enum drm_connector_status(* detect)(struct drm_encoder *encoder, struct drm_connector *connector)
Definition drm_modeset_helper_vtables.h:692
void(* atomic_enable)(struct drm_encoder *encoder, struct drm_atomic_commit *state)
Definition drm_modeset_helper_vtables.h:738
void(* dpms)(struct drm_encoder *encoder, int mode)
Definition drm_modeset_helper_vtables.h:518
bool(* mode_fixup)(struct drm_encoder *encoder, const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode)
Definition drm_modeset_helper_vtables.h:594
enum drm_mode_status(* mode_valid)(struct drm_encoder *crtc, const struct drm_display_mode *mode)
Definition drm_modeset_helper_vtables.h:551
void(* prepare)(struct drm_encoder *encoder)
Definition drm_modeset_helper_vtables.h:611
void(* commit)(struct drm_encoder *encoder)
Definition drm_modeset_helper_vtables.h:626
int(* atomic_check)(struct drm_encoder *encoder, struct drm_crtc_state *crtc_state, struct drm_connector_state *conn_state)
Definition drm_modeset_helper_vtables.h:828
void(* atomic_mode_set)(struct drm_encoder *encoder, struct drm_crtc_state *crtc_state, struct drm_connector_state *conn_state)
Definition drm_modeset_helper_vtables.h:673
void(* disable)(struct drm_encoder *encoder)
Definition drm_modeset_helper_vtables.h:772
void(* enable)(struct drm_encoder *encoder)
Definition drm_modeset_helper_vtables.h:790
void(* atomic_disable)(struct drm_encoder *encoder, struct drm_atomic_commit *state)
Definition drm_modeset_helper_vtables.h:715
void(* mode_set)(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode)
Definition drm_modeset_helper_vtables.h:650
Definition drm_encoder.h:106
const struct drm_encoder_helper_funcs * helper_private
Definition drm_encoder.h:197
Definition drm_framebuffer.h:120
Definition drm_modeset_helper_vtables.h:1497
void(* atomic_commit_tail)(struct drm_atomic_commit *state)
Definition drm_modeset_helper_vtables.h:1533
int(* atomic_commit_setup)(struct drm_atomic_commit *state)
Definition drm_modeset_helper_vtables.h:1554
Definition drm_modeset_lock.h:46
Definition drm_modeset_helper_vtables.h:1189
int(* get_scanout_buffer)(struct drm_plane *plane, struct drm_scanout_buffer *sb)
Definition drm_modeset_helper_vtables.h:1462
void(* atomic_update)(struct drm_plane *plane, struct drm_atomic_commit *state)
Definition drm_modeset_helper_vtables.h:1328
int(* atomic_async_check)(struct drm_plane *plane, struct drm_atomic_commit *state, bool flip)
Definition drm_modeset_helper_vtables.h:1402
void(* atomic_disable)(struct drm_plane *plane, struct drm_atomic_commit *state)
Definition drm_modeset_helper_vtables.h:1378
void(* end_fb_access)(struct drm_plane *plane, struct drm_plane_state *new_plane_state)
Definition drm_modeset_helper_vtables.h:1274
void(* atomic_async_update)(struct drm_plane *plane, struct drm_atomic_commit *state)
Definition drm_modeset_helper_vtables.h:1439
int(* atomic_check)(struct drm_plane *plane, struct drm_atomic_commit *state)
Definition drm_modeset_helper_vtables.h:1311
void(* atomic_enable)(struct drm_plane *plane, struct drm_atomic_commit *state)
Definition drm_modeset_helper_vtables.h:1353
void(* cleanup_fb)(struct drm_plane *plane, struct drm_plane_state *old_state)
Definition drm_modeset_helper_vtables.h:1243
void(* panic_flush)(struct drm_plane *plane)
Definition drm_modeset_helper_vtables.h:1478
int(* begin_fb_access)(struct drm_plane *plane, struct drm_plane_state *new_plane_state)
Definition drm_modeset_helper_vtables.h:1266
int(* prepare_fb)(struct drm_plane *plane, struct drm_plane_state *new_state)
Definition drm_modeset_helper_vtables.h:1232
Definition drm_plane.h:54
Definition drm_plane.h:641
const struct drm_plane_helper_funcs * helper_private
Definition drm_plane.h:733
Definition drm_panic.h:24
Definition drm_writeback.h:21
Definition drm_writeback.h:92