aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorEric Yang <[email protected]>2019-10-03 19:06:01 +0000
committerAlex Deucher <[email protected]>2019-10-17 20:29:46 +0000
commit2ffb174b1d9f40a702c1ca455b16a844549429cb (patch)
tree1345270c0078153d379c7b4ae62fa3027e27e278 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/amd/display: Fix rn audio playback and video playback speed (diff)
downloadkernel-2ffb174b1d9f40a702c1ca455b16a844549429cb.tar.gz
kernel-2ffb174b1d9f40a702c1ca455b16a844549429cb.zip
drm/amd/display: add sanity check for clk table from smu
[Why] Handle the case where we don't get a valid table. Also fixes compiler warning for variable potentially used before assignment. [How] If the entire table has no valid fclk, reject the table and use our own hard code. Signed-off-by: Eric Yang <[email protected]> Acked-by: Bhawanpreet Lakha <[email protected]> Reviewed-by: Roman Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions