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

Re: updated X drivers in etch+1/2?



On Wed, Feb  6, 2008 at 23:36:26 +0100, Julien Cristau wrote:

> Hi,
> 
> at debconf last year, we discussed the possibility to include some X
> drivers in etch+1/2 to support newer hardware.  IMO it'd be nice to
> update the nv and intel drivers, but there's probably some work needed
> to backport that to xserver 1.1.  Would anybody on debian-x have the
> interest/time to try this?  If someone is interested I can help, but it
> doesn't look like I'll have time to do it on my own.
> 
OK, looking at the nv driver, I get the following diffstat between
1:1.2.0-3 (in etch) and a possible 1:2.0.3-1:
 .gitignore                       |   23 
 COPYING                          |   26 
 Makefile.am                      |   12 
 Makefile.in                      |   20 
 README.G80                       |   16 
 aclocal.m4                       |  127 ++-
 autogen.sh                       |   12 
 config.guess                     |   91 --
 config.h.in                      |    6 
 config.sub                       |   53 -
 configure                        | 1576 +++++++++++----------------------------
 configure.ac                     |   22 
 debian/changelog                 |    7 
 debian/xsfbs/xsfbs-autoreconf.mk |    2 
 debian/xsfbs/xsfbs.mk            |  131 +--
 debian/xsfbs/xsfbs.sh            |    9 
 ltmain.sh                        |  126 ---
 man/.gitignore                   |    2 
 man/Makefile.am                  |    9 
 man/Makefile.in                  |    7 
 man/nv.man                       |   85 +-
 mkinstalldirs                    |   89 +-
 src/Makefile.am                  |   28 
 src/Makefile.in                  |  130 +--
 src/g80_cursor.c                 |  185 ++++
 src/g80_cursor.h                 |    3 
 src/g80_ddc.c                    |  269 ++++++
 src/g80_ddc.h                    |    1 
 src/g80_display.c                |  537 +++++++++++++
 src/g80_display.h                |   10 
 src/g80_dma.c                    |   65 +
 src/g80_dma.h                    |   14 
 src/g80_driver.c                 |  937 +++++++++++++++++++++++
 src/g80_type.h                   |   76 +
 src/g80_xaa.c                    |  554 +++++++++++++
 src/g80_xaa.h                    |    1 
 src/nv_const.h                   |    3 
 src/nv_cursor.c                  |    2 
 src/nv_dac.c                     |   10 
 src/nv_dga.c                     |    2 
 src/nv_dma.h                     |    2 
 src/nv_driver.c                  |  400 ++++++++-
 src/nv_hw.c                      |   35 
 src/nv_include.h                 |    4 
 src/nv_local.h                   |    1 
 src/nv_proto.h                   |    3 
 src/nv_setup.c                   |   14 
 src/nv_shadow.c                  |    4 
 src/nv_type.h                    |   14 
 src/nv_video.c                   |    2 
 src/nv_xaa.c                     |    3 
 src/nvreg.h                      |  200 ----
 src/nvvga.h                      |   82 --
 src/riva_const.h                 |    3 
 src/riva_cursor.c                |    2 
 src/riva_dac.c                   |    3 
 src/riva_dga.c                   |    2 
 src/riva_driver.c                |   57 -
 src/riva_hw.c                    |    4 
 src/riva_hw.h                    |    2 
 src/riva_include.h               |    2 
 src/riva_local.h                 |    1 
 src/riva_proto.h                 |    3 
 src/riva_setup.c                 |    2 
 src/riva_shadow.c                |    4 
 src/riva_tbl.h                   |    3 
 src/riva_type.h                  |    2 
 src/riva_xaa.c                   |    3 
 68 files changed, 4054 insertions(+), 2081 deletions(-)

src/g80_* are new files, and actually add support for new hardware.  The
configure diff can (I think) be ignored, it's just regenerated in a
current etch environment.
Lots of files with 2 or 3 lines diff got their CVS tags removed, I can
revert that if it's preferred by the SRMs.
Changes in debian/xsfbs/ could be removed too, if needed (I updated
these packaging scripts to the latest version, but the changes aren't
needed/used here).
Most changes in src/nv_driver.c are new PCI IDs.
There are some additional bug fixes for older hardware (changes in
src/nv_*.c, bug numbers refer to bugs.freedesktop.org):
- the riva128 submodule is removed, and folded in nv_drv.so
- Fix some random colormap corruption on DFPs with certain pre-G80 GPUs.
- Bug #4686: Fix a minor GeForceFX + flatpanel + video overlay
  corruption issue.  (this change was also in sarge, but reverted
  accidentally in xfree86 cvs)
- Replace panel message + MODE_BAD with MODE_PANEL.
- Hide the cursor in CloseScreen.
- Avoid hanging when switching modes on some nv4x cards.
- Bug #10360: Need to inject a mode corresponding panel width/height for
  validation
- Add rudimentary VBE-based dual head support for pre-G80. (no change
  unless the DualHead option is enabled in xorg.conf afaict)
- Bug #7309: Delay after disabling cursor to avoid wedging the cursor
  hardware on GeForce 6150.
Any of these should be easily reverted if deemed unsuitable for
etch+1/2.  I don't have any nvidia hardware, so it would be nice if
people with a g80-class nvidia gpu who are ready to test this could
contact me.

Cheers,
Julien


Reply to: