diff options
author | Yongqiang Sun <yongqiang.sun@amd.com> | 2018-12-07 16:38:05 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-12-19 00:25:13 +0100 |
commit | c2c2ce1e9623fdce429c7df84ee8564074d84846 (patch) | |
tree | ef05f5381aa55bc5a463f85c5f5c6c9352151cb1 /drivers | |
parent | drm/amd/display: verify lane status before exiting verify link cap (diff) | |
download | linux-c2c2ce1e9623fdce429c7df84ee8564074d84846.tar.xz linux-c2c2ce1e9623fdce429c7df84ee8564074d84846.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/core/dc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index 3a71049b61cb..5fd52094d459 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -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 |