drm/amdgpu/display: add support for multiple backlights
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 8 Jul 2021 20:31:10 +0000 (16:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Jul 2021 02:10:15 +0000 (22:10 -0400)
commit7fd13baeb7a3a48cae12c36c52f06bf4e9e7d728
treef6fb3eeaebe0fca97bcc92d772fa5b48bdb4dac1
parent50dea4ec1afbd75ccf5089a7b31c54753a36ec7f
drm/amdgpu/display: add support for multiple backlights

On platforms that support multiple backlights, register
each one separately.  This lets us manage them independently
rather than registering a single backlight and applying the
same settings to both.

v2: fix typo:
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h