drm/amd/display: Reject PPLib clock values if they are invalid
authorAndrew Jiang <Andrew.Jiang@amd.com>
Thu, 19 Oct 2017 18:43:36 +0000 (14:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Dec 2017 21:41:34 +0000 (16:41 -0500)
commit00893681a0ff41cacecabc3dafe0987593a3d5c5
tree916ef75e9c16c101d4686194c1a780eabad686be
parent62d591a8e00cc349e6a9efb87efac9548f178624
drm/amd/display: Reject PPLib clock values if they are invalid

We should be sticking with the default clock values if the values
obtained from PPLib are bogus.

Signed-off-by: Andrew Jiang <Andrew.Jiang@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c