/linux/include/drm/ |
H A D | drm_modes.h | 164 * This macro initializes a &drm_display_mode that contains information about 177 * This macro initializes a &drm_display_mode that only contains info about 198 * struct drm_display_mode - DRM kernel-internal display mode structure 252 struct drm_display_mode { struct 423 * DRM_MODE_FMT - printf string for &struct drm_display_mode argument 428 * DRM_MODE_ARG - printf arguments for &struct drm_display_mode 437 #define obj_to_mode(x) container_of(x, struct drm_display_mode, base) 441 * @mode: drm_display_mode to check 447 static inline bool drm_mode_is_stereo(const struct drm_display_mode *mode) in drm_mode_is_stereo() 455 struct drm_display_mode *drm_mode_create(struct drm_device *dev); [all …]
|
H A D | drm_encoder_slave.h | 81 const struct drm_display_mode *mode, 82 struct drm_display_mode *adjusted_mode); 88 struct drm_display_mode *mode); 94 struct drm_display_mode *mode, 95 struct drm_display_mode *adjusted_mode); 228 const struct drm_display_mode *mode, 229 struct drm_display_mode *adjusted_mode); 233 struct drm_display_mode *mode, 234 struct drm_display_mode *adjusted_mode);
|
H A D | drm_probe_helper.h | 34 const struct drm_display_mode *mode, 35 const struct drm_display_mode *fixed_mode); 38 const struct drm_display_mode *fixed_mode);
|
H A D | drm_edid.h | 31 struct drm_display_mode; 349 const struct drm_display_mode *mode); 354 const struct drm_display_mode *mode); 358 const struct drm_display_mode *mode); 363 const struct drm_display_mode *mode, 434 u8 drm_match_cea_mode(const struct drm_display_mode *to_match); 438 drm_default_rgb_quant_range(const struct drm_display_mode *mode); 446 struct drm_display_mode *drm_mode_find_dmt(struct drm_device *dev, 449 struct drm_display_mode *
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_panel.h | 15 struct drm_display_mode; 29 const struct drm_display_mode * 31 const struct drm_display_mode * 33 const struct drm_display_mode *mode); 34 const struct drm_display_mode * 36 const struct drm_display_mode *adjusted_mode); 37 const struct drm_display_mode * 39 const struct drm_display_mode *adjusted_mode); 44 const struct drm_display_mode *mode); 48 struct drm_display_mode *adjusted_mode);
|
H A D | intel_panel.c | 58 const struct drm_display_mode * 62 struct drm_display_mode, head); in intel_panel_preferred_fixed_mode() 67 const struct drm_display_mode *best_mode) in is_best_fixed_mode() 88 const struct drm_display_mode * 90 const struct drm_display_mode *mode) in intel_panel_fixed_mode() 92 const struct drm_display_mode *fixed_mode, *best_mode = NULL; in intel_panel_fixed_mode() 106 static bool is_alt_drrs_mode(const struct drm_display_mode *mode, in is_alt_drrs_mode() 107 const struct drm_display_mode *preferred_mode) in is_alt_drrs_mode() 116 static bool is_alt_fixed_mode(const struct drm_display_mode *mode, in is_alt_fixed_mode() 117 const struct drm_display_mode *preferred_mode) in is_alt_fixed_mode() [all …]
|
H A D | intel_vblank.h | 13 struct drm_display_mode; 23 int intel_mode_vdisplay(const struct drm_display_mode *mode); 24 int intel_mode_vblank_start(const struct drm_display_mode *mode); 25 int intel_mode_vblank_end(const struct drm_display_mode *mode); 26 int intel_mode_vtotal(const struct drm_display_mode *mode);
|
H A D | intel_dvo_dev.h | 31 struct drm_display_mode; 74 struct drm_display_mode *mode); 84 const struct drm_display_mode *mode, 85 const struct drm_display_mode *adjusted_mode);
|
/linux/drivers/gpu/drm/gma500/ |
H A D | psb_intel_drv.h | 73 struct drm_display_mode *panel_fixed_mode; 74 struct drm_display_mode *panel_fixed_mode2; 75 struct drm_display_mode *vbt_mode; /* if any */ 151 struct drm_display_mode saved_mode; 152 struct drm_display_mode saved_adjusted_mode; 207 extern struct drm_display_mode *psb_intel_crtc_mode_get(struct drm_device *dev, 212 const struct drm_display_mode *mode, 213 struct drm_display_mode *adjusted_mode); 215 struct drm_display_mode *mode); 231 struct drm_display_mode *mode, [all …]
|
H A D | cdv_intel_lvds.c | 156 struct drm_display_mode *mode) in cdv_intel_lvds_mode_valid() 160 struct drm_display_mode *fixed_mode = in cdv_intel_lvds_mode_valid() 181 const struct drm_display_mode *mode, in cdv_intel_lvds_mode_fixup() 182 struct drm_display_mode *adjusted_mode) in cdv_intel_lvds_mode_fixup() 188 struct drm_display_mode *panel_fixed_mode = mode_dev->panel_fixed_mode; in cdv_intel_lvds_mode_fixup() 261 struct drm_display_mode *mode, in cdv_intel_lvds_mode_set() 262 struct drm_display_mode *adjusted_mode) in cdv_intel_lvds_mode_set() 312 struct drm_display_mode *mode = in cdv_intel_lvds_get_modes() 485 struct drm_display_mode *scan; in cdv_intel_lvds_init()
|
/linux/drivers/gpu/drm/ |
H A D | drm_modes.c | 58 void drm_mode_debug_printmodeline(const struct drm_display_mode *mode) in drm_mode_debug_printmodeline() 68 * Create a new, cleared drm_display_mode with kzalloc, allocate an ID for it 74 struct drm_display_mode *drm_mode_create(struct drm_device *dev) in drm_mode_create() 76 struct drm_display_mode *nmode; in drm_mode_create() 78 nmode = kzalloc(sizeof(struct drm_display_mode), GFP_KERNEL); in drm_mode_create() 93 void drm_mode_destroy(struct drm_device *dev, struct drm_display_mode *mode) in drm_mode_destroy() 112 struct drm_display_mode *mode) in drm_mode_probed_add() 326 struct drm_display_mode *mode, in fill_analog_mode() 533 * This function creates a struct drm_display_mode instance suited for 545 struct drm_display_mode *drm_analog_tv_mode(struct drm_device *dev, in drm_analog_tv_mode() [all …]
|
H A D | drm_crtc_helper_internal.h | 35 struct drm_display_mode; 41 const struct drm_display_mode *mode); 43 const struct drm_display_mode *mode); 46 struct drm_display_mode *mode,
|
H A D | drm_client_modeset.c | 120 static struct drm_display_mode * 123 struct drm_display_mode *mode; in drm_connector_get_tiled_mode() 133 static struct drm_display_mode * 136 struct drm_display_mode *mode; in drm_connector_fallback_non_tiled_mode() 147 static struct drm_display_mode * 150 struct drm_display_mode *mode; in drm_connector_has_preferred_mode() 162 static struct drm_display_mode *drm_connector_pick_cmdline_mode(struct drm_connector *connector) in drm_connector_pick_cmdline_mode() 165 struct drm_display_mode *mode; in drm_connector_pick_cmdline_mode() 263 struct drm_display_mode **modes, in drm_client_target_cloned() 269 struct drm_display_mode *dmt_mode, *mode; in drm_client_target_cloned() [all …]
|
/linux/drivers/gpu/drm/sti/ |
H A D | sti_vtg.h | 20 struct drm_display_mode; 25 const struct drm_display_mode *mode); 31 u32 sti_vtg_get_line_number(struct drm_display_mode mode, int y); 32 u32 sti_vtg_get_pixel_number(struct drm_display_mode mode, int x);
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | atombios_crtc.h | 28 struct drm_display_mode *mode, 29 struct drm_display_mode *adjusted_mode); 37 struct drm_display_mode *mode); 56 struct drm_display_mode *mode); 58 struct drm_display_mode *mode);
|
/linux/include/drm/bridge/ |
H A D | dw_mipi_dsi.h | 20 struct drm_display_mode; 38 const struct drm_display_mode *mode, 58 const struct drm_display_mode *mode, 62 bool (*mode_fixup)(void *priv_data, const struct drm_display_mode *mode, 63 struct drm_display_mode *adjusted_mode);
|
/linux/drivers/gpu/drm/meson/ |
H A D | meson_venc.h | 17 struct drm_display_mode; 56 meson_venc_hdmi_supported_mode(const struct drm_display_mode *mode); 69 const struct drm_display_mode *mode); 71 const struct drm_display_mode *mode);
|
/linux/drivers/gpu/drm/panel/ |
H A D | panel-simple.c | 56 const struct drm_display_mode *modes; 153 struct drm_display_mode override_mode; 166 struct drm_display_mode *mode; in panel_simple_get_timings_modes() 198 struct drm_display_mode *mode; in panel_simple_get_display_modes() 202 const struct drm_display_mode *m = &panel->desc->modes[i]; in panel_simple_get_display_modes() 229 struct drm_display_mode *mode; in panel_simple_get_non_edid_modes() 762 static const struct drm_display_mode ampire_am_1280800n3tzqw_t00h_mode = { 788 static const struct drm_display_mode ampire_am_480272h3tmqw_t01h_mode = { 812 static const struct drm_display_mode ampire_am800480r3tmqwa1h_mode = { 922 static const struct drm_display_mode auo_b101aw03_mode = { [all …]
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_mode.h | 341 struct drm_display_mode native_mode; 362 struct drm_display_mode hw_mode; 383 struct drm_display_mode native_mode; 427 struct drm_display_mode native_mode; 452 struct drm_display_mode native_mode; 706 struct drm_display_mode *mode); 708 const struct drm_display_mode *mode); 808 struct drm_display_mode *mode, 809 struct drm_display_mode *adjusted_mode, 837 const struct drm_display_mode *mode); [all …]
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_hdmi_state_helper_test.c | 43 static struct drm_display_mode *find_preferred_mode(struct drm_connector *connector) in find_preferred_mode() 46 struct drm_display_mode *mode, *preferred; in find_preferred_mode() 49 preferred = list_first_entry(&connector->modes, struct drm_display_mode, head); in find_preferred_mode() 62 struct drm_display_mode *mode, in light_up_connector() 118 const struct drm_display_mode *mode, in reject_connector_tmds_char_rate_valid() 244 struct drm_display_mode *preferred; in drm_test_check_broadcast_rgb_crtc_mode_changed() 307 struct drm_display_mode *preferred; in drm_test_check_broadcast_rgb_crtc_mode_not_changed() 370 struct drm_display_mode *preferred; in drm_test_check_broadcast_rgb_auto_cea_mode() 426 struct drm_display_mode *mode; in drm_test_check_broadcast_rgb_auto_cea_mode_vic_1() 482 struct drm_display_mode *preferred; in drm_test_check_broadcast_rgb_full_cea_mode() [all …]
|
H A D | drm_modes_test.c | 42 struct drm_display_mode *mode; in drm_test_modes_analog_tv_ntsc_480i() 72 struct drm_display_mode *expected, *mode; in drm_test_modes_analog_tv_ntsc_480i_inlined() 89 struct drm_display_mode *mode; in drm_test_modes_analog_tv_pal_576i() 119 struct drm_display_mode *expected, *mode; in drm_test_modes_analog_tv_pal_576i_inlined() 136 struct drm_display_mode *mode; in drm_test_modes_analog_tv_mono_576i()
|
H A D | drm_client_modeset_test.c | 24 struct drm_display_mode *mode; in drm_client_modeset_connector_get_modes() 91 struct drm_display_mode *expected_mode, *mode; in drm_test_pick_cmdline_res_1920_1080_60() 116 struct drm_display_mode *(*func)(struct drm_device *drm); 132 const struct drm_display_mode *expected_mode, *mode; in drm_test_pick_cmdline_named()
|
/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_drm.h | 35 const struct drm_display_mode *mode); 37 const struct drm_display_mode *mode, 38 const struct drm_display_mode *adjusted_mode);
|
/linux/drivers/gpu/drm/omapdrm/ |
H A D | omap_encoder.c | 73 struct drm_display_mode *mode, in omap_encoder_mode_set() 74 struct drm_display_mode *adjusted_mode) in omap_encoder_mode_set() 93 * struct drm_display_mode does not contain the VSYNC/HSYNC/DE flags and in omap_encoder_mode_set() 95 * drm_display_mode and struct videomode. The hack below goes and in omap_encoder_mode_set()
|
/linux/drivers/gpu/drm/armada/ |
H A D | armada_drm.h | 18 struct drm_display_mode; 46 const struct drm_display_mode *, 49 void (*enable)(struct armada_crtc *, const struct drm_display_mode *);
|