summaryrefslogtreecommitdiffstats
path: root/include/fb.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-12-14 17:37:51 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-07-13 08:38:19 +0200
commit70007036a5e65247b7e9ccfa1fe6763e8e94d21d (patch)
tree249186893183d410441dc125ec10d3c794ccc789 /include/fb.h
parentc76bfc96384333830d0301fb2e5e4ba557ceaac4 (diff)
downloadbarebox-70007036a5e65247b7e9ccfa1fe6763e8e94d21d.tar.gz
barebox-70007036a5e65247b7e9ccfa1fe6763e8e94d21d.tar.xz
video: Add Video Pipeline (VPL) support
Complex video pipelines are modelled with the of_graph bindings in the devicetree. This patch adds a ioctl infrastructure to issue commands to the remote endpoint of a of_graph. Currently defined ioctls are prepare/unprepare, enable/disable and get_modes. This is enough to control LVDS or HDMI encoder or simple panels. A device node which contains of_graph endpoints can be registered as a VPL entity. An entity can receive ioctls via the .ioctl callback and also issue ioctls by calling vpl_ioctl. The core itself will never iterate over the entire pipeline. Instead, the different VPL entities should forward an ioctl to the next instance in the pipeline whenever necessary. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/fb.h')
-rw-r--r--include/fb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fb.h b/include/fb.h
index 2db6ad6f37..9e59b2a3f1 100644
--- a/include/fb.h
+++ b/include/fb.h
@@ -99,6 +99,7 @@ struct display_timings {
unsigned int num_modes;
struct fb_videomode *modes;
+ void *edid;
};
struct i2c_adapter;