From: Alex Deucher Date: Mon, 22 Apr 2019 21:41:54 +0000 (-0500) Subject: drm/amd/display: updates for dcn20_update_bandwidth X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e249428256e2b6d18936d139a3f9a2893ed74955;p=linux.git drm/amd/display: updates for dcn20_update_bandwidth Pass extra parameter to validate_bandwidth() callback. Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c index 487a07cbeb930..3d5eb20ea9ba0 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c +++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c @@ -1345,7 +1345,7 @@ bool dcn20_update_bandwidth( int i; /* recalculate DML parameters */ - if (!dc->res_pool->funcs->validate_bandwidth(dc, context)) { + if (!dc->res_pool->funcs->validate_bandwidth(dc, context, false)) { return false; }