drm/amd/display: fix boot-up on vega10
authorRoman Li <Roman.Li@amd.com>
Tue, 23 Jan 2018 16:12:27 +0000 (11:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:19:32 +0000 (14:19 -0500)
commitdc75dd707cb558b5e757d839620cf317f96bf578
treea65d3bd3f829c4adf321c1dc38158a5d4d6e3a20
parent5f353208c334c4611695dc6ac459e65e69cb01fa
drm/amd/display: fix boot-up on vega10

Fixing null-deref on Vega10 due to regression after
'fix cursor related Pstate hang' change.
Added null checks in setting cursor position.

Signed-off-by: Roman Li <Roman.Li@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c