Skip to content

Commit

Permalink
drm/amd/display: add fast_validate parameter to dcn20_validate_bandwidth
Browse files Browse the repository at this point in the history
To deal with changes from rebasing.

Signed-off-by: Alex Deucher <[email protected]>
  • Loading branch information
alexdeucher committed Jun 22, 2019
1 parent 79a7b06 commit cb0b554
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
Original file line number Diff line number Diff line change
Expand Up @@ -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_split_from[MAX_PIPES];
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ void dcn20_set_mcif_arb_params(
struct dc_state *context,
display_e2e_pipe_params_st *pipes,
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_validate_global(struct dc *dc, struct dc_state *new_ctx);
Expand Down

0 comments on commit cb0b554

Please sign in to comment.