]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd: Pass luminance data to amdgpu_dm_backlight_caps
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 28 Feb 2025 18:51:42 +0000 (12:51 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Mar 2025 15:42:42 +0000 (10:42 -0500)
commitf729e63743f0fbd504a1464e9495c456f63ff7ef
treebbbdd6370a50d041f898f20a23f5096afdf600f5
parent1c79b5fcdf1a29525dbb6e8243d0e63c0e9a5000
drm/amd: Pass luminance data to amdgpu_dm_backlight_caps

The ATIF method on some systems will provide a backlight curve. Pass
this curve into amdgpu_dm add it to the structures.

Reviewed-by: Alex Hung <alex.hung@amd.com>
Link: https://lore.kernel.org/r/20250228185145.186319-3-mario.limonciello@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@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.h
drivers/gpu/drm/amd/include/amd_acpi.h