Re: [PATCH v2] drm/i915/quirk: Add quirk for devices that cannot be dimmed
From: Josh Triplett
Date: Thu Jun 22 2023 - 13:51:16 EST
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/