[Intel-gfx] [PATCH 01/12] video/hdmi: Replace the payload length by their defines

Alex Deucher alexdeucher at gmail.com
Wed Aug 7 04:06:16 CEST 2013


Patches 1-5, 10, 11 are:

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

On Tue, Aug 6, 2013 at 3:32 PM, Damien Lespiau <damien.lespiau at intel.com> wrote:
> Cc: Thierry Reding <thierry.reding at avionic-design.de>
> Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
> ---
>  drivers/video/hdmi.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/video/hdmi.c b/drivers/video/hdmi.c
> index 4017833..dbd882f 100644
> --- a/drivers/video/hdmi.c
> +++ b/drivers/video/hdmi.c
> @@ -52,7 +52,7 @@ int hdmi_avi_infoframe_init(struct hdmi_avi_infoframe *frame)
>
>         frame->type = HDMI_INFOFRAME_TYPE_AVI;
>         frame->version = 2;
> -       frame->length = 13;
> +       frame->length = HDMI_AVI_INFOFRAME_SIZE;
>
>         return 0;
>  }
> @@ -151,7 +151,7 @@ int hdmi_spd_infoframe_init(struct hdmi_spd_infoframe *frame,
>
>         frame->type = HDMI_INFOFRAME_TYPE_SPD;
>         frame->version = 1;
> -       frame->length = 25;
> +       frame->length = HDMI_SPD_INFOFRAME_SIZE;
>
>         strncpy(frame->vendor, vendor, sizeof(frame->vendor));
>         strncpy(frame->product, product, sizeof(frame->product));
> @@ -218,7 +218,7 @@ int hdmi_audio_infoframe_init(struct hdmi_audio_infoframe *frame)
>
>         frame->type = HDMI_INFOFRAME_TYPE_AUDIO;
>         frame->version = 1;
> -       frame->length = 10;
> +       frame->length = HDMI_AUDIO_INFOFRAME_SIZE;
>
>         return 0;
>  }
> --
> 1.8.3.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel



More information about the Intel-gfx mailing list