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:
067c878
)
drm/amd/display: add dpms state to DC follow up
author
Hersen Wu
<
[email protected]
>
Tue, 3 Oct 2017 20:47:02 +0000
(16:47 -0400)
committer
Alex Deucher
<
[email protected]
>
Sat, 21 Oct 2017 20:47:59 +0000
(16:47 -0400)
Signed-off-by: Hersen Wu <
[email protected]
>
Reviewed-by: Tony Cheng <
[email protected]
>
Reviewed-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 92fab09843e49a5a2e2b457cec85745bab684179..4cdb855ef8558d8cac91fe0a1334eb59843279c7 100644
(file)
--- a/
drivers/gpu/drm/amd/display/dc/core/dc.c
+++ b/
drivers/gpu/drm/amd/display/dc/core/dc.c
@@
-332,7
+332,7
@@
static void set_dither_option(struct dc_stream_state *stream,
{
struct bit_depth_reduction_params params;
struct dc_link *link = stream->status.link;
- struct pipe_ctx *pipes;
+ struct pipe_ctx *pipes
= NULL
;
int i;
for (i = 0; i < MAX_PIPES; i++) {
@@
-344,7
+344,7
@@
static void set_dither_option(struct dc_stream_state *stream,
}
memset(¶ms, 0, sizeof(params));
- if (!
stream
)
+ if (!
pipes
)
return;
if (option > DITHER_OPTION_MAX)
return;