mbox series

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

Message ID 20191011152822.26495-1-aaron.ma@canonical.com
Headers show
Series UBUNTU: SAUCE: enable adjusting brightness on some samsung OLED panels | expand

Message

Aaron Ma Oct. 11, 2019, 3:28 p.m. UTC
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(-)

Comments

Timo Aaltonen Oct. 11, 2019, 4:47 p.m. UTC | #1
On 11.10.2019 18.28, Aaron Ma wrote:
> 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.

Indeed, so.. applied to oem-next.