[RFC v2 0/6] drm/amd/display: Pass proper parent for DM backlight device v2

Rodrigo Siqueira Jordao Rodrigo.Siqueira at amd.com
Fri Mar 10 22:12:47 UTC 2023


Hi Hans,

Which AMD device do you have available for testing this series?

P.s.: If you have a new version of this series, could you also Cc me?

Thanks for your patchset.
Siqueira

On 3/8/23 14:58, Hans de Goede wrote:
> Hi All,
> 
> Here is version 2 of my patch series to pass the proper parent device
> to backlight_device_register().
> 
> New in version 2 is delaying the registering of the backlight_dev till
> after the drm_connector is registered by doing it from
> drm_connector_funcs.late_register.
> 
> This involves first reworking the code a bit to allow delaying
> the registering, so this has turned from a single patch into
> a 6 patch set.
> 
> 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: Pass proper parent for DM backlight device
>      registration v2
> 
>   .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 99 ++++++++-----------
>   .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h |  1 +
>   2 files changed, 44 insertions(+), 56 deletions(-)
> 



More information about the amd-gfx mailing list