linux/drivers/gpu/drm/amd
Michael Strauss 72f5b5a308 drm/amd/display: Check for null fclk voltage when parsing clock table
[WHY]
In cases where a clock table is malformed such that fclk entries have
frequencies but not voltages listed, we don't catch the error and set
clocks to 0 instead of using hardcoded values as we should.

[HOW]
Add check for clock tables fclk entry's voltage as well

Signed-off-by: Michael Strauss <michael.strauss@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2020-04-07 14:22:10 -04:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu/psp: dont warn on missing optional TA's 2020-04-07 14:07:41 -04:00
amdkfd drm/amdkfd: kfree the wrong pointer 2020-04-01 14:44:22 -04:00
display drm/amd/display: Check for null fclk voltage when parsing clock table 2020-04-07 14:22:10 -04:00
include drm/amdkfd: Consolidate duplicated bo alloc flags 2020-03-10 15:54:34 -04:00
powerplay drm/amd/powerplay: avoid using pm_en before it is initialized 2020-04-03 17:22:44 -04:00