From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: [PATCH 3/8] video/hdmi: Add a macro to return the size of a full infoframe Date: Mon, 5 Aug 2013 20:31:09 +0300 Message-ID: <20130805173109.GX5004@intel.com> References: <1375464180-7259-1-git-send-email-damien.lespiau@intel.com> <1375464180-7259-4-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 5CF1BE7464 for ; Mon, 5 Aug 2013 10:31:13 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1375464180-7259-4-git-send-email-damien.lespiau@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Damien Lespiau Cc: intel-gfx@lists.freedesktop.org, Thierry Reding List-Id: intel-gfx@lists.freedesktop.org On Fri, Aug 02, 2013 at 06:22:55PM +0100, Damien Lespiau wrote: > Cc: Thierry Reding > Signed-off-by: Damien Lespiau Reviewed-by: Ville Syrj=E4l=E4 > --- > include/linux/hdmi.h | 3 +++ > 1 file changed, 3 insertions(+) > = > diff --git a/include/linux/hdmi.h b/include/linux/hdmi.h > index 0f3f82e..bc6743e 100644 > --- a/include/linux/hdmi.h > +++ b/include/linux/hdmi.h > @@ -23,6 +23,9 @@ enum hdmi_infoframe_type { > #define HDMI_SPD_INFOFRAME_SIZE 25 > #define HDMI_AUDIO_INFOFRAME_SIZE 10 > = > +#define HDMI_INFOFRAME_SIZE(type) \ > + (HDMI_INFOFRAME_HEADER_SIZE + HDMI_ ## type ## _INFOFRAME_SIZE) > + > struct hdmi_any_infoframe { > enum hdmi_infoframe_type type; > unsigned char version; > -- = > 1.8.3.1 > = > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- = Ville Syrj=E4l=E4 Intel OTC