Skip to content

Backlight fixes

Alex Deucher amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/amdgpu/display: simplify backlight settingdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c+4 -160 replies
2/4drm/amdgpu/display: don't assert in set backlight functiondrivers/gpu/drm/amd/display/dc/core/dc_link.c+0 -13 replies
3/4drm/amdgpu/display: handle aux backlight in backlight_get_brightnessdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c+20 -40 replies
4/4drm/amd/display: Add a backlight module optiondrivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c+10 -00 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchNicholas Kazlauskas
1/4
2/4R-b
3/4
4/4

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

Read the v1 thread

Cover letter [PATCH 0/4] Backlight fixes

This builds on the debugging and patches that Takashi did on the bugs referenced in the patches. It seems some latops claim to support aux backlight control, but actually use the old pwm controller.

The code also currently warns in the backlight control function if there is no pipe assigned, but this is a common case if the display happens to be off when the backlight level is changed and it just spams the logs, so remove it.

This set wires up the aux controller to the backlight control, cleans up the code an bit, removes the assert, and adds an option to override the backlight type.

@Display team, can you check if there are any quirks or differences in the backlight control detection on windows? Presumably this is properly detected there. The systems in question claim to support aux backlight control in their DPCDs, but that doesn't seem to work.

Alex Deucher (3):
drm/amdgpu/display: simplify backlight setting drm/amdgpu/display: don't assert in set backlight function drm/amdgpu/display: handle aux backlight in backlight_get_brightness

Takashi Iwai (1):
drm/amd/display: Add a backlight module option

 drivers/gpu/drm/amd/amdgpu/amdgpu.h           |  1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c       |  4 ++
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 49 +++++++++++--------
 drivers/gpu/drm/amd/display/dc/core/dc_link.c |  1 -
 4 files changed, 34 insertions(+), 21 deletions(-)
Signature · 6 lines
2.29.2

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx