Home
last modified time | relevance | path

Searched refs:edp_dpcd (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_backlight.c249 u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE]; in nv50_backlight_init() local
252 ret = drm_dp_dpcd_read(&nv_conn->aux, DP_EDP_DPCD_REV, edp_dpcd, in nv50_backlight_init()
258 if (drm_edp_backlight_supported(edp_dpcd) && in nv50_backlight_init()
259 (edp_dpcd[1] & DP_EDP_BACKLIGHT_AUX_ENABLE_CAP) && in nv50_backlight_init()
260 (edp_dpcd[2] & DP_EDP_BACKLIGHT_BRIGHTNESS_AUX_SET_CAP)) { in nv50_backlight_init()
265 0, 0, edp_dpcd, in nv50_backlight_init()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_dp_aux_backlight.c544 intel_dp->edp_dpcd, &current_level, &current_mode, in intel_dp_aux_vesa_setup_backlight()
622 if (!(intel_dp->edp_dpcd[1] & DP_EDP_BACKLIGHT_AUX_ENABLE_CAP && in check_if_vesa_backlight_possible()
623 intel_dp->edp_dpcd[2] & DP_EDP_BACKLIGHT_BRIGHTNESS_AUX_SET_CAP)) in check_if_vesa_backlight_possible()
652 if ((intel_dp->edp_dpcd[3] & DP_EDP_PANEL_LUMINANCE_CONTROL_CAPABLE) && in intel_dp_aux_supports_vesa_backlight()
653 (intel_dp->edp_dpcd[3] & DP_EDP_SMOOTH_BRIGHTNESS_CAPABLE)) { in intel_dp_aux_supports_vesa_backlight()
661 if (drm_edp_backlight_supported(intel_dp->edp_dpcd) && in intel_dp_aux_supports_vesa_backlight()
729 if (intel_dp->edp_dpcd[0] >= DP_EDP_15) in intel_dp_aux_init_backlight_funcs()
745 if (try_intel_interface && intel_dp->edp_dpcd[0] <= DP_EDP_14b && in intel_dp_aux_init_backlight_funcs()
H A Dintel_dp.c4690 intel_edp_get_dsc_sink_cap(intel_dp->edp_dpcd[0], in intel_edp_set_sink_rates()
4757 if (intel_dp->edp_dpcd[0] < DP_EDP_14) in intel_edp_init_dpcd()
4812 if (intel_dp->edp_dpcd[0] >= DP_EDP_14) { in intel_dp_get_dpcd()
4895 intel_dp->edp_dpcd, sizeof(intel_dp->edp_dpcd)) == in intel_dp_mst_detect()
4896 sizeof(intel_dp->edp_dpcd)) { in intel_dp_mst_detect()
4898 (int)sizeof(intel_dp->edp_dpcd), in intel_dp_mst_detect()
4899 intel_dp->edp_dpcd); in intel_dp_mst_detect()
4901 intel_dp->use_max_params = intel_dp->edp_dpcd[0] < DP_EDP_14; in intel_dp_mst_detect()
4917 * This has to be called after intel_dp->edp_dpcd i in intel_dp_mst_configure()
[all...]
H A Dintel_psr.c688 if (!(intel_dp->edp_dpcd[1] & DP_EDP_SET_POWER_CAP)) { in _psr_init_dpcd()
1402 if (intel_dp->edp_dpcd[0] >= DP_EDP_15) in _compute_psr2_sdp_prior_scanline_indication()
1438 if (DISPLAY_VER(display) < 14 || intel_dp->edp_dpcd[0] < DP_EDP_14b) in intel_psr_entry_setup_frames()
H A Dintel_display_types.h1810 u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE];
1809 u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE]; global() member
/linux/include/drm/display/
H A Ddrm_dp_helper.h296 * @edp_dpcd: The DPCD to check
302 * Returns: %True if @edp_dpcd indicates that VESA backlight controls are supported, %false
306 drm_edp_backlight_supported(const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE]) in drm_edp_backlight_supported()
308 return !!(edp_dpcd[1] & DP_EDP_TCON_BACKLIGHT_ADJUSTMENT_CAP); in drm_edp_backlight_supported()
908 u16 driver_pwm_freq_hz, const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE],