drm/amd/display: updates for dcn20_update_bandwidth
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Apr 2019 21:41:54 +0000 (16:41 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 22 Jun 2019 14:34:07 +0000 (09:34 -0500)
Pass extra parameter to validate_bandwidth() callback.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c

index 487a07cbeb9308f3f9ebe96c65971a6c548cbd3e..3d5eb20ea9ba0424cb420184bff286e1407ca77b 100644 (file)
@@ -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;
        }