]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: use proper pipe_ctx index
authorSamson Tam <Samson.Tam@amd.com>
Fri, 7 Sep 2018 14:13:55 +0000 (10:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Sep 2018 02:09:05 +0000 (21:09 -0500)
commitfe72ca5f64fbe2f25c3681546fba5e7fab9f0aa4
treebf59f44837a1fd4ea8b3b6c1e5030f8769280d59
parent9b843c397c33d94989e14f684d6d27b686b0c52a
drm/amd/display: use proper pipe_ctx index

Use link->link_index as index to pipe_ctx[] to get proper link
information instead of using index 0 to avoid potential miss matches.

Signed-off-by: Samson Tam <Samson.Tam@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c