commit | 9a00d0ff92f4c718054b5c068e255ecc61ef48bb | [log] [tgz] |
---|---|---|
author | Derek Lai <Derek.Lai@amd.com> | Fri Aug 23 11:44:53 2019 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Aug 23 11:45:34 2019 -0500 |
tree | acdc93f29c31b59ec76e8566dbb045a0947fa3d9 | |
parent | 470e2ca569bf780f832e3020ceb5afdef16a9084 [diff] |
drm/amd/display: Use res_cap to acquire i2c instead of pipe count [Why] We should be using the ddc_num from res_caps. As the pipe count != number of i2c resources. [How] Use ddc_num from res_cap instead of pipe count. Signed-off-by: Derek Lai <Derek.Lai@amd.com> Reviewed-by: Charlene Liu <Charlene.Liu@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>