New FBDev patch

9 messages, 6 authors, 2004-01-11 · open the first message on its own page

New FBDev patch

From: James Simmons <hidden>
Date: 2004-01-08 22:04:29

This is the latest patch against 2.6.0-rc3. Give it a try.

http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz

Here are the changes.

 Documentation/fb/modedb.txt           |    4 
 Documentation/fb/neofb.txt            |   27 
 MAINTAINERS                           |    5 
 drivers/char/vt.c                     |   47 
 drivers/char/vt_ioctl.c               |   12 
 drivers/video/Kconfig                 |  130 
 drivers/video/Makefile                |   15 
 drivers/video/acornfb.c               |    1 
 drivers/video/asiliantfb.c            |  619 
 drivers/video/aty/Makefile            |    1 
 drivers/video/aty/aty128fb.c          |  349 
 drivers/video/aty/atyfb.h             |  155 
 drivers/video/aty/atyfb_base.c        | 1842 +-
 drivers/video/aty/mach64_ct.c         |  732 -
 drivers/video/aty/mach64_cursor.c     |  324 
 drivers/video/aty/mach64_gx.c         |   20 
 drivers/video/aty/xlinit.c            |   68 
 drivers/video/bw2.c                   |   74 
 drivers/video/cfbimgblt.c             |    2 
 drivers/video/cg14.c                  |   98 
 drivers/video/cg3.c                   |   79 
 drivers/video/cg6.c                   |   89 
 drivers/video/chipsfb.c               |    4 
 drivers/video/cirrusfb.c              |   32 
 drivers/video/clients.c               |  108 
 drivers/video/console/Makefile        |   29 
 drivers/video/console/fbcon.c         |  703 -
 drivers/video/console/fbcon.h         |    3 
 drivers/video/controlfb.c             |   10 
 drivers/video/cyber2000fb.c           |  198 
 drivers/video/epson1355fb.c           |  967 -
 drivers/video/fbmem.c                 |  443 
 drivers/video/fbmon.c                 |   10 
 drivers/video/ffb.c                   |  110 
 drivers/video/fm2fb.c                 |    1 
 drivers/video/g364fb.c                |   78 
 drivers/video/i810/Makefile           |    7 
 drivers/video/i810/i810_main.c        |   21 
 drivers/video/igafb.c                 |    5 
 drivers/video/imsttfb.c               |   17 
 drivers/video/leo.c                   |   78 
 drivers/video/logo/Kconfig            |    2 
 drivers/video/logo/Makefile           |   49 
 drivers/video/logo/logo.c             |   10 
 drivers/video/macfb.c                 |   34 
 drivers/video/matrox/matroxfb_base.c  |    8 
 drivers/video/matrox/matroxfb_crtc2.c |    3 
 drivers/video/modedb.c                |    4 
 drivers/video/neofb.c                 |  446 
 drivers/video/p9100.c                 |   62 
 drivers/video/platinumfb.c            |   10 
 drivers/video/pm2fb.c                 | 3010 +---
 drivers/video/pvr2fb.c                |  846 -
 drivers/video/radeonfb.c              |    5 
 drivers/video/riva/fbdev.c            |  189 
 drivers/video/riva/nv_type.h          |   12 
 drivers/video/sa1100fb.c              |    1 
 drivers/video/sgivwfb.c               |   14 
 drivers/video/sis/300vtbl.h           | 2455 ---
 drivers/video/sis/310vtbl.h           | 3515 +----
 drivers/video/sis/init.c              | 8364 +++++-------
 drivers/video/sis/init.h              | 2874 +++-
 drivers/video/sis/init301.c           |21991 +++++++++++++++++-----------------
 drivers/video/sis/init301.h           |  535 
 drivers/video/sis/initdef.h           |  357 
 drivers/video/sis/oem300.h            |  502 
 drivers/video/sis/oem310.h            |  181 
 drivers/video/sis/osdef.h             |  122 
 drivers/video/sis/sis_accel.c         |   68 
 drivers/video/sis/sis_accel.h         |   27 
 drivers/video/sis/sis_main.c          | 4594 +++----
 drivers/video/sis/sis_main.h          |  713 -
 drivers/video/sis/vgatypes.h          |  267 
 drivers/video/sis/vstruct.h           |  218 
 drivers/video/skeletonfb.c            |   74 
 drivers/video/softcursor.c            |  206 
 drivers/video/sstfb.c                 |    4 
 drivers/video/stifb.c                 |    1 
 drivers/video/tcx.c                   |  115 
 drivers/video/tdfxfb.c                |   98 
 drivers/video/tgafb.c                 |  177 
 drivers/video/tridentfb.c             |    3 
 drivers/video/valkyriefb.c            |  548 
 drivers/video/vesafb.c                |   17 
 drivers/video/vgastate.c              |    1 
 include/linux/fb.h                    |  153 
 include/linux/linux_logo.h            |    4 
 include/linux/pci_ids.h               |  109 
 include/video/aty128.h                |    3 
 include/video/cirrus.h                |    1 
 include/video/cvisionppc.h            |   51 
 include/video/epson1355.h             |   64 
 include/video/mach64.h                |  229 
 include/video/neomagic.h              |  261 
 include/video/sisfb.h                 |  105 
 include/video/tdfx.h                  |    1 
 96 files changed, 30792 insertions(+), 30438 deletions(-)

through these ChangeSets:

[off-list ref] (04/01/08 1.1406)
   [IMSTT FBDEV] No longer need these special macros.

[off-list ref] (04/01/08 1.1404)
   [NEOMAGIC FBDEV] Fixed the nasty bug causing a oops. I needed to call neofb_check_var at bootup to fix the yres_virtual value. Updated the still not functional cursor code. The hardware imageblit code has a problem.

<jsimmons@debian.(none)> (04/01/07 1.1402)
   [MACH 64] Hardware info from the specs.

<jsimmons@debian.(none)> (04/01/07 1.1400)
   [VT CONSOLE] Pavel patch to fix the trailing cursor bug. The fix is to first hide the cursor _then_ hide the software cursor. A very old bug never discovered until now.

[off-list ref] (04/01/06 1.1398)
   [FBCON] Needed fix for resizing. Cols and rows where reversed.

[off-list ref] (04/01/06 1.1397)
   [ATY FBDEV] More PCI ids for more Mach 64 cards out there.

[off-list ref] (04/01/06 1.1396)
   [CONSOLE] Don't let a monochrome display stomp all over the color values.

[off-list ref] (04/01/06 1.1395)
   [FBDEV] Changed docs to reflect commandline change.

[off-list ref] (04/01/06 1.1394)
   [FM2 FBDEV] Removed old comment.

[off-list ref] (04/01/06 1.1393)
   [CIRRUS FBDEV] 16 bpp color mode fix.

[off-list ref] (03/12/19 1.1389)
   [FBCON] Fixed the order of which driver is used for the console. Before the api changes the last driver loaded became the default one. Now that is not the case. 

[off-list ref] (03/12/03 1.1380)
   [FBCON] Need to clear the cursor mask data.

[off-list ref] (03/11/06 1.1364)
   [ATY FBDEV] Sparc compile fixes.

<jsimmons@debian.(none)> (03/10/31 1.1358)
   [FBDEV] Fixed the cursor ioctl. It was placing the image and mask data in cursor instead of info->cursor.

<jsimmons@debian.(none)> (03/10/31 1.1357)
   [MACH64 FBDEV] Latest LCD support code.

<jsimmons@debian.(none)> (03/10/30 1.1354)
   [FBCON] cur_height might not be initialized. SO we use vc->vc_font.height instead. Fixed overflow issues with mask.

[off-list ref] (03/10/29 1.1350)
   [FBCON] Accidentally disabled flashing cursor.

[off-list ref] (03/10/29 1.1349)
   [FBCON] State management added.

<jsimmons@debian.(none)> (03/10/28 1.1344.1.13)
   [FBCON] Final fix to the cursor issues when the cursor wasn't divisible evenly by 8.

<jsimmons@debian.(none)> (03/10/28 1.1344.1.11)
   [FBDEV] Major fixes to the cursor code.

<jsimmons@debian.(none)> (03/10/27 1.1344.1.9)
   [FBDEV] The passed in data was in the wrong order.

[off-list ref] (03/10/17 1.1337.50.2)
   [FBDEV RADEON} The return of fb_setup.
   
   [FBDEV SGIVW] Match info to code.

[off-list ref] (03/10/16 1.1337.25.21)
   [FBDEV] Fixed Radeon PCI IDs so the agp driver could compile as well.

[off-list ref] (03/10/16 1.1337.25.19)
   [ATY128 FBDEV] ATI 128 Rage updates.
   
   [FBDEV] Sysfs updates

[off-list ref] (03/10/15 1.1337.25.18)
   [RADEON FBDEV] Fixed the pitch size.

[off-list ref] (03/10/15 1.1337.25.16)
   [FBDEV SOFT CURSOR] Fixed size bug.
   [FBDEV] Increased size for 64 bit platforms.

[off-list ref] (03/10/15 1.1337.25.15)
   [FBDEV SOFTWARE CURSOR] We always save the maximum are under the cursor. This way we don't have to worry about cursor resizing.

[off-list ref] (03/10/14 1.1337.25.14)
   [FBDEV] Implemented the first round of saving and restoring the area under the cursor.

[off-list ref] (03/10/14 1.1337.25.12)
   [FBDEV] Moved kernel header files to be visible only when compiling for the kernel. Userland doesn't need these header files. It also makes shifting from kernel version to kernel version easier.

[off-list ref] (03/10/14 1.1337.25.11)
   [SIS FBDEV] Compile fix.

[off-list ref] (03/10/13 1.1337.30.2)
   [SIS FBDEV] SIS updates. FIxed CRT1 detection.

[off-list ref] (03/10/03 1.1296.47.4)
   [SGIVW FBDEV] Fixed 16 bpp color mode.

[off-list ref] (03/09/29 1.1296.32.2)
   [FBDEV] Patch fixes get_std_timing. Current code doesn't search the  VESA modedb. Instead it exits after the first  iteration  with  mode calculated  by  calc_mode_timings.

[off-list ref] (03/09/22 1.1267.1.26)
   [FBDEV] Better makefile.

[off-list ref] (03/09/22 1.1267.1.25)
   pm2fb-2.6.patch

<jsimmons@debian.(none)> (03/09/19 1.1267.47.2)
   [TGA FBDEV] Updates to the tga famebuffer. Added color imageblit support. Added using dec logo for TGA fbdev. Color palette fix.

[off-list ref] (03/09/18 1.1267.1.20)
   Update driver with the new API

[off-list ref] (03/09/18 1.1267.1.19)
   Update sisfb driver:
   - merge with driver version version 090903-1 (from Thomas Winischhofer)
   - port driver to the new framebuffer_{alloc,release} API

[off-list ref] (03/09/17 1.1267.1.18)
   Update sparc framebuffer drivers to the new API.

[off-list ref] (03/09/17 1.1267.40.1)
   Add new API framebuffer_alloc and framebuffer_release.
   
   Framebuffer info structure (ie. struct fb_info) must be obtained from
   framebuffer_alloc. When it is no longer needed (after unregister_framebuffer
   and clean up) it can be released using framebuffer_release.
   
   If the framebuffer is not registered yet (eg. on error path) then fb_info must
   be released via kfree. 

[off-list ref] (03/09/16 1.1267.1.16)
   [MACH 64 FBDEV] Updated to new cursor api.

<jsimmons@debian.(none)> (03/09/14 1.1267.1.14)
   [FBDEV} Final cursor api.

[off-list ref] (03/09/04 1.1153.146.5)
   [FBDEV] Cleanup for Configuration of Mach64 driver.

[off-list ref] (03/09/04 1.1153.146.4)
   [FBDEV] Fixed the cursor code. Also some cleanup with move_buf_*. 

[off-list ref] (03/09/04 1.1153.146.3)
   [FBDEV] Currcon removal. fbcon.c does this for us.

[off-list ref] (03/09/04 1.1153.146.2)
   [FBDEV MODEDB] Better support for 1400x1050 modes.

[off-list ref] (03/08/21 1.1153.1.97)
   [FBDEV] Removed currcon from low level drivers.

[off-list ref] (03/08/21 1.1153.1.96)
   [FBDEV] Sysfs support.

[off-list ref] (03/08/18 1.1153.6.4)
   [RIVA FBDEV] Finally cursor api is complete. A few bugs yet but now to start on other drivers.

[off-list ref] (03/08/15 1.1153.6.2)
   [TDFX FBDEV] Fixed Interlace. Only for Banshee interlace wasn't supported.
                Added Double scanline mode.
   	     Fixed the foreground color value for tdfxfb_fillrect. For Truecolor modes we have to map the to the proper color value 

<jsimmons@bohr.(none)> (03/08/11 1.1123.21.2)
   [NEOMAGIC FBDEV] Add going between graphics and VGA text mode. 

[off-list ref] (03/07/21 1.1046.416.32)
   [TDFX FBDEV] Fixes to make the image blitter work. Also the color handling code was fixed. 

[off-list ref] (03/07/15 1.1046.416.28)
   [FBCON] Always turn off the cursor in fbcon_cursor. The reason is that cursor might try to blink while we are reprogramming the hardware.

[off-list ref] (03/07/11 1.1046.416.25)
   [IMSTT FBDEV] Free up resources when it fails.

[off-list ref] (03/07/11 1.1046.416.24)
   [FBDEV] Makefiel cleanups.

[off-list ref] (03/07/11 1.1046.416.23)
   [ASILIANT FBDEV] Added support for the asiliant graphics chipset.

[off-list ref] (03/07/09 1.1046.416.18)
   [RIVA FBDEV] Support for more versions of GEFORCE 4. Also some cursor cleanup to allow it to compile.

[off-list ref] (03/07/08 1.1046.416.15)
   [SIS FBDEV] Updates to the SiS framebuffer driver. Add support for 760 chipset, LCD scaling.

<jsimmons@kozmo.(none)> (03/07/03 1.1046.416.12)
   [NEOMAGIC FBDEV] Fixed a nasty bug in the copyarea function. It wasn't testing for the condition when both regions have the same y coordinates but are over lapping. This casued a corrpution of data. Also started ot used the macros in vga.h.

<jsimmons@kozmo.(none)> (03/06/30 1.1046.416.7)
   [LOGO] Display the correct logo for MIPS DEC workstations.

<jsimmons@kozmo.(none)> (03/06/25 1.1046.416.1)
   [FBCON] Removed the crappy ROP_COPY/ROP_XOR test for flashing the cursor. Now we disable and enable the cursor timer instead.

<jsimmons@kozmo.(none)> (03/06/24 1.1046.1.192)
   [FBDEV] Now we can use a specific hardware mapper for different hardware functionality.

<jsimmons@kozmo.(none)> (03/06/23 1.1046.1.188)
   [VGA CORE] Added needed vmalloc header.

<jsimmons@kozmo.(none)> (03/06/23 1.1046.1.185)
   [FBCON] When using 512 characters, the mouse pointer starts using the wrong complement_mask after a console reset.

<jsimmons@kozmo.(none)> (03/06/23 1.1046.1.184)
   [FBDEV] Made chipsfb/controlfb/platinumfb use the xxfb kernel command line string.

[off-list ref] (03/06/18 1.1046.1.180)
   [MAC FBDEV] Bug fixes.

[off-list ref] (03/06/15 1.1046.1.176)
   [SIS FBDEV] More updates for the SIS driver. 

[off-list ref] (03/06/14 1.1046.1.174)
   [CONTROL/PLATINUM FBDEV] Fix to match change in fb_set_var.

[off-list ref] (03/06/10 1.1046.1.170)
   [FBDEV] Fixed a issue with soft_cursor. It only worked with drivers with a pixmap.scan_align of 1. Now it will work with any.

<jsimmons@kozmo.(none)> (03/06/07 1.1046.1.164)
   [SIS FBDEV] Fixed sysnc issue.

<jsimmons@kozmo.(none)> (03/06/05 1.1046.1.160)
   [FBCON] Cleared out the struct fb_cursor we passed in. Other wise we get random data being used.

<jsimmons@kozmo.(none)> (03/05/30 1.1046.1.155)
   [FBDEV GENERIC ACCEL] Fixed why logo was not displayed for some.

[off-list ref] (03/05/24 1.1046.155.3)
   [VALKYRUE FBDEV] Ported to new api.

