]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/display: fix struct init in update_bounding_box
authorRaul E Rangel <rrangel@chromium.org>
Thu, 3 Oct 2019 20:24:44 +0000 (14:24 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Oct 2019 13:53:14 +0000 (08:53 -0500)
commit960b6f4f2d2e96d5f7ffe2854e0040b46cafbd36
treed297ea1d6b53cda23bf0a02bffd0af8f8b7b6483
parentd0312d0dcaf2f00a8a0ea0bc2a24c6084fd69ed2
drm/amd/display: fix struct init in update_bounding_box

dcn20_resource.c:2636:9: error: missing braces around initializer [-Werror=missing-braces]
  struct _vcs_dpi_voltage_scaling_st calculated_states[MAX_CLOCK_LIMIT_STATES] = {0};
         ^

Fixes: 7ed4e6352c16f ("drm/amd/display: Add DCN2 HW Sequencer and Resource")
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c