Skip to content

Commit a274166

Browse files
Alvin Leealexdeucher
authored andcommitted
drm/amd/display: Ensure commit_streams returns the DC return code
[Description] - Ensure dc_commit_streams returns the correct return code so any failures can be handled properly in DM layer - If set timings fail and we have to remove MPO planes, do so unconditionally but make sure to mark for removal so we report the VSYNC and prevent timeout - Failure to remove MPO plane results in set timings failure due to lack of resources Reviewed-by: Aric Cyr <[email protected]> Acked-by: Stylon Wang <[email protected]> Signed-off-by: Alvin Lee <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 8747075 commit a274166

File tree

1 file changed

+1
-1
lines changed
  • drivers/gpu/drm/amd/display/dc/core

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/display/dc/core/dc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1988,7 +1988,7 @@ enum dc_status dc_commit_streams(struct dc *dc,
19881988

19891989
DC_LOG_DC("%s Finished.\n", __func__);
19901990

1991-
return (res == DC_OK);
1991+
return res;
19921992
}
19931993

19941994
/* TODO: When the transition to the new commit sequence is done, remove this

0 commit comments

Comments
 (0)