drm/amd/display: fix indexing bug
authorTony Cheng <tony.cheng@amd.com>
Wed, 7 Dec 2016 03:12:09 +0000 (22:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:04:31 +0000 (17:04 -0400)
commitedbd58af6998217c5c1ab91cb6ca239c607cc9e0
treebc1edb8b032c5c29d303410784a32e2328a14e2c
parent091a97e542cf9a9af6e48aa1324044433ea7341a
drm/amd/display: fix indexing bug

- is_new_pipe_surface should be addressed with pipe idx, not surface idx

Signed-off-by: Tony Cheng <tony.cheng@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@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.c