drm/amd/display: fix dcn10_hubbub_wm_read_state
authorKen Chalmers <ken.chalmers@amd.com>
Thu, 2 Nov 2017 21:21:35 +0000 (17:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:34 +0000 (12:47 -0500)
commitd39b3acbf6251b3ca20db361d2b12fa9b5f17c71
tree4207d31fb6fad62d579693406bb92ae06434f084
parenta03f39a05a85123956ef830cfd5ae44eda703f97
drm/amd/display: fix dcn10_hubbub_wm_read_state

The ALLOW_SR registers might not always be available.

Signed-off-by: Ken Chalmers <ken.chalmers@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/dcn10/dcn10_hubbub.c