home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 22182 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  3.6 KB

  1. Xref: sparky comp.os.linux:22182 comp.windows.x.i386unix:184
  2. Newsgroups: comp.os.linux,comp.windows.x.i386unix
  3. Path: sparky!uunet!gatech!paladin.american.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsc!cbfsb!att-out!cbnewsj!dwex
  4. From: dwex@cbnewsj.cb.att.com (david.e.wexelblat)
  5. Subject: Re: XFree 1.1 with T8900; mixed results.
  6. Organization: AT&T
  7. Date: Wed, 30 Dec 1992 19:50:53 GMT
  8. Message-ID: <1992Dec30.195053.28678@cbnewsj.cb.att.com>
  9. References: <1992Dec28.165948.17397@fwi.uva.nl> <1992Dec28.181842.21972@Informatik.TU-Muenchen.DE> <1992Dec28.231123.19120@ucc.su.OZ.AU>
  10. Lines: 62
  11.  
  12. In article <1992Dec28.231123.19120@ucc.su.OZ.AU> dawes@physics.su.OZ.AU (David Dawes) writes:
  13. > In article <1992Dec28.181842.21972@Informatik.TU-Muenchen.DE> roell@informatik.tu-muenchen.de (Thomas Roell) writes:
  14. > >>  2. why does the 256 color Trident display driver only support
  15. > >>     T8900C chips? What's this annoying difference between the
  16. > >>     T8900B and C?
  17. > >
  18. > >That's a very trivial reason. For some X stuff you need to have access
  19. > >to a source byte and a destination byte at the same time. If you deal
  20. > >with SVGA's which cannot map their whole 1MB video memory into the
  21. > >CPU's address space, you have to do banking. If you also have to
  22. > >fullfill the upper constraint, then you see that you need to have two
  23. > >banks which can be used independantly (since source and destination of
  24. > >the operation might not be in the same bank).
  25. > >
  26. > >The TVGA8900B supports only ONE bank, while the TVGA8900C supports TWO
  27. > >banks.
  28. > The XFree86 tvga driver actually uses the TVGA8900C in single-bank mode.
  29. > Apparently it benchmarked quicker in that mode than in the dual-bank
  30. > mode (don't ask me why -- I was suprised at the results).  We use a
  31. > different bitblt routine in this case.
  32.  
  33. David is right, and Thomas is wrong (rare though that is :->).  XFree86
  34. uses only a single bank for the TVGA8900.  For whatever reason, one bank
  35. is faster than two (verified with three different boards on two different
  36. machines, under 3 different OSs).
  37.  
  38. > For this reason I expected that our driver might work on the 8900B, but
  39. > it seems that it doesn't.  The only other difference that I know of
  40. > between the 8900B and 8900C is that some registers are read-only on the B
  41. > and R/W on the C.  If someone with an 8900B and X source on-line wants
  42. > to look into this, please let us know.
  43.  
  44. As one of the two developers of XFree86's Trident driver, I can explain
  45. this.  There are two registers on the TVGA8900 that indicate the amount
  46. of installed memory.  One is always right, and the other is generally
  47. wrong.  The value in this second register must be set to the correct memory
  48. amount or the memory addressing will be wrong.  On the TVGA8900B, this
  49. register cannot be written, hence the correction cannot be made.  It
  50. MIGHT be possible to use a TVGA89000B with only 512k memory, but I doubt
  51. it.  Rather than have things fail in bizarre ways, we just disallowed
  52. the use of the 8900B at startup.
  53.  
  54. Sorry.
  55.  
  56.  
  57. > David
  58. > --
  59. > ------------------------------------------------------------------------------
  60. >  David Dawes (dawes@physics.su.oz.au)    DoD#210      | Phone: +61 2 692 2639
  61. >  School of Physics, University of Sydney, Australia   | Fax:   +61 2 660 2903
  62. > ------------------------------------------------------------------------------
  63.  
  64.  
  65. --
  66. David Wexelblat <dwex@mtgzfs3.att.com>  (908) 957-5871
  67. AT&T Bell Laboratories, 200 Laurel Ave - 3F-428, Middletown, NJ  07748
  68.  
  69. "The meaning of life?  That's simple.  Try to be happy, try not to hurt
  70.  other people, and hope to fall in love."  -- Mallory Keaton
  71.