drm/amd/display: Fix error where wrong payload size is given.
Signed-off-by: Zeyu Fan <Zeyu.Fan@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
2b230ea3e7
commit
185189dc51
|
@ -198,7 +198,7 @@ struct aux_payloads *dal_ddc_aux_payloads_create(struct dc_context *ctx, uint32_
|
|||
return NULL;
|
||||
|
||||
if (dal_vector_construct(
|
||||
&payloads->payloads, ctx, count, sizeof(struct aux_payloads)))
|
||||
&payloads->payloads, ctx, count, sizeof(struct aux_payload)))
|
||||
return payloads;
|
||||
|
||||
dm_free(payloads);
|
||||
|
|
Loading…
Reference in New Issue