Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4dec2aa9 authored by Dave Airlie's avatar Dave Airlie Committed by Alex Deucher
Browse files

amdgpu/dc: make program_regamma_pwl return void



The return value was unused.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 2c9a7908
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1375,7 +1375,7 @@ static void regamma_config_regions_and_segments(



bool dce110_opp_program_regamma_pwl(
void dce110_opp_program_regamma_pwl(
	struct transform *xfm,
	const struct pwl_params *params)
{
@@ -1386,8 +1386,6 @@ bool dce110_opp_program_regamma_pwl(

	/* Program PWL */
	program_pwl(xfm_dce, params);

	return true;
}

void dce110_opp_power_on_regamma_lut(
+1 −1
Original line number Diff line number Diff line
@@ -506,7 +506,7 @@ void dce110_opp_power_on_regamma_lut(
	struct transform *xfm,
	bool power_on);

bool dce110_opp_program_regamma_pwl(
void dce110_opp_program_regamma_pwl(
	struct transform *xfm,
	const struct pwl_params *params);

+1 −3
Original line number Diff line number Diff line
@@ -490,7 +490,7 @@ static void program_pwl(struct dce_transform *xfm_dce,
	}
}

bool dce110_opp_program_regamma_pwl_v(
void dce110_opp_program_regamma_pwl_v(
	struct transform *xfm,
	const struct pwl_params *params)
{
@@ -512,8 +512,6 @@ bool dce110_opp_program_regamma_pwl_v(

	/* Power return to auto back */
	power_on_lut(xfm, false, false, true);

	return true;
}

void dce110_opp_power_on_regamma_lut_v(
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ void dce110_opp_v_set_csc_adjustment(
	const struct out_csc_color_matrix *tbl_entry);


bool dce110_opp_program_regamma_pwl_v(
void dce110_opp_program_regamma_pwl_v(
	struct transform *xfm,
	const struct pwl_params *params);

+1 −3
Original line number Diff line number Diff line
@@ -183,7 +183,7 @@ void dpp_reset(struct transform *xfm_base)



static bool dcn10_dpp_cm_set_regamma_pwl(
static void dcn10_dpp_cm_set_regamma_pwl(
	struct transform *xfm_base, const struct pwl_params *params)
{
	struct dcn10_dpp *xfm = TO_DCN10_DPP(xfm_base);
@@ -198,8 +198,6 @@ static bool dcn10_dpp_cm_set_regamma_pwl(

	dcn10_dpp_cm_program_regamma_lut(
			xfm_base, params->rgb_resulted, params->hw_points_num);

	return true;
}

static void dcn10_dpp_cm_set_regamma_mode(
Loading