mirror_ubuntu-kernels/drivers/gpu/drm/amd/display
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
..
amdgpu_dm drm/amd/display: Make cursor source translation adjustment optional 2020-04-07 14:20:45 -04:00
dc drm/amd/display: Check for null fclk voltage when parsing clock table 2020-04-07 14:22:10 -04:00
dmub drm/amd/display: Allocate scratch space for DMUB CW7 2020-03-19 00:03:04 -04:00
include drm/amd/display: re-order asic declarations 2020-04-03 17:21:06 -04:00
modules drm/amd/display: LFC not working on 2.0x range monitors (v2) 2020-03-31 12:26:14 -04:00
Kconfig amdgpu: Enable initial DCN support on POWER 2019-12-18 16:09:05 -05:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00