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:
cc034fe
)
drm/amd/display: Initialize data structure for DalMpVisualConfirm.
author
Hugo Hu
<
[email protected]
>
Tue, 3 Jul 2018 19:59:15 +0000
(15:59 -0400)
committer
Alex Deucher
<
[email protected]
>
Fri, 13 Jul 2018 19:52:25 +0000
(14:52 -0500)
[Why] Prevent unexpected color shows if DalMpVisualConfirm enable.
[How] Zero out color configuration data for DalMpVisualConfirm when initiating.
Signed-off-by: Hugo Hu <
[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/dcn10/dcn10_hw_sequencer.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
index a9942fd5f34e67ad2893d064eddcc6f5a0a96856..2e145aa663a4a25a81f6bf75a1de001d202eec6a 100644
(file)
--- a/
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
+++ b/
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
@@
-1851,7
+1851,7
@@
static void update_dpp(struct dpp *dpp, struct dc_plane_state *plane_state)
static void dcn10_update_mpcc(struct dc *dc, struct pipe_ctx *pipe_ctx)
{
struct hubp *hubp = pipe_ctx->plane_res.hubp;
- struct mpcc_blnd_cfg blnd_cfg;
+ struct mpcc_blnd_cfg blnd_cfg
= {0}
;
bool per_pixel_alpha = pipe_ctx->plane_state->per_pixel_alpha && pipe_ctx->bottom_pipe;
int mpcc_id;
struct mpcc *new_mpcc;