Some OEMs support custom brightness curves where the ATIF method includes a collection of data points where the input signal is mapped out to percentage of luminance. This series shuffles around some code to add in the ability to do that mapping in amdgpu_dm when brightness is set. Mario Limonciello (5): drm/amd: Copy entire structure in amdgpu_acpi_get_backlight_caps() drm/amd: Pass luminance data to amdgpu_dm_backlight_caps drm/amd/display: Avoid operating on copies of backlight caps drm/amd/display: Add support for custom brightness curve drm/amd/display: Add a new dcdebugmask to allow turning off brightness curve drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 10 +-- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 80 ++++++++++++------- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 20 +++++ drivers/gpu/drm/amd/include/amd_acpi.h | 9 +-- drivers/gpu/drm/amd/include/amd_shared.h | 4 + 5 files changed, 81 insertions(+), 42 deletions(-) -- 2.43.0