diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2019-01-10 11:52:11 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-02-05 21:16:22 -0500 |
commit | c448a53aaf9ef69942a8a4d6a9b7b191839d90c1 (patch) | |
tree | 1cc71fe8a69e4ccbbc4a8bbfa48c223e93261780 /drivers/gpu/drm/amd/display/modules/power/power_helpers.c | |
parent | c744e974a22b0cf78ba581afb8244af1618f2649 (diff) |
drm/amd/display: Initialize stream_update to zero
[Why]
The stream_update struct is left unitialized but DC will access
its fields. This usually results in global state validation occur
during any atomic commit with state->allow_modeset = true.
[How]
Initialize the struct to zero for every stream we check.
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: David Francis <David.Francis@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/power/power_helpers.c')
0 files changed, 0 insertions, 0 deletions