projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65e75ed
)
drm/i915/dsi: fix MIPI_BKLT_EN_1 native GPIO index
author
Jani Nikula
<jani.nikula@intel.com>
Tue, 20 Dec 2022 14:01:05 +0000
(16:01 +0200)
committer
Jani Nikula
<jani.nikula@intel.com>
Thu, 22 Dec 2022 13:20:40 +0000
(15:20 +0200)
Due to copy-paste fail, MIPI_BKLT_EN_1 would always use PPS index 1,
never 0. Fix the sloppiest commit in recent memory.
Fixes:
f087cfe6fcff
("drm/i915/dsi: add support for ICL+ native MIPI GPIO sequence")
Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20221220140105.313333-1-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_dsi_vbt.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/display/intel_dsi_vbt.c
b/drivers/gpu/drm/i915/display/intel_dsi_vbt.c
index
41f025f
..
2cbc129
100644
(file)
--- a/
drivers/gpu/drm/i915/display/intel_dsi_vbt.c
+++ b/
drivers/gpu/drm/i915/display/intel_dsi_vbt.c
@@
-430,7
+430,7
@@
static void icl_native_gpio_set_value(struct drm_i915_private *dev_priv,
break;
case MIPI_BKLT_EN_1:
case MIPI_BKLT_EN_2:
- index = gpio == MIPI_
AVDD
_EN_1 ? 0 : 1;
+ index = gpio == MIPI_
BKLT
_EN_1 ? 0 : 1;
intel_de_rmw(dev_priv, PP_CONTROL(index), EDP_BLC_ENABLE,
value ? EDP_BLC_ENABLE : 0);