drm/amd/display: Set default block_size, even in unexpected cases
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Tue, 4 Jun 2019 18:48:33 +0000 (14:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:17:18 +0000 (14:17 -0500)
commit90bbf6374b88bdc1411fd83b24d87513ba23d519
treea443a0504b2d554df5dc5fe15ea8e0431c97e786
parent5b25e5f1a97284020abee7348427f89abdb674e8
drm/amd/display: Set default block_size, even in unexpected cases

We're not expected to enter the default case, but not returning a
default value here is incorrect.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Eric Bernstein <Eric.Bernstein@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c
drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h