]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
drm/amd/display: Expose hw sequencer gamma function
authorYongqiang Sun <yongqiang.sun@amd.com>
Wed, 25 Jan 2017 19:51:39 +0000 (14:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:12:39 +0000 (17:12 -0400)
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h

index c3e0865f31487ecc88f03bc1c4c8f85f0fae80f0..6acb9faf29f10ce16261065c528206bf1a1e2de5 100644 (file)
@@ -578,7 +578,7 @@ static bool convert_to_custom_float(
        return true;
 }
 
-static bool dce110_translate_regamma_to_hw_format(const struct dc_transfer_func
+bool dce110_translate_regamma_to_hw_format(const struct dc_transfer_func
                *output_tf, struct pwl_params *regamma_params)
 {
        struct curve_points *arr_points;
index a6b4d0d2429fc4ff1183a0ae56d17f9eb499264a..68632dd2815534629369fa819f7f77506b581a51 100644 (file)
@@ -58,5 +58,8 @@ void dce110_power_down(struct core_dc *dc);
 
 void dce110_update_pending_status(struct pipe_ctx *pipe_ctx);
 
+bool dce110_translate_regamma_to_hw_format(const struct dc_transfer_func
+               *output_tf, struct pwl_params *regamma_params);
+
 #endif /* __DC_HWSS_DCE110_H__ */