drm/amd/display: add fast_validate parameter to dcn20_validate_bandwidth

To deal with changes from rebasing.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Alex Deucher
2019-04-22 16:38:24 -05:00
parent 79a7b060d8
commit cb0b554abe
2 changed files with 4 additions and 2 deletions

View File

@@ -1705,7 +1705,9 @@ void dcn20_set_mcif_arb_params(
} }
} }
bool dcn20_validate_bandwidth(struct dc *dc, struct dc_state *context) bool dcn20_validate_bandwidth(struct dc *dc,
struct dc_state *context,
bool fast_validate)
{ {
int pipe_cnt, i, pipe_idx, vlevel, vlevel_unsplit; int pipe_cnt, i, pipe_idx, vlevel, vlevel_unsplit;
int pipe_split_from[MAX_PIPES]; int pipe_split_from[MAX_PIPES];

View File

@@ -115,7 +115,7 @@ void dcn20_set_mcif_arb_params(
struct dc_state *context, struct dc_state *context,
display_e2e_pipe_params_st *pipes, display_e2e_pipe_params_st *pipes,
int pipe_cnt); int pipe_cnt);
bool dcn20_validate_bandwidth(struct dc *dc, struct dc_state *context); bool dcn20_validate_bandwidth(struct dc *dc, struct dc_state *context, bool fast_validate);
enum dc_status dcn20_build_mapped_resource(const struct dc *dc, struct dc_state *context, struct dc_stream_state *stream); enum dc_status dcn20_build_mapped_resource(const struct dc *dc, struct dc_state *context, struct dc_stream_state *stream);
enum dc_status dcn20_validate_global(struct dc *dc, struct dc_state *new_ctx); enum dc_status dcn20_validate_global(struct dc *dc, struct dc_state *new_ctx);