[PATCH 0/2] [SRU][OEM-B]UBUNTU: SAUCE: enable adjusting brightness on some samsung OLED panels

Aaron Ma aaron.ma at canonical.com
Fri Oct 11 15:28:20 UTC 2019


BugLink: https://bugs.launchpad.net/bugs/1844798

[Impact]
OLED backlight of Samsung is not supported by the current kernel.
brightness can't be adjusted.

[Fix]
Fix max brightness value;
Follow samsung panel's spec to enable dpcd and
support adjusting brightness on OLED.

[Test]
Verified on several laptops, backlight on and brightness is adjusted.

[Regression Potential]
Medium, change is limited to specific hardware feature.
Verified on no dpcd support laptops, no regression found yet.

These patches are still working in progress, but brightness adjustion
is a must-have feature in some urgent projects,
so we apply this fix first on bionic oem kernel only,
once got the final fix we can rework these patches.

Furquan Shaikh (1):
  UBUNTU: SAUCE: i915: intel_dp_aux_backlight: Fix max backlight
    calculations

Lee Shawn C (1):
  UBUNTU: SAUCE: drm/i915: customize DPCD brightness control for
    specific panel

 drivers/gpu/drm/drm_dp_helper.c               |  18 +-
 drivers/gpu/drm/i915/intel_dp.c               |   7 +
 drivers/gpu/drm/i915/intel_dp_aux_backlight.c | 273 ++++++++++++++----
 include/drm/drm_dp_helper.h                   |  20 ++
 4 files changed, 266 insertions(+), 52 deletions(-)

-- 
2.17.1




More information about the kernel-team mailing list