drm/amdgpu: Fix compile warning
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 20 Aug 2018 12:19:18 +0000 (20:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:11:11 +0000 (11:11 -0500)
commita00ead2b394bd591159261f4e8c08819ff4f45f4
treebeaa47d83a3e2f9d88842f705cde361ef25b5207
parent1b1f2fecb699bb4ccc3cb2fafe92950e9bdb39de
drm/amdgpu: Fix compile warning

In function ‘gfx_v9_0_check_fw_write_wait’:
warning: enumeration value ‘CHIP_TAHITI’ not handled in switch [-Wswitch]

Always add default case in case there is no match

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c