Searched refs:edp_dpcd (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_backlight.c | 249 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 D | intel_dp_aux_backlight.c | 544 intel_dp->edp_dpcd, ¤t_level, ¤t_mode, in intel_dp_aux_vesa_setup_backlight() 618 if (!(intel_dp->edp_dpcd[2] & DP_EDP_BACKLIGHT_BRIGHTNESS_AUX_SET_CAP)) in check_if_vesa_backlight_possible() 647 if ((intel_dp->edp_dpcd[3] & DP_EDP_PANEL_LUMINANCE_CONTROL_CAPABLE) && in intel_dp_aux_supports_vesa_backlight() 648 (intel_dp->edp_dpcd[3] & DP_EDP_SMOOTH_BRIGHTNESS_CAPABLE)) { in intel_dp_aux_supports_vesa_backlight() 656 if (drm_edp_backlight_supported(intel_dp->edp_dpcd) && in intel_dp_aux_supports_vesa_backlight() 724 if (intel_dp->edp_dpcd[0] >= DP_EDP_15) in intel_dp_aux_init_backlight_funcs() 740 if (try_intel_interface && intel_dp->edp_dpcd[0] <= DP_EDP_14b && in intel_dp_aux_init_backlight_funcs()
|
| /linux/drivers/gpu/drm/display/ |
| H A D | drm_dp_helper.c | 4368 u16 driver_pwm_freq_hz, const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE]) in drm_edp_backlight_probe_max() 4481 if (edp_dpcd[2] & DP_EDP_BACKLIGHT_FREQ_AUX_SET_CAP) { in drm_edp_backlight_probe_max() 4575 u16 driver_pwm_freq_hz, const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE], in drm_edp_backlight_init() 4580 if (edp_dpcd[1] & DP_EDP_BACKLIGHT_AUX_ENABLE_CAP) in drm_edp_backlight_init() 4582 if (edp_dpcd[2] & DP_EDP_BACKLIGHT_BRIGHTNESS_AUX_SET_CAP) in drm_edp_backlight_init() 4584 if (edp_dpcd[2] & DP_EDP_BACKLIGHT_BRIGHTNESS_BYTE_COUNT) in drm_edp_backlight_init() 4586 if ((edp_dpcd[0] & DP_EDP_15) && edp_dpcd[3] & in drm_edp_backlight_init() 4591 if (!bl->aux_set && !(edp_dpcd[2] & DP_EDP_BACKLIGHT_BRIGHTNESS_PWM_PIN_CAP) && in drm_edp_backlight_init() 4602 ret = drm_edp_backlight_probe_max(aux, bl, driver_pwm_freq_hz, edp_dpcd); in drm_edp_backlight_init() 4684 u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE]; in drm_panel_dp_aux_backlight() local [all …]
|
| /linux/include/drm/display/ |
| H A D | drm_dp_helper.h | 307 drm_edp_backlight_supported(const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE]) in drm_edp_backlight_supported() 309 return !!(edp_dpcd[1] & DP_EDP_TCON_BACKLIGHT_ADJUSTMENT_CAP); in drm_edp_backlight_supported() 909 u16 driver_pwm_freq_hz, const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE],
|