projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8fce2c
)
drm/amd/display: Remove dangling planes on dc commit state
author
Leo (Sunpeng) Li
<
[email protected]
>
Tue, 7 Nov 2017 18:21:02 +0000
(13:21 -0500)
committer
Alex Deucher
<
[email protected]
>
Wed, 6 Dec 2017 17:47:40 +0000
(12:47 -0500)
When disabling pipe splitting, we need to make sure we disable both
planes used.
This should be done for Linux as well.
Signed-off-by: Leo (Sunpeng) Li <
[email protected]
>
Reviewed-by: Tony Cheng <
[email protected]
>
Acked-by: Harry Wentland <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/display/dc/core/dc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/display/dc/core/dc.c
b/drivers/gpu/drm/amd/display/dc/core/dc.c
index e0f13d79911d1e5e0eb0423f160f080a51ecc170..96267b9b99d56e623a8ec8991aecfe90d3a99190 100644
(file)
--- a/
drivers/gpu/drm/amd/display/dc/core/dc.c
+++ b/
drivers/gpu/drm/amd/display/dc/core/dc.c
@@
-880,8
+880,6
@@
static enum dc_status dc_commit_state_no_check(struct dc *dc, struct dc_state *c
if (!dcb->funcs->is_accelerated_mode(dcb))
dc->hwss.enable_accelerated_mode(dc);
-
-
for (i = 0; i < context->stream_count; i++) {
const struct dc_sink *sink = context->streams[i]->sink;