drm/amd/display: Fix FBC topology change
authorRoman Li <Roman.Li@amd.com>
Fri, 15 Dec 2017 22:18:19 +0000 (17:18 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:17:21 +0000 (14:17 -0500)
commit3bc4aaa95204669e39b22849f2f0eb38f0212fc2
treee0aea8c80f768614f16d29bdc77931a0a6d677d6
parent8d6a741bf60005465fd4517393b5e431f68c3f60
drm/amd/display: Fix FBC topology change

With FBC enabled there was a potential null-deref
on topology change due to hardcorded pipe index.

Signed-off-by: Roman Li <Roman.Li@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