drm/amd/display: Pass proper parent for DM backlight device v3
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest6 patches 2 repliesIn review
- v2 RFC6 patches 5 repliesSuperseded
- v1 RFC1 patch 2 repliesSuperseded
Changes in v3 from the cover letter
- Make amdgpu_dm_register_backlight_device() check bl_idx != 1 before registering the backlight since amdgpu_dm_connector_late_register() now calls it for _all_ connectors.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | drm/amd/display/amdgpu_dm: Fix backlight_device_register() error handlingdrivers/ | +3 | 0 replies | |
| 2/6 | drm/amd/display/amdgpu_dm: Refactor register_backlight_device()drivers/ | +15 | 0 replies | |
| 3/6 | drm/amd/display/amdgpu_dm: Add a bl_idx to amdgpu_dm_connectordrivers/ drivers/ | +17 | 0 replies | |
| 4/6 | drm/amd/display/amdgpu_dm: Move most backlight setup into setup_backlight_device()drivers/ | +8 | 0 replies | |
| 5/6 | drm/amd/display/amdgpu_dm: Make amdgpu_dm_register_backlight_device() take an amdgpu_dm_connectordrivers/ | +12 | 0 replies | |
| 6/6 | drm/amd/display/amdgpu_dm: Pass proper parent for backlight device registration v3drivers/ | +6 | 0 replies |
Reviews trailers per patch
None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Rodrigo Siqueira |
|---|---|
| Series | R-b |
| 1/6 | |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/6] drm/amd/display: Pass proper parent for DM backlight device v3
Hi All,
Here is version 3 of my patch series to pass the proper parent device to backlight_device_register().
Changes in v3:
- Make amdgpu_dm_register_backlight_device() check bl_idx != 1 before registering the backlight since amdgpu_dm_connector_late_register() now calls it for _all_ connectors.
Changes in v2:
- Patches 1 - 5 are new, reworking the code a bit to allow delaying the registering, so this has turned from a single patch into a 6 patch set.
- Patch 6 now delays the registering of the backlight_dev till after the drm_connector is registered by doing it from drm_connector_funcs.late_register.
Note this no longer is RFC since this has been successfully tested on 3 laptops which hit the affected code path.
Version 3 has also been tested on my personal AMD Ryzen 7 5700G APU desktop machine and now no longer tries to register a backlight device for each connector there.
Regards,
Hans
Hans de Goede (6):
drm/amd/display/amdgpu_dm: Fix backlight_device_register() error
handling
drm/amd/display/amdgpu_dm: Refactor register_backlight_device() drm/amd/display/amdgpu_dm: Add a bl_idx to amdgpu_dm_connector drm/amd/display/amdgpu_dm: Move most backlight setup into
setup_backlight_device()
drm/amd/display/amdgpu_dm: Make amdgpu_dm_register_backlight_device()
take an amdgpu_dm_connector
drm/amd/display/amdgpu_dm: Pass proper parent for backlight device
registration v3
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 100 ++++++++---------- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 1 + 2 files changed, 46 insertions(+), 55 deletions(-)
Signature · 1 line
2.39.1