44struct drm_self_refresh_data;
1234#define obj_to_crtc(x) container_of(x, struct drm_crtc, base)
1250 const
char *
name, ...);
1260 const
char *
name, ...);
1281#define drmm_crtc_alloc_with_planes(dev, type, member, primary, cursor, funcs, name, ...) \
1282 ((type *)__drmm_crtc_alloc_with_planes(dev, sizeof(type), \
1283 offsetof(type, member), \
1284 primary, cursor, funcs, \
1285 name, ##__VA_ARGS__))
1294static inline unsigned int drm_crtc_index(
const struct drm_crtc *
crtc)
1308 return 1 << drm_crtc_index(
crtc);
1340#define drm_for_each_crtc(crtc, dev) \
1341 list_for_each_entry(crtc, &(dev)->mode_config.crtc_list, head)
1350#define drm_for_each_crtc_reverse(crtc, dev) \
1351 list_for_each_entry_reverse(crtc, &(dev)->mode_config.crtc_list, head)
1354 unsigned int supported_filters);
#define bool
Definition stdbool.h:35
uint8_t flags
Definition virtio.h:0
size_t b
Definition main.cpp:156
int int32_t
Definition acefiex.h:160
unsigned int uint32_t
Definition acefiex.h:163
COMPILER_DEPENDENT_INT64 int64_t
Definition acefiex.h:164
COMPILER_DEPENDENT_UINT64 uint64_t
Definition acefiex.h:165
unsigned short int uint16_t
Definition acefiex.h:162
#define NULL
Definition actypes.h:561
#define __printf(fmt_idx, arg_idx)
Definition compiler.h:144
#define DRM_MODE_OBJECT_CRTC
Definition drm_mode.h:613
int drm_mode_set_config_internal(struct drm_mode_set *set)
int drm_crtc_create_sharpness_strength_property(struct drm_crtc *crtc)
struct drm_crtc struct drm_plane * primary
Definition drm_crtc.h:1239
struct drm_crtc struct drm_plane struct drm_plane * cursor
Definition drm_crtc.h:1240
int drm_crtc_create_scaling_filter_property(struct drm_crtc *crtc, unsigned int supported_filters)
struct drm_crtc * drm_crtc_from_index(struct drm_device *dev, int idx)
size_t size
Definition drm_crtc.h:1256
struct drm_crtc struct drm_plane struct drm_plane const struct drm_crtc_funcs const char struct drm_crtc struct drm_plane struct drm_plane const struct drm_crtc_funcs const char void drm_crtc_cleanup(struct drm_crtc *crtc)
struct drm_crtc struct drm_plane struct drm_plane const struct drm_crtc_funcs * funcs
Definition drm_crtc.h:1241
size_t size_t offset
Definition drm_crtc.h:1256
bool drm_crtc_in_clone_mode(struct drm_crtc_state *crtc_state)
struct drm_crtc struct drm_plane struct drm_plane const struct drm_crtc_funcs const char * name
Definition drm_crtc.h:1242
#define obj_to_crtc(x)
Definition drm_crtc.h:1234
struct drm_crtc * crtc
Definition drm_crtc.h:1238
struct drm_mode_object * drm_mode_object_find(struct drm_device *dev, struct drm_file *file_priv, uint32_t id, uint32_t type)
drm_scaling_filter
Definition drm_plane.h:40
const struct device * dev
Definition drm_print.h:519
int y
Definition layout.c:118
int x
Definition layout.c:118
uint64_t u64
Definition kernel.h:17
int64_t ktime_t
Definition kernel.h:404
uint8_t u8
Definition kernel.h:14
uint16_t u16
Definition kernel.h:15
int spinlock_t
Definition kernel.h:44
uint32_t u32
Definition kernel.h:16
int const struct list_head const struct list_head struct list_head * head
Definition list_sort.h:13
Definition drm_atomic.h:480
Definition drm_bridge.h:1100
Definition drm_connector.h:1998
Definition drm_atomic.h:72
Definition drm_debugfs_crc.h:59
Definition drm_crtc.h:425
void(* destroy)(struct drm_crtc *crtc)
Definition drm_crtc.h:527
int(* cursor_move)(struct drm_crtc *crtc, int x, int y)
Definition drm_crtc.h:501
int(* verify_crc_source)(struct drm_crtc *crtc, const char *source, size_t *values_cnt)
Definition drm_crtc.h:823
u32(* get_vblank_counter)(struct drm_crtc *crtc)
Definition drm_crtc.h:884
void(* reset)(struct drm_crtc *crtc)
Definition drm_crtc.h:436
int(* cursor_set2)(struct drm_crtc *crtc, struct drm_file *file_priv, uint32_t handle, uint32_t width, uint32_t height, int32_t hot_x, int32_t hot_y)
Definition drm_crtc.h:481
int(* late_register)(struct drm_crtc *crtc)
Definition drm_crtc.h:767
void(* atomic_destroy_state)(struct drm_crtc *crtc, struct drm_crtc_state *state)
Definition drm_crtc.h:682
int(* set_config)(struct drm_mode_set *set, struct drm_modeset_acquire_ctx *ctx)
Definition drm_crtc.h:543
int(* cursor_set)(struct drm_crtc *crtc, struct drm_file *file_priv, uint32_t handle, uint32_t width, uint32_t height)
Definition drm_crtc.h:459
int(* atomic_get_property)(struct drm_crtc *crtc, const struct drm_crtc_state *state, struct drm_property *property, uint64_t *val)
Definition drm_crtc.h:749
int(* page_flip_target)(struct drm_crtc *crtc, struct drm_framebuffer *fb, struct drm_pending_vblank_event *event, uint32_t flags, uint32_t target, struct drm_modeset_acquire_ctx *ctx)
Definition drm_crtc.h:618
int(* page_flip)(struct drm_crtc *crtc, struct drm_framebuffer *fb, struct drm_pending_vblank_event *event, uint32_t flags, struct drm_modeset_acquire_ctx *ctx)
Definition drm_crtc.h:599
int(* atomic_set_property)(struct drm_crtc *crtc, struct drm_crtc_state *state, struct drm_property *property, uint64_t val)
Definition drm_crtc.h:727
int(* gamma_set)(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b, uint32_t size, struct drm_modeset_acquire_ctx *ctx)
Definition drm_crtc.h:516
int(* set_property)(struct drm_crtc *crtc, struct drm_property *property, uint64_t val)
Definition drm_crtc.h:638
void(* disable_vblank)(struct drm_crtc *crtc)
Definition drm_crtc.h:905
int(* set_crc_source)(struct drm_crtc *crtc, const char *source)
Definition drm_crtc.h:807
bool(* get_vblank_timestamp)(struct drm_crtc *crtc, int *max_error, ktime_t *vblank_time, bool in_vblank_irq)
Definition drm_crtc.h:943
int(* enable_vblank)(struct drm_crtc *crtc)
Definition drm_crtc.h:897
void(* early_unregister)(struct drm_crtc *crtc)
Definition drm_crtc.h:778
void(* atomic_print_state)(struct drm_printer *p, const struct drm_crtc_state *state)
Definition drm_crtc.h:857
Definition drm_modeset_helper_vtables.h:61
u32 connector_mask
Definition drm_crtc.h:201
bool no_vblank
Definition drm_crtc.h:189
bool planes_changed
Definition drm_crtc.h:111
u8 sharpness_strength
Definition drm_crtc.h:341
struct drm_crtc_commit * commit
Definition drm_crtc.h:407
struct drm_display_mode mode
Definition drm_crtc.h:239
struct drm_pending_vblank_event * event
Definition drm_crtc.h:398
struct drm_property_blob * mode_blob
Definition drm_crtc.h:245
struct drm_property_blob * degamma_lut
Definition drm_crtc.h:254
bool zpos_changed
Definition drm_crtc.h:147
bool async_flip
Definition drm_crtc.h:303
bool mode_changed
Definition drm_crtc.h:123
bool active
Definition drm_crtc.h:105
struct drm_atomic_commit * state
Definition drm_crtc.h:410
bool self_refresh_active
Definition drm_crtc.h:323
struct drm_property_blob * ctm
Definition drm_crtc.h:262
u64 background_color
Definition drm_crtc.h:287
struct drm_display_mode adjusted_mode
Definition drm_crtc.h:222
bool connectors_changed
Definition drm_crtc.h:141
struct drm_crtc * crtc
Definition drm_crtc.h:83
bool color_mgmt_changed
Definition drm_crtc.h:153
bool vrr_enabled
Definition drm_crtc.h:312
struct drm_property_blob * gamma_lut
Definition drm_crtc.h:275
u32 plane_mask
Definition drm_crtc.h:195
enum drm_scaling_filter scaling_filter
Definition drm_crtc.h:330
u32 encoder_mask
Definition drm_crtc.h:207
bool enable
Definition drm_crtc.h:90
bool active_changed
Definition drm_crtc.h:130
u32 target_vblank
Definition drm_crtc.h:295
Definition drm_crtc.h:955
struct drm_display_mode mode
Definition drm_crtc.h:1046
const struct drm_crtc_helper_funcs * helper_private
Definition drm_crtc.h:1103
unsigned int fence_context
Definition drm_crtc.h:1178
uint32_t gamma_size
Definition drm_crtc.h:1091
unsigned long fence_seqno
Definition drm_crtc.h:1192
const struct drm_crtc_funcs * funcs
Definition drm_crtc.h:1082
struct drm_plane * primary
Definition drm_crtc.h:994
struct drm_property * sharpness_strength_property
Definition drm_crtc.h:1118
unsigned index
Definition drm_crtc.h:1009
struct drm_self_refresh_data * self_refresh_data
Definition drm_crtc.h:1206
spinlock_t commit_lock
Definition drm_crtc.h:1157
struct device_node * port
Definition drm_crtc.h:959
struct drm_object_properties properties
Definition drm_crtc.h:1106
struct drm_property * scaling_filter_property
Definition drm_crtc.h:1112
struct dentry * debugfs_entry
Definition drm_crtc.h:1164
int cursor_y
Definition drm_crtc.h:1026
bool enabled
Definition drm_crtc.h:1036
struct drm_mode_object base
Definition drm_crtc.h:985
char * name
Definition drm_crtc.h:970
struct drm_crtc_crc crc
Definition drm_crtc.h:1171
struct list_head commit_list
Definition drm_crtc.h:1150
uint16_t * gamma_store
Definition drm_crtc.h:1100
struct drm_display_mode hwmode
Definition drm_crtc.h:1062
int x
Definition drm_crtc.h:1071
struct drm_plane * cursor
Definition drm_crtc.h:1003
struct drm_device * dev
Definition drm_crtc.h:957
int cursor_x
Definition drm_crtc.h:1018
spinlock_t fence_lock
Definition drm_crtc.h:1185
struct drm_crtc_state * state
Definition drm_crtc.h:1133
char timeline_name[32]
Definition drm_crtc.h:1199
int y
Definition drm_crtc.h:1079
Definition drm_device.h:75
Definition drm_modes.h:252
Definition drm_file.h:165
Definition drm_framebuffer.h:120
Definition drm_mode_object.h:55
Definition drm_crtc.h:1222
struct drm_framebuffer * fb
Definition drm_crtc.h:1223
size_t num_connectors
Definition drm_crtc.h:1231
struct drm_crtc * crtc
Definition drm_crtc.h:1224
uint32_t x
Definition drm_crtc.h:1227
struct drm_connector ** connectors
Definition drm_crtc.h:1230
struct drm_display_mode * mode
Definition drm_crtc.h:1225
uint32_t y
Definition drm_crtc.h:1228
Definition drm_modeset_lock.h:46
Definition drm_modeset_lock.h:85
Definition drm_mode_object.h:67
Definition drm_vblank.h:43
Definition drm_modeset_helper_vtables.h:1189
Definition drm_plane.h:641
Definition drm_print.h:181
Definition drm_property.h:216
Definition drm_property.h:80
Definition drm_edid.h:291