[PATCH v2] drm/amd/display: optimize code runtime a bit

2020-09-21 Thread Bernard Zhao
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 Changes since V1: *get rid of dal_ddc_i2c_payloads_destroy, call dal_vector_destruct() directly

Re: [PATCH v2] drm/amd/display: optimize code runtime a bit

2020-09-22 Thread Alex Deucher
Applied. Thanks! Alex On Tue, Sep 22, 2020 at 3:52 AM Bernard Zhao wrote: > > 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 > Ch