]> git.baikalelectronics.ru Git - kernel.git/commit
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:18:08 +0000 (14:18 -0500)
commit32a913b8b293d01a82d1f240519ae9294c5047b7
treeba3d10208106034771998bfedad5c3d7567a5152
parent249207e180f373ea835a6e6b0c92a92843b3d1ba
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