Displaying 2 results from an estimated 2 matches for "nvif_outp_infoframe_v0_avi".
2024 Sep 13
1
[PATCH][next] drm/nouveau: Avoid -Wflex-array-member-not-at-end warning
...TIZATION_RANGE_FULL);
>
> - size = hdmi_infoframe_pack(&infoframe, args.data, ARRAY_SIZE(args.data));
> + size = hdmi_infoframe_pack(&infoframe, args->data, data_len);
> } else {
> size = 0;
> }
>
> - nvif_outp_infoframe(&nv_encoder->outp, NVIF_OUTP_INFOFRAME_V0_AVI, &args.infoframe, size);
> + nvif_outp_infoframe(&nv_encoder->outp, NVIF_OUTP_INFOFRAME_V0_AVI, args, size);
>
> /* Vendor InfoFrame. */
> - memset(&args.data, 0, sizeof(args.data));
> + memset(args->data, 0, data_len);
> if (!drm_hdmi_vendor_infoframe_f...
2024 Aug 21
2
[PATCH][next] drm/nouveau: Avoid -Wflex-array-member-not-at-end warning
...connector->base, mode,
HDMI_QUANTIZATION_RANGE_FULL);
- size = hdmi_infoframe_pack(&infoframe, args.data, ARRAY_SIZE(args.data));
+ size = hdmi_infoframe_pack(&infoframe, args->data, data_len);
} else {
size = 0;
}
- nvif_outp_infoframe(&nv_encoder->outp, NVIF_OUTP_INFOFRAME_V0_AVI, &args.infoframe, size);
+ nvif_outp_infoframe(&nv_encoder->outp, NVIF_OUTP_INFOFRAME_V0_AVI, args, size);
/* Vendor InfoFrame. */
- memset(&args.data, 0, sizeof(args.data));
+ memset(args->data, 0, data_len);
if (!drm_hdmi_vendor_infoframe_from_display_mode(&infoframe.v...