diff options
author | Yongqiang Sun <yongqiang.sun@amd.com> | 2018-12-07 10:38:05 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-12-18 18:25:13 -0500 |
commit | c2c2ce1e9623fdce429c7df84ee8564074d84846 (patch) | |
tree | ef05f5381aa55bc5a463f85c5f5c6c9352151cb1 /drivers/gpu/drm/amd | |
parent | 1ae62f3114a95982f2f4cbe5c7bd14b81233597a (diff) | |
download | linux-stable-c2c2ce1e9623fdce429c7df84ee8564074d84846.tar.gz linux-stable-c2c2ce1e9623fdce429c7df84ee8564074d84846.tar.bz2 linux-stable-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/gpu/drm/amd')
-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 |