commit | 28d76d48368ca0df9a4fa14e65965d01d42e9d52 | [log] [tgz] |
---|---|---|
author | Bernard Zhao <bernard@vivo.com> | Mon Sep 21 19:11:03 2020 -0700 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Sep 22 17:37:38 2020 -0400 |
tree | 1b5285a7df71b92548f754179da2be141d392ea0 | |
parent | f349f772b05cafc5ab551f645e9051bcdae8ec86 [diff] |
drm/amd/display: optimize code runtime a bit In the function dal_ddc_service_query_ddc_data, get rid of dal_ddc_i2c_payloads_destroy, call dal_vector_destruct() directly. This change is to make the code run a bit fast. Signed-off-by: Bernard Zhao <bernard@vivo.com> Changes since V1: *get rid of dal_ddc_i2c_payloads_destroy, call dal_vector_destruct() directly. Link for V1: *https://lore.kernel.org/patchwork/patch/1309014/ Signed-off-by: Alex Deucher <alexander.deucher@amd.com>