OSDN Git Service

drm/amd/display: add option to use custom backlight caps
authorJosip Pavic <Josip.Pavic@amd.com>
Mon, 3 Apr 2023 14:42:06 +0000 (10:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 24 Apr 2023 22:36:46 +0000 (18:36 -0400)
commit5e9252d8415f50095c854c85cf9ebcc894e9ac0d
tree11f7a767c543a4bab86dcc558d58c8817c6d46ce
parentb5389eca7b39026452dfc1d2cd5b05448c631298
drm/amd/display: add option to use custom backlight caps

[Why & How]
Provide option for vendors to specify a custom brightness-to-backlight
conversion profile.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Josip Pavic <Josip.Pavic@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