[off-list ref] (03/05/23 1.1046.155.1)
   [FBDEV] Updates to explain the new cursor api.

[off-list ref] (03/05/23 1.1046.1.142)
   [EPSON FRAMEBUFFER] Ported to the new api. Added support for the arm platform.

[off-list ref] (03/05/15 1.1046.84.18)
   [SIS FBDEV] SIS Framebuffer updates.
                 - Added preliminary and untested support for SiS660
                 - Added DDC support
                 - Enhanced proprietary programming API for compatibility with X driver
                   and upcoming SDL updates and upcoming vidix driver for mplayer
                 - Fixes for video bridge output on various HW combinations
                 - Fixes in TV detection
                 - Reduced source size by removing duplicated data
                 - Updated Kconfig descriptions

[off-list ref] (03/05/14 1.1046.73.2)
   [PVR2 FBDEV] Port of the Dreamcast Frambuffer to the new api.

[off-list ref] (03/05/12 1.1046.7.19)
   [FBCON] set_con2fb_map wasn't testing to see the VC we where mapping to actually exist. Now it does. 
   
           I add code to fbcon_cursor to reset the hotspot if it was changed by userland. 

[off-list ref] (03/05/12 1.1046.7.17)
   [RIVA FBDEV] Removal of exccess variable. Kills off a few warnings.

[off-list ref] (03/05/12 1.1046.7.16)
   [VESA FBDEV] Removed the EDID code. The results where mixed. It worked for some but not for others.

[off-list ref] (03/05/12 1.1046.7.15)
   [CONSOLE] This patch fixes the problem of not being able to set the fonts on VCs other than the first one. This also was the bug that was casuing dual head (vga and mda) to lock up.

<jsimmons@kozmo.(none)> (03/05/02 1.1042.122.2)
   [FBDEV] Synced to kdev_t change.

<jsimmons@kozmo.(none)> (03/04/22 1.1042.37.2)
   [FBDEV] Moved pixmap to the kernel side of the header. Will not be needed for ioctl calls at the present time.
   
   [FBCON] Lots more optimizations.

<jsimmons@kozmo.(none)> (03/04/21 1.1042.37.1)
   [LOGO] Removed fb_ prefix. Wil be used by other drivers such as the newport driver.
   
   [G354 FBDEV] Now use the final cursor api.




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

Re: New FBDev patch

From: Paul Mundt <hidden>
Date: 2004-01-08 23:05:46

Hi James,

On Thu, Jan 08, 2004 at 10:03:54PM +0000, James Simmons wrote:
This is the latest patch against 2.6.0-rc3. Give it a try.

http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz

Here are the changes.

 drivers/video/pvr2fb.c                |  846 -
[snip]
[off-list ref] (03/05/14 1.1046.73.2)
   [PVR2 FBDEV] Port of the Dreamcast Frambuffer to the new api.
Please drop this from your patch, it re-introduces a number of parse
errors that I already fixed in the 2.6 tree.

On another note, I do have some more pvr2fb updates pending, but I'll send
these to you seperately.

Re: New FBDev patch

From: Tomas Szepe <hidden>
Date: 2004-01-08 23:13:35

On Jan-08 2004, Thu, 22:03 +0000
James Simmons [off-list ref] wrote:
This is the latest patch against 2.6.0-rc3. Give it a try.
http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o(.init.data+0x33c): undefined reference to adeonfb_setup'
make: *** [.tmp_vmlinux1] Error 1

CONFIG_FB=y
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_HGA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I810 is not set
# CONFIG_FB_MATROX is not set
CONFIG_FB_RADEON=y
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_VIRTUAL is not set

-- 
Tomas Szepe [off-list ref]


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

Re: New FBDev patch

From: James Simmons <hidden>
Date: 2004-01-09 00:35:27


Try it again. I missed a patch for the radeon.




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

Re: [Linux-fbdev-devel] New FBDev patch

From: Kronos <hidden>
Date: 2004-01-09 17:17:21

Il Thu, Jan 08, 2004 at 10:03:54PM +0000, James Simmons ha scritto: 
This is the latest patch against 2.6.0-rc3. Give it a try.

http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz
[off-list ref] (03/09/17 1.1267.40.1)
   Add new API framebuffer_alloc and framebuffer_release.
   
   Framebuffer info structure (ie. struct fb_info) must be obtained from
   framebuffer_alloc. When it is no longer needed (after unregister_framebuffer
   and clean up) it can be released using framebuffer_release.
   
   If the framebuffer is not registered yet (eg. on error path) then fb_info must
   be released via kfree. 

Are we sure that we want this for 2.6? Greg KH has a much less intrusive
patch, maybe you should take that instead and keep my work 2.7.

If you decide to go with framebuffer_alloc then I have more patches for
you ;)

Luca
-- 
Reply-To: kronos@kronoz.cjb.net
Home: http://kronoz.cjb.net
I went to God just to see
And I was looking at me
Saw heaven and hell were lies
When I'm God everyone dies

Re: [Linux-fbdev-devel] New FBDev patch

From: James Simmons <hidden>
Date: 2004-01-09 20:07:00

quoted
http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz
quoted
[off-list ref] (03/09/17 1.1267.40.1)
   Add new API framebuffer_alloc and framebuffer_release.
   
   Framebuffer info structure (ie. struct fb_info) must be obtained from
   framebuffer_alloc. When it is no longer needed (after unregister_framebuffer
   and clean up) it can be released using framebuffer_release.
   
   If the framebuffer is not registered yet (eg. on error path) then fb_info must
   be released via kfree. 

Are we sure that we want this for 2.6? Greg KH has a much less intrusive
patch, maybe you should take that instead and keep my work 2.7.

If you decide to go with framebuffer_alloc then I have more patches for
you ;)
I have been using it for awhile on various cards. 




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

Re: Re: New FBDev patch (a little report)

From: Javier Villavicencio <hidden>
Date: 2004-01-10 17:15:45

Hi, I've tested this patch (after the radeon patch update), and it's working
almost perfect with just one problem: going back from X the framebuffer
screen is completely distorted, but it can be corrected changing the depth
with fbset (-depth 8/16/32 and back to the working depth).
I have a radeon 9600 (or RV350 AP) and of course the -current- 2.6.x
driver doesn't include this PCI_ID in the code, so it "shouldn't work", but
I've added (from 2.4) the PCI_ID and some code to recognize/setup the
rv350 and the current 2.6.x driver -just- worked, I cannot use fbset to
set resolutions/depths, because it screws up the whole framebuffer. But
going back from X and to X works ok if I don't touch the framebuffer with
fbset. This is with my modified verison of the 2.6.x old driver.
IIRC there was a mail about the binary driver from ATI touching something
hidden in the chip and that I think may be the cause of this "distortion" when
switching from and to X (yes, sometimes X screws up when switching from
framebuffer, but running any GL app corrects everything in X, ej: glxgears).
So the strange thing about this is the old driver working "almost" correctly
with the binary X drivers from ATI and the new driver working flawless in 
console but destroying completely the state of the card when switching
to/from X (and of course X using binary ATI drivers).

Salu2.
Javier Villavicencio.

On Fri, 9 Jan 2004 00:35:20 +0000 (GMT)
James Simmons [off-list ref] wrote:

Try it again. I missed a patch for the radeon.




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Linux-fbdev-devel mailing list
Linux-fbdev-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel

-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

Re: Re: New FBDev patch (a little report)

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2004-01-11 07:40:41

On Sun, 2004-01-11 at 04:15, Javier Villavicencio wrote:
Hi, I've tested this patch (after the radeon patch update), and it's working
almost perfect with just one problem: going back from X the framebuffer
screen is completely distorted, but it can be corrected changing the depth
with fbset (-depth 8/16/32 and back to the working depth).
We need to add a callback to the fbdev when restoring the console
from KD_GRAPHICS to KD_TEXT, maybe a special case of "switch".

James, I suggest turning that into a set_par call with a flag for
'forcing' the mode to be re-applied fully even if it already matches
the HW. (Currently, set_par in some drivers like my new radeonfb,
for obvious perfs reasons, will not touch the HW if the var and the
par are matching already).

Ben.
 



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

Re: Re: New FBDev patch (a little report)

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2004-01-11 07:47:09

Javier !

Please remove yor f*king refuse spam junk ! It doesn't even work
properly

Ben.




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help