From: Hinko Kocevar <hinko.kocevar@cetrtapot.si>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: rotation
Date: Tue, 01 Jul 2008 12:26:39 +0200 [thread overview]
Message-ID: <486A065F.7070607@cetrtapot.si> (raw)
Hello,
We have a 320x240 color TFT LCD display attached to EPSON s1d13706 chip. Currently the display does not need rotating, but with the new LCD panel that replaced the old one a rotation of 180 degrees needs to be applied. We have our own framebuffer driver - similar to drivers/video/s1d13xxxfb.c but with some additional stuff for our architecture (cris).
The question arises where is the best place to implement this rotation?
I reckon it is the kernel, since all userspace need to use framebuffer transparently.
We don't use the fbcon at all so fbcon rotation is not an option. I've spotted fb_rotate field in struct fb_ops with the deprecated comment (seen in skeletonfb.c). I guess this is not an option too..
Then I guess I'm left with (re-)implementing the fb_mmap/fb_read/fb_write/fb_fillrect/fb_copyarea/fb_imageblit ?!?!
Any comments?
Best regards,
Hinko
--
ÈETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar@cetrtapot.si
Http: www.cetrtapot.si
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
next reply other threads:[~2008-07-01 10:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-01 10:26 Hinko Kocevar [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-01-10 10:26 [Linux-fbdev-devel] rotation Antonino Daplas
2003-01-10 19:42 ` rotation James Simmons
2003-01-11 5:13 ` rotation Antonino Daplas
2003-01-07 22:44 rotation James Simmons
2003-01-08 10:24 ` rotation Geert Uytterhoeven
2003-01-09 19:44 ` rotation James Simmons
2003-01-08 16:56 ` rotation Antonino Daplas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=486A065F.7070607@cetrtapot.si \
--to=hinko.kocevar@cetrtapot.si \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).