Commit 264efa31 authored by Eric Bernstein's avatar Eric Bernstein Committed by Alex Deucher

drm/amd/display: remove output_format from ipp_setup

Signed-off-by: default avatarEric Bernstein <eric.bernstein@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent b8ea60ce
...@@ -266,8 +266,7 @@ static void ippn10_set_degamma_format_float( ...@@ -266,8 +266,7 @@ static void ippn10_set_degamma_format_float(
void ippn10_cnv_setup ( void ippn10_cnv_setup (
struct transform *xfm_base, struct transform *xfm_base,
enum surface_pixel_format input_format, enum surface_pixel_format input_format,
enum expansion_mode mode, enum expansion_mode mode)
enum ipp_output_format cnv_out_format)
{ {
uint32_t pixel_format; uint32_t pixel_format;
uint32_t alpha_en; uint32_t alpha_en;
......
...@@ -1358,8 +1358,7 @@ void dcn10_dpp_dscl_set_scaler_manual_scale( ...@@ -1358,8 +1358,7 @@ void dcn10_dpp_dscl_set_scaler_manual_scale(
void ippn10_cnv_setup ( void ippn10_cnv_setup (
struct transform *xfm_base, struct transform *xfm_base,
enum surface_pixel_format input_format, enum surface_pixel_format input_format,
enum expansion_mode mode, enum expansion_mode mode);
enum ipp_output_format cnv_out_format);
void ippn10_full_bypass(struct transform *xfm_base); void ippn10_full_bypass(struct transform *xfm_base);
......
...@@ -727,11 +727,11 @@ void ippn10_full_bypass(struct transform *xfm_base) ...@@ -727,11 +727,11 @@ void ippn10_full_bypass(struct transform *xfm_base)
FORMAT_EXPANSION_MODE, 0); FORMAT_EXPANSION_MODE, 0);
/* COLOR_KEYER_CONTROL.COLOR_KEYER_EN = 0 this should be default */ /* COLOR_KEYER_CONTROL.COLOR_KEYER_EN = 0 this should be default */
REG_SET(CM_CONTROL, 0, CM_BYPASS_EN, 1); if (xfm->tf_mask->CM_BYPASS_EN)
REG_SET(CM_CONTROL, 0, CM_BYPASS_EN, 1);
/* Setting degamma bypass for now */ /* Setting degamma bypass for now */
REG_SET(CM_DGAM_CONTROL, 0, CM_DGAM_LUT_MODE, 0); REG_SET(CM_DGAM_CONTROL, 0, CM_DGAM_LUT_MODE, 0);
REG_SET(CM_IGAM_CONTROL, 0, CM_IGAM_LUT_MODE, 0);
} }
static bool ippn10_ingamma_ram_inuse(struct transform *xfm_base, static bool ippn10_ingamma_ram_inuse(struct transform *xfm_base,
......
...@@ -2316,8 +2316,7 @@ static void update_dchubp_dpp( ...@@ -2316,8 +2316,7 @@ static void update_dchubp_dpp(
xfm->funcs->ipp_setup(xfm, xfm->funcs->ipp_setup(xfm,
plane_state->format, plane_state->format,
1, EXPANSION_MODE_ZERO);
IPP_OUTPUT_FORMAT_12_BIT_FIX);
mpcc_cfg.mi = mi; mpcc_cfg.mi = mi;
mpcc_cfg.opp = pipe_ctx->stream_res.opp; mpcc_cfg.opp = pipe_ctx->stream_res.opp;
......
...@@ -86,8 +86,7 @@ struct ipp_funcs { ...@@ -86,8 +86,7 @@ struct ipp_funcs {
void (*ipp_setup)( void (*ipp_setup)(
struct input_pixel_processor *ipp, struct input_pixel_processor *ipp,
enum surface_pixel_format input_format, enum surface_pixel_format input_format,
enum expansion_mode mode, enum expansion_mode mode);
enum ipp_output_format output_format);
/* DCE function to setup IPP. TODO: see if we can consolidate to setup */ /* DCE function to setup IPP. TODO: see if we can consolidate to setup */
void (*ipp_program_prescale)( void (*ipp_program_prescale)(
......
...@@ -234,8 +234,7 @@ struct transform_funcs { ...@@ -234,8 +234,7 @@ struct transform_funcs {
void (*ipp_setup)( void (*ipp_setup)(
struct transform *xfm_base, struct transform *xfm_base,
enum surface_pixel_format input_format, enum surface_pixel_format input_format,
enum expansion_mode mode, enum expansion_mode mode);
enum ipp_output_format cnv_out_format);
void (*ipp_full_bypass)(struct transform *xfm_base); void (*ipp_full_bypass)(struct transform *xfm_base);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment