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>
Wed, 7 Mar 2018 21:27:08 +0000 (16:27 -0500)
commit0c813535ee448239d3bf08451381da29e117efed
tree1c67532144b366d9ebb356489ebe5f378b96f4e5
parent1c7571fb29c33f90639d477d24514609cd738cd9
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