drm/amd/display: Fix null-derefs on non-dcn builds
authorRoman Li <Roman.Li@amd.com>
Fri, 29 Dec 2017 22:45:03 +0000 (17:45 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:17:33 +0000 (14:17 -0500)
commitbc373a890f14958c98e476e38b0a71adab3fc733
tree373e4c13d30d98bd2aa59fc94b0018d2f9c4c89d
parentf8e413bf3c478225177ff74510ecf6bcd6160d1b
drm/amd/display: Fix null-derefs on non-dcn builds

Fixing regression introduced by
'Use real BE and FE index to program regs.'

Signed-off-by: Roman Li <Roman.Li@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/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c