[PATCH 0/1][SRU][OEM-5.6] UBUNTU: SAUCE: Fix brightness control on BOE 2270 panel

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH 0/1][SRU][OEM-5.6] UBUNTU: SAUCE: Fix brightness control on BOE 2270 panel

Aaron Ma
BugLink: https://bugs.launchpad.net/bugs/1904991

[Impact]
BOE 2270 panel is used by several models of ThinkPads.
This brightness can not be controlled by default PWM.

[Fix]
The panel claims both PWM and AUX supports.
But actually PWM works on SDR mode, AUX works on HDR mode.
Intel i915 driver got a new SDR support to use PWM by maintainer, still
in upstream review.
To fix this on certain project, use a quirk first to fix this.
The maintainer's fix can be backported in future.

[Test Case]
Backlight brightness can be changed.

[Regression Potential]
Low,
Fix for specific panel ID, no effects for others.
Since this is temporary quirk, it will go to oem-5.6 only.

Aaron Ma (1):
  UBUNTU: SAUCE: drm/i915: Force DPCD backlight mode for BOE 2270 panel

 drivers/gpu/drm/drm_dp_helper.c | 1 +
 1 file changed, 1 insertion(+)

--
2.28.0


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

[PATCH 1/1] UBUNTU: SAUCE: drm/i915: Force DPCD backlight mode for BOE 2270 panel

Aaron Ma
BugLink: https://bugs.launchpad.net/bugs/1904991

BOE 2270 panel failed to control backlight brightness.
Add it in edid quirks to force using DPCD backlight control.
Then the brightness can be controlled.

Signed-off-by: Aaron Ma <[hidden email]>
Signed-off-by: Lyude Paul <[hidden email]>
Link: https://patchwork.freedesktop.org/patch/msgid/20201009085750.88490-2-aaron.ma@...
(backported from commit 055f8458d95a38c20e8360634255f684378179eb
https://anongit.freedesktop.org/git/drm-intel.git)
Signed-off-by: Aaron Ma <[hidden email]>
---
 drivers/gpu/drm/drm_dp_helper.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu/drm/drm_dp_helper.c
index ce5ed08995b3..d0cf66115acf 100644
--- a/drivers/gpu/drm/drm_dp_helper.c
+++ b/drivers/gpu/drm/drm_dp_helper.c
@@ -1471,6 +1471,7 @@ static const struct edid_quirk edid_quirk_list[] = {
  * PSR being enabled.
  */
  { MFG(0x0d, 0xae), PROD_ID(0x19, 0x15), BIT(DP_QUIRK_FORCE_PSR_CHIP_DEFAULT) },
+ { MFG(0x09, 0xe5), PROD_ID(0xde, 0x08), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) },
 };
 
 #undef MFG
--
2.28.0


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team