OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/amd/display: Fix check for stream and plane
[tomoyo/tomoyo-test1.git]
/
drivers
/
gpu
/
drm
/
amd
/
display
/
dc
/
dcn32
/
dcn32_resource_helpers.c
diff --git
a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c
b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c
index
955f52e
..
ab918fe
100644
(file)
--- a/
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c
+++ b/
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c
@@
-144,7
+144,7
@@
bool dcn32_all_pipes_have_stream_and_plane(struct dc *dc,
struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i];
if (!pipe->stream)
-
continu
e;
+
return fals
e;
if (!pipe->plane_state)
return false;