Home
last modified time | relevance | path

Searched refs:preferred_mode (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/i915/display/ !
Dintel_panel.c76 const struct drm_display_mode *preferred_mode) in is_alt_drrs_mode() argument
78 return drm_mode_match(mode, preferred_mode, in is_alt_drrs_mode()
82 mode->clock != preferred_mode->clock; in is_alt_drrs_mode()
86 const struct drm_display_mode *preferred_mode) in is_alt_fixed_mode() argument
91 return (mode->flags & ~sync_flags) == (preferred_mode->flags & ~sync_flags) && in is_alt_fixed_mode()
92 mode->hdisplay == preferred_mode->hdisplay && in is_alt_fixed_mode()
93 mode->vdisplay == preferred_mode->vdisplay; in is_alt_fixed_mode()
194 const struct drm_display_mode *preferred_mode = in intel_panel_add_edid_alt_fixed_modes() local
199 if (!is_alt_fixed_mode(mode, preferred_mode)) in intel_panel_add_edid_alt_fixed_modes()
/linux-6.1.9/net/ceph/ !
Dauth.c73 ac->preferred_mode = con_modes[0]; in ceph_auth_init()
77 ac->name, ac->preferred_mode, ac->fallback_mode); in ceph_auth_init()
331 *pref_mode = ac->preferred_mode; in __ceph_auth_get_authorizer()
450 ret = encode_con_modes(&p, end, ac->preferred_mode, ac->fallback_mode); in ceph_auth_get_request()
521 if (!contains(allowed_modes, mode_cnt, ac->preferred_mode) && in ceph_auth_handle_bad_method()
525 ceph_con_mode_name(ac->preferred_mode)); in ceph_auth_handle_bad_method()
628 if (!contains(allowed_modes, mode_cnt, ac->preferred_mode) && in ceph_auth_handle_bad_authorizer()
632 ceph_con_mode_name(ac->preferred_mode), in ceph_auth_handle_bad_authorizer()
/linux-6.1.9/include/linux/ceph/ !
Dauth.h101 int preferred_mode; /* CEPH_CON_MODE_* */ member
/linux-6.1.9/drivers/gpu/drm/ !
Ddrm_edid.c2822 struct drm_display_mode *t, *cur_mode, *preferred_mode; in edid_fixup_preferred() local
2834 preferred_mode = list_first_entry(&connector->probed_modes, in edid_fixup_preferred()
2840 if (cur_mode == preferred_mode) in edid_fixup_preferred()
2844 if (MODE_SIZE(cur_mode) > MODE_SIZE(preferred_mode)) in edid_fixup_preferred()
2845 preferred_mode = cur_mode; in edid_fixup_preferred()
2848 preferred_vrefresh = drm_mode_vrefresh(preferred_mode); in edid_fixup_preferred()
2850 if ((MODE_SIZE(cur_mode) == MODE_SIZE(preferred_mode)) && in edid_fixup_preferred()
2853 preferred_mode = cur_mode; in edid_fixup_preferred()
2857 preferred_mode->type |= DRM_MODE_TYPE_PREFERRED; in edid_fixup_preferred()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/ !
Damdgpu_dm.c5731 struct drm_display_mode *preferred_mode = NULL; in create_stream_for_sink() local
5780 list_for_each_entry(preferred_mode, &aconnector->base.modes, head) { in create_stream_for_sink()
5782 if (preferred_mode->type & DRM_MODE_TYPE_PREFERRED) { in create_stream_for_sink()
5788 preferred_mode = list_first_entry_or_null( in create_stream_for_sink()
5795 if (preferred_mode == NULL) { in create_stream_for_sink()
5812 &mode, preferred_mode, scale); in create_stream_for_sink()
5814 preferred_refresh = drm_mode_vrefresh(preferred_mode); in create_stream_for_sink()
6632 struct drm_display_mode *preferred_mode = NULL; in amdgpu_dm_get_native_mode() local
6634 list_for_each_entry(preferred_mode, in amdgpu_dm_get_native_mode()
6637 if (preferred_mode->type & DRM_MODE_TYPE_PREFERRED) in amdgpu_dm_get_native_mode()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ !
Damdgpu_connectors.c370 struct drm_display_mode *preferred_mode = in amdgpu_get_native_mode() local
374 amdgpu_encoder->native_mode = *preferred_mode; in amdgpu_get_native_mode()
/linux-6.1.9/drivers/gpu/drm/radeon/ !
Dradeon_connectors.c379 struct drm_display_mode *preferred_mode = in radeon_get_native_mode() local
383 radeon_encoder->native_mode = *preferred_mode; in radeon_get_native_mode()