drm/amd/display: gradually ramp ABM intensity
authorRizvi <syerizvi@amd.com>
Wed, 2 Dec 2020 21:52:22 +0000 (14:52 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Dec 2020 20:01:47 +0000 (15:01 -0500)
commite8e91f9395ef13cf054860f8ccd757333d9b6d0d
tree38c03c78475507831abe60d2a00b71ec6f2f37d9
parent9413b23fadad3861f5afd626ac44ef83ad8068ab
drm/amd/display: gradually ramp ABM intensity

[Why]
Need driver to pass values of backlight ramp start and ramp reduction so
that intensity can be ramped down appropriately.

[How]
Using abm_parameters structure to get these values from driver.

Signed-off-by: Rizvi <syerizvi@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/power/power_helpers.c
drivers/gpu/drm/amd/display/modules/power/power_helpers.h