]> 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)
commitdae1879e68c3e6144c88b254fa7b9212ffbb98ef
treebf59f44837a1fd4ea8b3b6c1e5030f8769280d59
parente449449de0b5eaf23273ffd92673c5ec5cd092f9
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