Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_dp_aux_backlight.c108 static bool is_intel_tcon_cap(const u8 tcon_cap[4]) in is_intel_tcon_cap()
110 return tcon_cap[0] >= 1; in is_intel_tcon_cap()
122 u8 tcon_cap[4]; in intel_dp_aux_supports_hdr_backlight() local
126 ret = drm_dp_dpcd_read(aux, INTEL_EDP_HDR_TCON_CAP0, tcon_cap, sizeof(tcon_cap)); in intel_dp_aux_supports_hdr_backlight()
127 if (ret != sizeof(tcon_cap)) in intel_dp_aux_supports_hdr_backlight()
130 if (!(tcon_cap[1] & INTEL_EDP_HDR_TCON_BRIGHTNESS_NITS_CAP)) in intel_dp_aux_supports_hdr_backlight()
135 is_intel_tcon_cap(tcon_cap) ? "Intel" : "unsupported", tcon_cap[0]); in intel_dp_aux_supports_hdr_backlight()
137 if (!is_intel_tcon_cap(tcon_cap)) in intel_dp_aux_supports_hdr_backlight()
160 tcon_cap[2] & INTEL_EDP_SDR_TCON_BRIGHTNESS_AUX_CAP; in intel_dp_aux_supports_hdr_backlight()