artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5187f4d
)
drm/amd/display: Don't check registers, if using AUX BL control
author
jsg
<jsg@openbsd.org>
Mon, 9 Oct 2023 02:29:10 +0000
(
02:29
+0000)
committer
jsg
<jsg@openbsd.org>
Mon, 9 Oct 2023 02:29:10 +0000
(
02:29
+0000)
From Swapnil Patel
b9971393d4c9be5eec3c6b30d9e312ba88c865ac
in linux-6.1.y/6.1.56
f5b2c10b57615828b531bb0ae56bd6325a41167e
in mainline linux
sys/dev/pci/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
b/sys/dev/pci/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
index
bee7efa
..
e61d484
100644
(file)
--- a/
sys/dev/pci/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
+++ b/
sys/dev/pci/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
@@
-973,7
+973,9
@@
void dce110_edp_backlight_control(
return;
}
- if (link->panel_cntl) {
+ if (link->panel_cntl && !(link->dpcd_sink_ext_caps.bits.oled ||
+ link->dpcd_sink_ext_caps.bits.hdr_aux_backlight_control == 1 ||
+ link->dpcd_sink_ext_caps.bits.sdr_aux_backlight_control == 1)) {
bool is_backlight_on = link->panel_cntl->funcs->is_panel_backlight_on(link->panel_cntl);
if ((enable && is_backlight_on) || (!enable && !is_backlight_on)) {