All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Thierry Reding <thierry.reding@avionic-design.de>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v5 4/9] video: Add generic HDMI infoframe helpers
Date: Mon, 4 Mar 2013 16:49:46 +0200	[thread overview]
Message-ID: <20130304144946.GK4469@intel.com> (raw)
In-Reply-To: <1361516611-2517-5-git-send-email-thierry.reding@avionic-design.de>

On Fri, Feb 22, 2013 at 08:03:26AM +0100, Thierry Reding wrote:
> Add generic helpers to pack HDMI infoframes into binary buffers.
> 
> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
> ---
> Changes in v2:
> - add support for audio, vendor-specific and SPD infoframes
> - add various validity checks on infoframes
> - factor out checksum computation
> 
> Changes in v3:
> - introduce HDMI_INFOFRAME_HEADER_SIZE
> - fix SPD infoframe SDI field offset
> 
> Changes in v4:
> - remove needless checks for input parameters
> - use memcpy() instead of manual copy loop
> - update SPD SPI enum to include HD-DVD and PMP as per CEA-861-E
> - add audio coding type extension support
> - match audio coding type names to those in CEA-861-E
> 
>  drivers/video/Kconfig  |   3 +
>  drivers/video/Makefile |   1 +
>  drivers/video/hdmi.c   | 308 +++++++++++++++++++++++++++++++++++++++++++++++++
>  include/linux/hdmi.h   | 231 +++++++++++++++++++++++++++++++++++++
>  4 files changed, 543 insertions(+)
>  create mode 100644 drivers/video/hdmi.c
>  create mode 100644 include/linux/hdmi.h
> 
> diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
> index 09f1a18..b11eeab 100644
> --- a/drivers/video/Kconfig
> +++ b/drivers/video/Kconfig
> @@ -52,6 +52,9 @@ config OF_VIDEOMODE
>  	help
>  	  helper to get videomodes from the devicetree
>  
> +config HDMI
> +	bool
> +
>  menuconfig FB
>  	tristate "Support for frame buffer devices"
>  	---help---
> diff --git a/drivers/video/Makefile b/drivers/video/Makefile
> index f592f3b..0b50082 100644
> --- a/drivers/video/Makefile
> +++ b/drivers/video/Makefile
> @@ -5,6 +5,7 @@
>  # Each configuration option enables a list of files.
>  
>  obj-$(CONFIG_VGASTATE)            += vgastate.o
> +obj-$(CONFIG_HDMI)                += hdmi.o
>  obj-y                             += fb_notify.o
>  obj-$(CONFIG_FB)                  += fb.o
>  fb-y                              := fbmem.o fbmon.o fbcmap.o fbsysfs.o \
> diff --git a/drivers/video/hdmi.c b/drivers/video/hdmi.c
> new file mode 100644
> index 0000000..ab23c9b
> --- /dev/null
> +++ b/drivers/video/hdmi.c
> @@ -0,0 +1,308 @@
> +/*
> + * Copyright (C) 2012 Avionic Design GmbH
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * published by the Free Software Foundation.
> + */

BTW was there any discussion about the license? drm is generally MIT.
Are people OK with depending on GPL code for infoframe support?

-- 
Ville Syrjälä
Intel OTC

  parent reply	other threads:[~2013-03-04 14:49 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-22  7:03 [PATCH v5 0/9] Add HDMI infoframe helpers Thierry Reding
2013-02-22  7:03 ` [PATCH v5 1/9] drm: Remove duplicate drm_mode_cea_vic() Thierry Reding
2013-02-22  7:03 ` [PATCH v5 2/9] drm: Move mode tables to drm_edid.c Thierry Reding
2013-02-22  7:03 ` [PATCH v5 3/9] drm: Add some missing forward declarations Thierry Reding
2013-02-22  7:03 ` [PATCH v5 4/9] video: Add generic HDMI infoframe helpers Thierry Reding
2013-02-22 16:01   ` Ville Syrjälä
2013-03-04 14:49   ` Ville Syrjälä [this message]
2013-03-04 15:02     ` Thierry Reding
2013-03-07 13:32       ` Lucas Stach
2013-03-07 13:44         ` Thierry Reding
2013-04-08 11:52           ` Ville Syrjälä
2013-04-08 12:49             ` Thierry Reding
2013-02-22  7:03 ` [PATCH v5 5/9] drm: Add " Thierry Reding
2013-02-22  7:03 ` [PATCH v5 6/9] drm: Add EDID helper documentation Thierry Reding
2013-02-22  7:03 ` [PATCH v5 7/9] drm/tegra: Use generic HDMI infoframe helpers Thierry Reding
2013-02-22  7:03 ` [PATCH v5 8/9] drm/i915: " Thierry Reding
2013-02-22  7:03 ` [PATCH v5 9/9] drm/radeon: " Thierry Reding

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130304144946.GK4469@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=paulo.r.zanoni@intel.com \
    --cc=thierry.reding@avionic-design.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.