summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward O'Callaghan <funfunctor@folklore1984.net>2017-03-07 00:39:15 +1100
committerEdward O'Callaghan <funfunctor@folklore1984.net>2017-03-07 00:51:07 +1100
commit897875051d5e8f08fc83052ff8d8dcd344443987 (patch)
tree3574104e2961c9a4e959fffec0de4f1476d15d47
parente51684a9fe21761ca7044d76c9e7770347b45832 (diff)
README.md: initial notes
Signed-off-by: Edward O'Callaghan <funfunctor@folklore1984.net>
-rw-r--r--README.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..211f21c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,26 @@
+
+$ sudo dnf install mesa-libgbm-devel libdrm-devel
+
+$ pkg-config --cflags --libs egl gbm libdrm
+-I/usr/include/libdrm -lEGL -lgbm -ldrm
+
+
+ +--------- DRM device --------------+
+/ \
+ DRM fb => crtc => encoder => connector => display
+ \
+ \ multiple
+ planes
+
+
+ * Framebuffer
+ - Memory information such as width, height, depth, bpp, pixel format,..
+ * CRTC
+ - Mode information, resolution, depth, polarity, porch, refresh rate,..
+ - Information of the buffer region displayed.
+ - Change current framebuffer to new one.
+ * Encoder
+ - Take the digitial bit-stream from the CRTC
+ - Convert to appropriate analog levels for transmission across the connector to the monitor.
+ * Connector
+ - Provide the appropriate physical plugs such as HDMI, DVI-D, VGA, S-Video,..