[PATCH v2] drm/i915/quirk: Add quirk for devices that cannot be dimmed

Josh Triplett josh at joshtriplett.org
Thu Jun 22 17:51:02 UTC 2023


On Thu, Jun 22, 2023 at 05:28:15PM +0000, Allen Ballway wrote:
> --- a/drivers/gpu/drm/i915/display/intel_backlight.c
> +++ b/drivers/gpu/drm/i915/display/intel_backlight.c
> @@ -1192,6 +1192,11 @@ static u32 get_backlight_min_vbt(struct intel_connector *connector)
> 
>  	drm_WARN_ON(&i915->drm, panel->backlight.pwm_level_max == 0);
> 
> +	if (intel_has_quirk(i915, QUIRK_NO_DIM)) {
> +		/* Cannot dim backlight, set minimum to hightest value */

Typo: s/hightest/highest/


More information about the dri-devel mailing list