projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72b0989
)
video/hdmi: Add a macro to return the size of a full infoframe
author
Damien Lespiau
<
[email protected]
>
Tue, 6 Aug 2013 19:32:15 +0000
(20:32 +0100)
committer
Daniel Vetter
<
[email protected]
>
Thu, 8 Aug 2013 12:04:45 +0000
(14:04 +0200)
Cc: Thierry Reding <
[email protected]
>
Reviewed-by: Ville Syrjälä <
[email protected]
>
Signed-off-by: Damien Lespiau <
[email protected]
>
Acked-by: Dave Airlie <
[email protected]
>
Reviewed-by: Alex Deucher <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
include/linux/hdmi.h
patch
|
blob
|
history
diff --git
a/include/linux/hdmi.h
b/include/linux/hdmi.h
index 0f3f82eadef792474be402ea6de1264055543ce9..bc6743e76e378796474cb3cb784e062d07b904b0 100644
(file)
--- 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;