aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/power/power_helpers.h
diff options
context:
space:
mode:
authorJosip Pavic <[email protected]>2023-04-03 14:42:06 +0000
committerAlex Deucher <[email protected]>2023-04-24 22:36:46 +0000
commit5e9252d8415f50095c854c85cf9ebcc894e9ac0d (patch)
tree11f7a767c543a4bab86dcc558d58c8817c6d46ce /drivers/gpu/drm/amd/display/modules/power/power_helpers.h
parentdrm/amd/display: Lowering min Z8 residency time (diff)
downloadkernel-5e9252d8415f50095c854c85cf9ebcc894e9ac0d.tar.gz
kernel-5e9252d8415f50095c854c85cf9ebcc894e9ac0d.zip
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 <[email protected]> Reviewed-by: Anthony Koo <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Josip Pavic <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/power/power_helpers.h')
-rw-r--r--drivers/gpu/drm/amd/display/modules/power/power_helpers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/modules/power/power_helpers.h b/drivers/gpu/drm/amd/display/modules/power/power_helpers.h
index 1d3079e56799..ffc924c9991b 100644
--- a/drivers/gpu/drm/amd/display/modules/power/power_helpers.h
+++ b/drivers/gpu/drm/amd/display/modules/power/power_helpers.h
@@ -62,4 +62,7 @@ bool mod_power_only_edp(const struct dc_state *context,
bool psr_su_set_dsc_slice_height(struct dc *dc, struct dc_link *link,
struct dc_stream_state *stream,
struct psr_config *config);
+
+bool fill_custom_backlight_caps(unsigned int config_no,
+ struct dm_acpi_atif_backlight_caps *caps);
#endif /* MODULES_POWER_POWER_HELPERS_H_ */