]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit643da47cc11d84b22f37fec53bdb21f59a733455
treef6fb3eeaebe0fca97bcc92d772fa5b48bdb4dac1
parent082260ae4f255c969c5f1a981f66d4184a2b1785
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