Skip to content

Commit d082119

Browse files
Lyuderodrigovivi
authored andcommitted
drm/i915/dpcd_bl: Unbreak enable_dpcd_backlight modparam
Looks like I accidentally made it so you couldn't force DPCD backlight support on, whoops. Fix that. Signed-off-by: Lyude Paul <[email protected]> Fixes: 17f5d57 ("drm/i915: Force DPCD backlight mode on X1 Extreme 2nd Gen 4K AMOLED panel") Cc: Adam Jackson <[email protected]> Cc: Jani Nikula <[email protected]> Cc: Joonas Lahtinen <[email protected]> Cc: "Ville Syrjälä" <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit d7fb38a) Signed-off-by: Rodrigo Vivi <[email protected]>
1 parent a05b289 commit d082119

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ int intel_dp_aux_init_backlight_funcs(struct intel_connector *intel_connector)
342342
*/
343343
if (dev_priv->vbt.backlight.type !=
344344
INTEL_BACKLIGHT_VESA_EDP_AUX_INTERFACE &&
345+
i915_modparams.enable_dpcd_backlight != 1 &&
345346
!drm_dp_has_quirk(&intel_dp->desc, intel_dp->edid_quirks,
346347
DP_QUIRK_FORCE_DPCD_BACKLIGHT)) {
347348
DRM_DEV_INFO(dev->dev,

0 commit comments

Comments
 (0)