mirror of
https://github.com/torvalds/linux.git
synced 2026-05-04 22:43:04 -04:00
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>
This commit is contained in:
committed by
Alex Deucher
parent
b5389eca7b
commit
5e9252d841
@@ -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_ */
|
||||
|
||||
Reference in New Issue
Block a user