8 Commits

Author SHA1 Message Date
Thomas Jarosch
cda8bee056 Fix out of bounds memory access
cppcheck reported:
[tools/intel_infoframes.c:836]: (error) Width 31 given in format string
(no. 1) is larger than destination buffer 'option[16]',
use %15s to prevent overflowing it.

Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-01-06 18:20:47 +01:00
Damien Lespiau
4650505d7e intel_infoframes: Dump HDMI vendor infoframes
Those infoframes are programmed when using stereo 3D modes.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-09-27 08:43:48 +02:00
Ben Widawsky
bc62567b77 clang: Fix static analysis warnings from clang
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-08-30 14:20:52 -07:00
Paulo Zanoni
984e44f88b intel_infoframes: options -p and -P require an argument
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
2012-05-16 17:07:29 -03:00
Ben Widawsky
c6f42f4cca intel_infoframe: fix assertion off by 1
this makes my compiler very unhappy

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-04-28 20:10:09 -07:00
Paulo Zanoni
9898083fa2 intel_infoframes: add support for Gen 4
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-04-25 23:07:09 +02:00
Paulo Zanoni
0611af4a33 intel_infoframes: AVI InfoFrame version should be 2
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-04-25 23:06:52 +02:00
Paulo Zanoni
fd58520796 Add tools/intel_infoframes
This is a command-line tool that allows us to display and modify the
InfoFrames we send.

v2: use argv instead of stdin

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-04-13 15:48:08 +02:00