Skip to content

drm/gma500: Backlight handling changes

Hans de Goede dri-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 4 repliesIn review
  2. v25 patches 4 repliesSuperseded
  3. v14 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- Fix unused variable warnings when CONFIG_BACKLIGHT is not selected by marking the 2 variables as __maybe_unused.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/gma500: Refactor backlight support (v2)drivers/gpu/drm/gma500/backlight.c drivers/gpu/drm/gma500/cdv_device.c drivers/gpu/drm/gma500/oaktrail_device.c +4 more+87 -2270 replies
2/5drm/gma500: Change registered backlight device type to raw/nativedrivers/gpu/drm/gma500/backlight.c+1 -10 replies
3/5drm/gma500: Use backlight_get_brightness() to get the brightnessdrivers/gpu/drm/gma500/backlight.c+1 -10 replies
4/5drm/gma500: Don't register backlight when another backlight should be useddrivers/gpu/drm/gma500/backlight.c+8 -00 replies
5/5drm/gma500: Call acpi_video_register_backlight()drivers/gpu/drm/gma500/psb_drv.c+2 -00 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSam RavnborgPatrik Jakobsson
SeriesA-b
1/5
2/5
3/5A-b
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/5] drm/gma500: Backlight handling changes

Hi All,

Here is a patch-series changing gma500's backlight handling to match the changes done to the other major x86 GPU drivers in the just landed backlight detection refactor patch series:
https://lore.kernel.org/dri-devel/[email protected]/

The main goal is here is to only register one backlight class device instead of registering both "acpi_video0" and "psb-bl" backlight class devices; in preparation for implementing the new backlight userspace-API from:
https://lore.kernel.org/dri-devel/[email protected]/

Changes in v2:
- Add "Use backlight_get_brightness() to get the brightness" patch

Changes in v3:
- Fix unused variable warnings when CONFIG_BACKLIGHT is not selected by marking the 2 variables as __maybe_unused.

Regards,

Hans

Hans de Goede (5):
drm/gma500: Refactor backlight support (v2)
drm/gma500: Change registered backlight device type to raw/native drm/gma500: Use backlight_get_brightness() to get the brightness drm/gma500: Don't register backlight when another backlight should be
used
drm/gma500: Call acpi_video_register_backlight()

 drivers/gpu/drm/gma500/backlight.c       | 102 +++++++++++++++--------
 drivers/gpu/drm/gma500/cdv_device.c      |  50 ++---------
 drivers/gpu/drm/gma500/oaktrail_device.c |  65 ++-------------
 drivers/gpu/drm/gma500/opregion.c        |   6 +-
 drivers/gpu/drm/gma500/psb_device.c      |  73 +---------------
 drivers/gpu/drm/gma500/psb_drv.c         |  15 +---
 drivers/gpu/drm/gma500/psb_drv.h         |  13 +--
 7 files changed, 97 insertions(+), 227 deletions(-)
Signature · 1 line
2.37.3