27 Jan, 2015

3 commits

  • As per the suggestion of Thierry Reding rename
    HDMI_AUDIO_CODING_TYPE_EXT_STREAM to HDMI_AUDIO_CODING_TYPE_EXT_CT to
    be consistent with the CEA-861 spec.

    Signed-off-by: Hans Verkuil
    Acked-by: Thierry Reding
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • When receiving video it is very useful to be able to unpack the InfoFrames.
    Logging is useful as well, both for transmitters and receivers.

    Especially when implementing the VIDIOC_LOG_STATUS ioctl (supported by many
    V4L2 drivers) for a receiver it is important to be able to easily log what
    the InfoFrame contains. This greatly simplifies debugging.

    Signed-off-by: Martin Bugge
    Signed-off-by: Hans Verkuil
    Acked-by: Thierry Reding
    Signed-off-by: Mauro Carvalho Chehab

    Martin Bugge
     
  • Add new Video InfoFrame colorspace information introduced in HDMI 2.0
    and new Audio Coding Extension Types, also from HDMI 2.0.

    HDMI_CONTENT_TYPE_NONE was renamed to _GRAPHICS since that's what
    it is called in CEA-861-F.

    Signed-off-by: Hans Verkuil
    Reviewed-by: Thierry Reding
    Acked-by: Thierry Reding
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

13 Nov, 2014

1 commit


13 Mar, 2014

1 commit

  • Thierry created such nice kerneldocs, it's a shame we've left them
    lingering!

    For the fun of it also add a bit of kerneldoc to the header so that we
    can also include that. Just in case someone adds kerneldoc in there.

    Cc: Thierry Reding
    Reviewed-by: Alex Deucher
    Signed-off-by: Daniel Vetter

    Daniel Vetter
     

30 Aug, 2013

7 commits

  • HDMI_IDENTIFIER was felt too generic, rename it to what it is, the IEEE
    OUI corresponding to HDMI Licensing, LLC.

    http://standards.ieee.org/develop/regauth/oui/oui.txt

    Cc: Thierry Reding
    Signed-off-by: Damien Lespiau
    Reviewed-by: Thierry Reding
    Signed-off-by: Dave Airlie

    Lespiau, Damien
     
  • We just got rid of the version of hdmi_vendor_infoframe that had a byte
    array for anyone to poke at. It's now time to shuffle around the naming
    of hdmi_hdmi_infoframe to make hdmi_vendor_infoframe become the HDMI
    vendor specific structure.

    Cc: Thierry Reding
    Signed-off-by: Damien Lespiau
    Reviewed-by: Thierry Reding
    Signed-off-by: Dave Airlie

    Lespiau, Damien
     
  • With this last bit, hdmi_infoframe_pack() is now able to pack any
    infoframe we support.

    At the same time, because it's impractical to make two commits out of
    this, we get rid of the version that encourages the open coding of the
    vendor infoframe packing. We can do so because the only user of this API
    has been ported in:

    Author: Damien Lespiau
    Date: Mon Aug 12 18:08:37 2013 +0100

    gpu: host1x: Port the HDMI vendor infoframe code the common helpers

    v2: Change oui to be an unsigned int (Ville Syrjälä)

    Signed-off-by: Damien Lespiau
    Reviewed-by: Ville Syrjälä
    Reviewed-by: Thierry Reding
    Signed-off-by: Dave Airlie

    Lespiau, Damien
     
  • We'll need the HDMI OUI for the HDMI vendor infoframe data, so let's
    move the DRM one to hdmi.h, might as well use the hdmi header to store
    some hdmi defines.

    (Note that, in fact, infoframes are part of the CEA-861 standard, and
    only the HDMI vendor specific infoframe is special to HDMI, but
    details..)

    Signed-off-by: Damien Lespiau
    Reviewed-by: Ville Syrjälä
    Reviewed-by: Thierry Reding
    Signed-off-by: Dave Airlie

    Lespiau, Damien
     
  • Provide the same programming model than the other infoframe types.

    The generic _pack() function can't handle those yet as we need to move
    the vendor OUI in the generic hdmi_vendor_infoframe structure to know
    which kind of vendor infoframe we are dealing with.

    v2: Fix the value of Side-by-side (half), hmdi typo, pack 3D_Ext_Data
    (Ville Syrjälä)
    v3: Future proof the sending of 3D_Ext_Data (Ville Syrjälä), Fix
    multi-lines comment style (Thierry Reding)

    Signed-off-by: Damien Lespiau
    Reviewed-by: Ville Syrjälä
    Reviewed-by: Thierry Reding
    Signed-off-by: Dave Airlie

    Lespiau, Damien
     
  • Just like:

    Author: Damien Lespiau
    Date: Mon Aug 12 11:53:24 2013 +0100

    video/hdmi: Don't let the user of this API create invalid infoframes

    But this time for the horizontal/vertical bar data present bits.

    Signed-off-by: Damien Lespiau
    Reviewed-by: Ville Syrjälä
    Reviewed-by: Thierry Reding
    Signed-off-by: Dave Airlie

    Lespiau, Damien
     
  • To set the active aspect ratio value in the AVI infoframe today, you not
    only have to set the active_aspect field, but also the active_info_valid
    bit. Out of the 1 user of this API, we had 100% misuse, forgetting the
    _valid bit. This was fixed in:

    Author: Damien Lespiau
    Date: Tue Aug 6 20:32:17 2013 +0100

    drm: Don't generate invalid AVI infoframes for CEA modes

    We can do better and derive the _valid bit from the user wanting to set
    the active aspect ratio.

    v2: Fix multi-lines comment style (Thierry Reding)

    Signed-off-by: Damien Lespiau
    Reviewed-by: Ville Syrjälä
    Reviewed-by: Thierry Reding
    Signed-off-by: Dave Airlie

    Lespiau, Damien
     

08 Aug, 2013

2 commits


22 Feb, 2013

1 commit