intelfb - full mode switching support on laptops - done.

3 messages, 2 authors, 2009-03-16 · open the first message on its own page

intelfb - full mode switching support on laptops - done.

From: Sergey Kvachonok <hidden>
Date: 2009-03-07 20:06:04

Not an incremental change over current intelfb 0.9.5(6), so no [PATCH].
Written to make framebuffer work on eee pc (i945GME) with non-standard
1024x600 resolution panel,
as an alternative to ugly 915resolution + uvesafb hack.

My attempts to incorporate something into existing code base, which is
a mess, failed, so version 2 was born.
It uses intelfb as a framework, while most of the code rewritten following
published Intel 965 G35 PRM
(http://intellinuxgraphics.org/documentation.html), xf86-video-intel,
intelfb, in that order.

Version 2 aims for full dualhead support on single device, most modern
chips (mobile) allow it.
Current approach allows having dualhead configuration practically for
free, as most hardware handling code is now dynamic,
which was required to correctly program the pipeline on mobile devices.
Not implemented in this release though.
Hardware acceleration and hardware cursor support are currently broken
and disabled.
Hardware cursor support is practically done, will be back soon. Going
to give up on HW accel altogether,
and hack in overlay mixer support instead, which is about 1e8 times
more useful IMO.
Agpgart supported memory allocation works, but is optional now, with
safe fallback.

Tested in mobile i945GME with integrated panel only, both native and
scaled modes. Conventional analog output should work, but not tested,
as it doesn't enable secondary ports yet and I don't have non-mobile
intel graphics chip. Test applications - fbcon, fbxine, X.
Can't test it on anything else (hardware), so help is needed.

Recommended use as a standalone module only, the code is obviously not
ready for the kernel.

The tarball contains Makefile for a standalone module build, but
depends heavily on kernel Kconfig (inherited from intelfb) and
cfb_* helper modules.
So correct installation order is to compile intelfb shipped with the
kernel as a module, install it, and then separately build and install
standalone intelfb2 over it.
Makefile is a quick hack, as is the build process, any corrections appreciated.

Mobile integrated panel specifics:
Initial mode specification is not required for integrated panel,
driver detects it at startup. mode="" only messes things up.
Mode changes are supported, both bpp and non-native resolution via
panelfitter (upscaling only).

Current driver always builds in debug version, additional "debug"
module command line parameter enables verbose register dumps (many
pages).
Nothing can be diagnosed without it, so always run with "debug" and
send all relevant dmesg output when reporting problems.
Numerous module parameters can help to isolate hangups, like noinit,
noregister, fixed, noagpgart, etc.

Source tarball:
http://intelfb2.googlecode.com/files/intelfb2-1.9.0.tar.gz

Awaiting test reports, corrections, code reviews, swearing, etc.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

Re: intelfb - full mode switching support on laptops - done.

From: Sergey Kvachonok <hidden>
Date: 2009-03-10 00:37:47

On Sat, Mar 7, 2009 at 10:05 PM, Sergey Kvachonok [off-list ref] wrote:
Source tarball:
http://intelfb2.googlecode.com/files/intelfb2-1.9.0.tar.gz
Didn't compile on 2.6.29-rc5, fixed. var->pixclock == 0 from userspace
oops fixed.
http://intelfb2.googlecode.com/files/intelfb2-1.9.1.tar.gz

Has some serious issues too, subsequent updates will arrive at
http://code.google.com/p/intelfb2/downloads/list

------------------------------------------------------------------------------

Re: intelfb - full mode switching support on laptops - done.

From: Dave Airlie <airlied@gmail.com>
Date: 2009-03-16 22:08:59

On 08/03/2009, at 6:05, Sergey Kvachonok [off-list ref] wrote:
Not an incremental change over current intelfb 0.9.5(6), so no  
[PATCH].
Written to make framebuffer work on eee pc (i945GME) with non-standard
1024x600 resolution panel,
as an alternative to ugly 915resolution + uvesafb hack.

My attempts to incorporate something into existing code base, which is
a mess, failed, so version 2 was born.
It uses intelfb as a framework, while most of the code rewritten  
following
published Intel 965 G35 PRM
(http://intellinuxgraphics.org/documentation.html), xf86-video-intel,
intelfb, in that order.

Version 2 aims for full dualhead support on single device, most modern
chips (mobile) allow it.
Current approach allows having dualhead configuration practically for
free, as most hardware handling code is now dynamic,
which was required to correctly program the pipeline on mobile  
devices.
Not implemented in this release though.
Hardware acceleration and hardware cursor support are currently broken
and disabled.
Hardware cursor support is practically done, will be back soon. Going
to give up on HW accel altogether,
and hack in overlay mixer support instead, which is about 1e8 times
more useful IMO.
Agpgart supported memory allocation works, but is optional now, with
safe fallback.

Tested in mobile i945GME with integrated panel only, both native and
scaled modes. Conventional analog output should work, but not tested,
as it doesn't enable secondary ports yet and I don't have non-mobile
intel graphics chip. Test applications - fbcon, fbxine, X.
Can't test it on anything else (hardware), so help is needed.

Recommended use as a standalone module only, the code is obviously not
ready for the kernel.

The tarball contains Makefile for a standalone module build, but
depends heavily on kernel Kconfig (inherited from intelfb) and
cfb_* helper modules.
So correct installation order is to compile intelfb shipped with the
kernel as a module, install it, and then separately build and install
standalone intelfb2 over it.
Makefile is a quick hack, as is the build process, any corrections  
appreciated.

Mobile integrated panel specifics:
Initial mode specification is not required for integrated panel,
driver detects it at startup. mode="" only messes things up.
Mode changes are supported, both bpp and non-native resolution via
panelfitter (upscaling only).

Current driver always builds in debug version, additional "debug"
module command line parameter enables verbose register dumps (many
pages).
Nothing can be diagnosed without it, so always run with "debug" and
send all relevant dmesg output when reporting problems.
Numerous module parameters can help to isolate hangups, like noinit,
noregister, fixed, noagpgart, etc.

Source tarball:
http://intelfb2.googlecode.com/files/intelfb2-1.9.0.tar.gz

Awaiting test reports, corrections, code reviews, swearing, etc.
Please don't bother with this we now have drm kms support for intel  
chips upstream please fix up any missing pieces from it and let  
intelfb die, hopefully soon we can remove intelfb for ever.

Dave.
--- 
--- 
--- 
---------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San  
Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the  
Enterprise
-Strategies to boost innovation and cut costs with open source  
participation
-Receive a $600 discount off the registration fee with the source  
code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Linux-fbdev-devel mailing list
Linux-fbdev-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help