Re: [Linux-fbdev-devel] [REVIEW PATCH 1/9] DSS: Documentation for OMAP2/3 display subsystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 4 Nov 2008, Tomi Valkeinen wrote:
> +Sysfs
> +-----
> +The sysfs interface is a hack, but works for testing. I don't think sysfs
> +interface is the best for this in the final version, but I don't quite know
> +what would be the best interfaces for these things.
> +
> +In /sys/devices/platform/omapfb we have four files: framebuffers,
> +overlays, managers and displays. You can read them so see the current
> +setup, and change them by writing to it in the form of
> +"<item-id> <opt1>:<val1> <opt2>:<val2>..."
> +
> +"framebuffers" lists all framebuffers. Its format is:
> +	<fb number>
> +	t:<target overlay>
> +
> +"overlays" lists all overlays. Its format is:
> +	<overlay name>
> +	t:<target manager>
> +	x:<xpos>
> +	y:<ypos>
> +	iw:<input width, read only>
> +	ih:<input height, read only>
> +	w:<output width>
> +	h:<output height>
> +	e:<enabled>
> +
> +"managers" lists all overlay managers. Its format is:
> +	<manager name>
> +	t:<target display>
> +
> +"displays" lists all displays. Its format is:
> +	<display name>
> +	w:<width>
> +	h:<height>
> +	e:<enabled>
> +	u:<update mode>
> +	t:<tear sync on/off>

As all of these contain lists of sections (one for each
fb/overlay/manager/display), what about making them directories, with each
section an individual file?

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux