artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4559541
)
drm/i915/dsi: fix MIPI_BKLT_EN_1 native GPIO index
author
jsg
<jsg@openbsd.org>
Fri, 13 Jan 2023 02:03:06 +0000
(
02:03
+0000)
committer
jsg
<jsg@openbsd.org>
Fri, 13 Jan 2023 02:03:06 +0000
(
02:03
+0000)
From Jani Nikula
0c84b7de26588f4032992ee2a1df6c3d367be829
in linux-6.1.y/6.1.5
6217e9f05a74df48c77ee68993d587cdfdb1feb7
in mainline linux
sys/dev/pci/drm/i915/display/intel_dsi_vbt.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/i915/display/intel_dsi_vbt.c
b/sys/dev/pci/drm/i915/display/intel_dsi_vbt.c
index
3dfafae
..
6d2ba11
100644
(file)
--- a/
sys/dev/pci/drm/i915/display/intel_dsi_vbt.c
+++ b/
sys/dev/pci/drm/i915/display/intel_dsi_vbt.c
@@
-437,7
+437,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);