[PATCH 339/459] drm/amd/display: updates for dcn20_update_bandwidth

Alex Deucher alexdeucher at gmail.com
Mon Jun 17 19:44:40 UTC 2019


Pass extra parameter to validate_bandwidth() callback.

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 487a07cbeb93..3d5eb20ea9ba 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;
 	}
 
-- 
2.20.1



More information about the amd-gfx mailing list