30 Aug, 2013
6 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 -
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 -
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 +0100gpu: 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 -
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 -
Just like:
Author: Damien Lespiau
Date: Mon Aug 12 11:53:24 2013 +0100video/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 -
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 +0100drm: 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
08 Aug, 2013
3 commits
-
If the user if this API is providing a bigger buffer than the infoframe
size, it could be for a could reason. For instance it could be because
it gives the buffer that will be written to the hardware, up to the
maximum of an infoframe size.Instead of just zeroing up to the infoframe size, let's zero the whole
incoming buffer as those extra bytes are also used to compute the
ECC and need to be 0.Signed-off-by: Damien Lespiau
Acked-by: Dave Airlie
Reviewed-by: Alex Deucher
Reviewed-by: Ville Syrjälä
Signed-off-by: Daniel Vetter -
And a way to pack hdmi_infoframe generically.
Cc: Thierry Reding
Reviewed-by: Ville Syrjälä
Signed-off-by: Damien Lespiau
Acked-by: Dave Airlie
Reviewed-by: Alex Deucher
Signed-off-by: Daniel Vetter -
Cc: Thierry Reding
Reviewed-by: Ville Syrjälä
Signed-off-by: Damien Lespiau
Acked-by: Dave Airlie
Reviewed-by: Alex Deucher
Signed-off-by: Daniel Vetter
12 Apr, 2013
1 commit
-
In order to make it easier to port the code to other operating systems
(like the BSDs), relicense the HDMI helpers under the more permissive
MIT license.Signed-off-by: Thierry Reding
Signed-off-by: Dave Airlie
22 Feb, 2013
1 commit
-
Add generic helpers to pack HDMI infoframes into binary buffers.
Signed-off-by: Thierry Reding
Reviewed-by: Alex Deucher