mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-11 20:39:55 +00:00
drm/amd/display: Optimize passive update planes.
[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 <yongqiang.sun@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
1ae62f3114
commit
c2c2ce1e96
@@ -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
|
// Update Type FAST, Surface updates
|
||||||
if (update_type == UPDATE_TYPE_FAST) {
|
if (update_type == UPDATE_TYPE_FAST) {
|
||||||
/* Lock the top pipe while updating plane addrs, since freesync requires
|
/* Lock the top pipe while updating plane addrs, since freesync requires
|
||||||
|
|||||||
Reference in New Issue
Block a user