diff options
author | Michael Strauss <michael.strauss@amd.com> | 2020-04-05 16:41:12 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-04-09 10:43:17 -0400 |
commit | 4404b47852f3ec709f5787c045650afabea00b4b (patch) | |
tree | 1f02f028d0ddd9bbe4d95858c28a789b1872433d /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
parent | 6fb4280ecbff9dd8a8db57bc9bfeef95c2b3a53f (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions