提交 185189dc 编写于 作者: Z Zeyu Fan 提交者: Alex Deucher

drm/amd/display: Fix error where wrong payload size is given.

Signed-off-by: NZeyu Fan <Zeyu.Fan@amd.com>
Reviewed-by: NTony Cheng <Tony.Cheng@amd.com>
Acked-by: NHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 2b230ea3
...@@ -198,7 +198,7 @@ struct aux_payloads *dal_ddc_aux_payloads_create(struct dc_context *ctx, uint32_ ...@@ -198,7 +198,7 @@ struct aux_payloads *dal_ddc_aux_payloads_create(struct dc_context *ctx, uint32_
return NULL; return NULL;
if (dal_vector_construct( if (dal_vector_construct(
&payloads->payloads, ctx, count, sizeof(struct aux_payloads))) &payloads->payloads, ctx, count, sizeof(struct aux_payload)))
return payloads; return payloads;
dm_free(payloads); dm_free(payloads);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册