Thread (23 messages) 23 messages, 5 authors, 2012-10-22

Re: [PATCH 2/2 v6] of: add generic videomode description

From: Stephen Warren <hidden>
Date: 2012-10-04 18:51:00
Also in: dri-devel, linux-devicetree, linux-media

On 10/04/2012 11:59 AM, Steffen Trumtrar wrote:
Get videomode from devicetree in a format appropriate for the
backend. drm_display_mode and fb_videomode are supported atm.
Uses the display signal timings from of_display_timings
quoted hunk ↗ jump to hunk
+++ b/drivers/of/of_videomode.c
+int videomode_from_timing(struct display_timings *disp, struct videomode *vm,
+	st = display_timings_get(disp, index);
+
+	if (!st) {
It's a little odd to leave a blank line between those two lines.

Only half of the code in this file seems OF-related; the routines to
convert a timing to a videomode or drm display mode seem like they'd be
useful outside device tree, so I wonder if putting them into
of_videomode.c is the correct thing to do. Still, it's probably not a
big deal.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help