Skip to content

Commit

Permalink
drm/amd/display: Optimize passive update planes.
Browse files Browse the repository at this point in the history
[Why]
passive update planes still spends a litte more
time on some cases.

[How]
Remove unnecessary trace which involving in some register read.
Disable debug output for release build.

Signed-off-by: Yongqiang Sun <[email protected]>
Reviewed-by: Tony Cheng <[email protected]>
Acked-by: Leo Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
  • Loading branch information
Yongqiang Sun authored and alexdeucher committed Dec 18, 2018
1 parent 1ae62f3 commit c2c2ce1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/gpu/drm/amd/display/dc/core/dc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1570,9 +1570,6 @@ static void commit_planes_for_stream(struct dc *dc,
}
}

if (update_type == UPDATE_TYPE_FULL)
context_timing_trace(dc, &context->res_ctx);

// Update Type FAST, Surface updates
if (update_type == UPDATE_TYPE_FAST) {
/* Lock the top pipe while updating plane addrs, since freesync requires
Expand Down

0 comments on commit c2c2ce1

Please sign in to comment.