]> git.baikalelectronics.ru Git - kernel.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)
commit9c9bbad69ee02698cc4c6d78203480bb2de00dc7
treed297ea1d6b53cda23bf0a02bffd0af8f8b7b6483
parent6413861e6b890b0ea93d21afd0c4665ee98e0167
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: 0075d1972b8c8 ("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