aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h
diff options
context:
space:
mode:
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>2019-06-04 14:48:33 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-07-18 14:17:18 -0500
commit90bbf6374b88bdc1411fd83b24d87513ba23d519 (patch)
treea443a0504b2d554df5dc5fe15ea8e0431c97e786 /drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h
parentdrm/amd/display: No audio endpoint for Dell MST display (diff)
downloadlinux-dev-90bbf6374b88bdc1411fd83b24d87513ba23d519.tar.xz
linux-dev-90bbf6374b88bdc1411fd83b24d87513ba23d519.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h b/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h
index 1ea505f7a05a..9502478c4a1b 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h
@@ -62,7 +62,7 @@ enum dcn_hubbub_page_table_depth {
enum dcn_hubbub_page_table_block_size {
DCN_PAGE_TABLE_BLOCK_SIZE_4KB = 0,
- DCN_PAGE_TABLE_BLOCK_SIZE_64KB = 4
+ DCN_PAGE_TABLE_BLOCK_SIZE_64KB = 4,
};
struct dcn_hubbub_phys_addr_config {