Skip to content

RFC CABC patch list

Deepak M intel-gfx 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 RFC Latest2 patches 8 repliesIn review
  2. v1 RFC3 patches 1 replySuperseded

Changes in v3 from the cover letter

- removed the first patch from the list as it was not necessary
- addressed Daniel and Gaurav`s comments.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/i915: Parsing the PWM cntrl and CABC ON/OFF fileds in VBTdrivers/gpu/drm/i915/intel_bios.c drivers/gpu/drm/i915/intel_bios.h drivers/gpu/drm/i915/intel_dsi.h+19 -10 replies
2/2drm/i915: CABC support for backlight controldrivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/intel_dsi.c drivers/gpu/drm/i915/intel_panel.c +1 more+43 -712 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [RFC CABC v3 PATCH 0/2] CABC patch list

CABC stands for the Content Adaptive Backlight Control.
In the normal display the backlight which we see is due to the backlight which is being modulated by the filter, which is inturn dependent on the image. In brief the CABC does the histogram analysis of the image and then controls the filter and backlight. For example in CABC to display the dark image the backlight is dimmed and then controlls the filter to allow more light, because of which is power consuption will be reduced.

Below are the inital set of patches which supports the CABC. A field exits in the mipi configuration of the VBT which when enabled indiactes the CABC is supported. Depending on this filed the backlight control function pointer are initalized in the intel_panel.c file.

In case of dual link panels depending on the panel the DCS commands have to be send to either PORT A, PORT C or both PORT A and PORT C. Again a filed is added in the VBT to get this data from the version 197 onwards. One of the below patches parses these fields from the VBT.

v3:
- removed the first patch from the list as it was not necessary
- addressed Daniel and Gaurav`s comments.

Deepak M (2):
drm/i915: Parsing the PWM cntrl and CABC ON/OFF fileds in VBT drm/i915: CABC support for backlight control

 drivers/gpu/drm/i915/Makefile      |    1 +
 drivers/gpu/drm/i915/intel_bios.c  |   13 +++++++++++++
 drivers/gpu/drm/i915/intel_bios.h  |    5 ++++-
 drivers/gpu/drm/i915/intel_dsi.c   |   18 +++++++++++++++---
 drivers/gpu/drm/i915/intel_dsi.h   |    2 ++
 drivers/gpu/drm/i915/intel_panel.c |   23 +++++++++++++++++++----
 include/video/mipi_display.h       |    8 ++++++++
 7 files changed, 62 insertions(+), 8 deletions(-)
Signature · 6 lines
1.7.9.5

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx