Commit Graph

983 Commits

Author SHA1 Message Date
Axel Dörfler
3adccb1935 * More or less completely rewrote the AGP bus manager.
* It now also serves as a generic GART manager and accepts bus modules as well
  as custom modules of graphics drivers if they want to (could be used for the
  Radeon PCI GART stuff, for example).
* Implemented GART support module for Intel i965 and G33 chipsets (the other
  Intel chips will come later).
* Renamed agp bus manager to agp_gart to reflect its new functionality (even
  though the AGP functionality is already outdated (due to PCIe), the GART
  stuff remains current).
* Adapted existing users of the AGP bus manager to the API changes.
* Not very well tested yet...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-26 22:18:52 +00:00
Axel Dörfler
d75c88206e * Simplified usage of the INTEL_TYPE_xxx constants.
* Added some defines needed when playing with the bridge controller.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-26 21:59:02 +00:00
Axel Dörfler
f401eba4ae * Now supports setting a framebuffer offset as overlay address instead of a physical
pointer (as needed by the G33 chipset).
* Minor debug output improvements.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-25 16:50:52 +00:00
Axel Dörfler
59096777ec Accidently added overlay_i965.cpp to the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-23 18:56:23 +00:00
Axel Dörfler
4dfa9e425f Some work in progress:
* set_gtt_entry() used the wrong index to fill the GTT - this could have never
  worked correctly when you specified more memory than the amount of stolen
  memory.
* Implementing maintaining resources for emulating overlay using the 3D engine
  on i965. I don't yet commit the actual overlay code, as that is a) ugly, and
  b) does not work yet.
* Moved AreaKeeper into its own header.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-23 17:50:27 +00:00
Michael Pfeiffer
b458d96afb Check correct capability flags.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-30 10:32:27 +00:00
Michael Pfeiffer
5d632c2aba - Fixed HW cursor issues:
- in order to set cursor position SVGA_CURSOR_ON_SHOW has to be written to register SVGA_REG_CURSOR_ON. 
  - do not use alpha cursor because it does not support inverting of source pixels.
- Fixed wrong usage of if-statement inside switch-statement
- Sync at end of SCREEN_TO_SCREEN_BLIT so that app_server does not write to frame buffer while accelerated operation is still running.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-30 10:06:46 +00:00
Axel Dörfler
81abd45c3e There was no space when the buffer was completely empty...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-13 19:27:05 +00:00
Axel Dörfler
b879372352 Added the timeout to QueueCommand::MakeSpace() as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-13 15:44:41 +00:00
Axel Dörfler
8818c50507 * Made QueueCommands::Write() and MakeSpace() public.
* Implemented MakeSpace() (not yet tested).
* Changed intel_wait_engine_idle() to spin() between reads and to timeout
  after 1 second of waiting (could probably be done way earlier).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-13 14:56:28 +00:00
Axel Dörfler
7825641a7b Now clears the frame buffer before setting the mode; at least when testing,
one sometimes could still see previous contents of the screen during boot up
for some time.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-10 18:42:14 +00:00
Axel Dörfler
4020e749da Replaced the old 1920x1200 resolution mode line with another one with a slightly
higher pixel clock, tested by Dr. Hartmut Reh.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-19 11:32:45 +00:00
Axel Dörfler
61291964c3 The intel_extreme driver now finally works with the i965 chipset;
acceleration works fine, but overlay doesn't - that's next on my list.
Turns out the i965 differentiates between RGB-32 and RGB-32-alpha, and 
didn't like trying to use the latter as display mode (the i865 didn't 
care at all)... finding that took me *way* too long, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-31 19:23:59 +00:00
Rudolf Cornelissen
05b8bc332c disabled G80 and higher support. The driver recognizes the card, but the accelerant will refuse to operate the card. It might be a good idea to create a new seperate accelerant for G80 and higher support due to what looks to be extensive hardware architecture changes. You're stuck to VESA for now. Sorry. Bumped version to 0.84.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-28 19:49:59 +00:00
Rudolf Cornelissen
5f3e6740f1 updated naming for some previous unknown cards, added 25 new cards for support/recognition in the driver, being GF 6xxx, 7xxx and 8xxx types. Also two more nforce 6100 4x0 cards recognized now. Please note: GF8xxx support is experimental, and without acceleration. Reports are welcome.. Bumped version to 0.83.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 19:45:43 +00:00
Rudolf Cornelissen
37bf6a6a6e disabled acceleration engine init and exporting the hooks on G80 and above for now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 18:55:52 +00:00
Axel Dörfler
568bb32385 Applied patch by Gerald Zajac:
1) Some video modes which did not work properly with the Savage chips
have been removed from the mode list, and a few wide-screen modes which
work have been added.
2) The code which loads the cursor image has been simplified.  This code
is similar to the code I'm using in the S3 Virge video driver which I
will be submitting to the Haiku project in a few days.  This change also
removes the last piece of code that came from Erdi Chen's BeSavage
driver;  thus,  this diff file also removes his copyright from the file
savage_cursor.c.

I did a minor modification to fix a warning in ProposeDisplayMode.c (it
now includes savage.h). Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 22:05:16 +00:00
Axel Dörfler
fe2aaee7ec * Corrected mode creation; can't reuse the EDID values as is.
* The sync flags still aren't handled correctly, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 21:20:38 +00:00
Axel Dörfler
2590e7d29c Preferred mode should be 32 bits.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-17 15:33:38 +00:00
Axel Dörfler
b24bb37c3b Now also implements B_GET_PREFERRED_DISPLAY_MODE for panels that don't use
EDID (like obviously on my laptop).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-16 09:45:11 +00:00
Axel Dörfler
a9f57acd01 Fixed build for BeOS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-16 00:00:09 +00:00
Axel Dörfler
9ee4f3c805 The Radeon driver should now support returning EDID information as well - not
yet tested, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-15 23:53:57 +00:00
Axel Dörfler
f6e4cbb952 * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class
definitions).
* Minor cleanup here and there.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-15 20:13:55 +00:00
Axel Dörfler
53d781f439 * Now uses the new create_display_modes() function.
* Now supports the new B_GET_EDID_INFO hook under Haiku.
* Fixed build under BeOS.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-14 12:31:51 +00:00
Axel Dörfler
7bdf92f3f7 Started a create_display_modes() function that should be used by accelerants
to create their mode list. Once it's done, it should cover all possible cases,
and allow the base mode list to reside in the app_server (under Haiku, at least),
so that all drivers will benefit from an updated list.
Right now, it might already work to a degree, but it's not yet tested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-12 15:59:50 +00:00
Axel Dörfler
13a81299f1 Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-12 15:56:08 +00:00
Axel Dörfler
a82d70c719 Fixed PLL clock for i8xx chips again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-02 17:40:05 +00:00
Stephan Aßmus
2a88281a61 * check for possible division by zero (just had a crash with divide error
on another machine, don't know if this was really the cause, but it should
  be checked nevertheless I guess)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-29 14:06:19 +00:00
Rudolf Cornelissen
f8863cf61d added engine command fifo setup for TCL_PRIMITIVE_3D for NV15 only for now (testing). Over here the NV15 keeps running and the command seems responsive. I hope this doesn't crash other NV15's outthere.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-24 14:11:53 +00:00
Axel Dörfler
cbd4081064 * Fixed PLL timing computation for the i9xx chips - I mixed post2 min/max values, and did
not take the VCO limits into account; both could (and would during testing) create invalid
  frequencies.
* Also reverted the order in which the PLL divisors are traversed to match the order of what
  is used in the X driver to create comparable output (our error computation is based on float,
  though, and should therefore create more accurate values).
* The i965 introduced a special register for the surface; the former display base register
  is now only used for the view offset. Instead of setting the base manually here and there,
  there is now a set_frame_buffer_base() function.
* The DPMS code will now also turn off/on the PLL clock generator.
* The code needs some more cleanup, and while the driver now produces the correct timing on
  my i965 system, I'm now greeted by a black screen after startup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-24 09:02:35 +00:00
Axel Dörfler
523a30f313 Implemented I2C support to get the DDC EDID info from the monitor - it's working as is, but
nothing is done with the data yet (besides dumping them to the serial output).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-21 18:06:56 +00:00
Axel Dörfler
fd7e4cc333 Made providing a place for vdif and vdifLength optional in ddc2_read_edid1().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-21 16:59:43 +00:00
Axel Dörfler
93a1ccabb9 * Separated I2C from DDC a bit more.
* i2c_bus now contains a i2c_timing structure, so that you don't need
  both to talk to the I2C bus.
* Therefore, there is now a void ddc2_init_timing() function to get the
  the timing DDC needs.
* Cleanup in radeon's monitor_detection.c, and updated it to work with
  the DDC/I2C changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 22:36:55 +00:00
Axel Dörfler
61dad86a02 * No longer switch between divisor register set 0 and 1; it doesn't really
make any sense.
* "pll" might have been set incorrectly on i8xx chips.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 15:07:58 +00:00
Rudolf Cornelissen
46189f70a9 changed listing order of two recently added cards for me to keep oversight. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 07:16:07 +00:00
Rudolf Cornelissen
36d218b7c7 fixed shared_info problem occuring with the 3D accelerant: the TVencoder list definition is now outside of the definition of shared_info.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-18 19:21:36 +00:00
Jérôme Duval
9727f39c82 added the pci id for GeForce 6100 nForce 405, bug #1472
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-11 16:43:49 +00:00
Jérôme Duval
98b6decb77 renamed via.driver to via
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-10 19:32:34 +00:00
Axel Dörfler
f9a5b215cd Committed patch by Euan Kirkhope to improve routing problems with Radeon cards;
this should fix bug #1293.
I've tested it here on two machines, one works better now, the other stayed the
same (Radeon 9250, and a laptop FireGL (id 4c66) version). This apparently also
fixed bug #1394.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-13 17:22:32 +00:00
Axel Dörfler
7b48d975f5 Patch by Vasilis Kaoutsis - thanks!:
* Fixed some warnings.
* Style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-31 17:20:34 +00:00
Stefano Ceccherini
e68a9aeca5 return errno when open() fails
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-17 11:46:47 +00:00
Axel Dörfler
4976138306 * Korli renamed the driver, but forgot to let the driver ask for the new accelerant name.
* Added a TRACE_S3SAVAGE macro that turns on debug output - should be set conditionally
  if DEBUG is defined (see DriverInterface.h), but is currently always on, as requested
  by Gerald.
* Some minor style fixes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-21 23:38:53 +00:00
Axel Dörfler
210cbb4bd1 * Removed the old LICENSE files of the previous S3 Savage driver as suggested by
Gerald.
* Added Gerald Zajac and Jan Kloetzke to the list of contributors.
* Added the s3savage driver and accelerant to the image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-21 10:14:11 +00:00
Jérôme Duval
de050c6029 incorporated savage driver sources from Gerald Zajac. I hope it's the good place for this.
fixed warnings and code style. Please, from now on, provide *patches* to this version.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-15 21:02:08 +00:00
Stefano Ceccherini
8b7987023f Implemented needed methods to be able to clone the accelerant.
Implemented SetIndexedColors hook, although not really correct.
I don't know why the driver's 8 bit mode were disabled. They seem to 
work fine. I had to enable at least 640x480x8 to be able to test 
WindowScreen. There are some TODOs in the code. I'll look into them 
later.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-14 14:41:45 +00:00
Axel Dörfler
31d4291174 Fixed overlay distortions on Radeon cards introduced with r20277.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-11 19:11:48 +00:00
Axel Dörfler
3bac9ea19a * Work in progress to support the i965 chipset as well; still works on i865, but
doesn't work on i965 yet.
* B_GET_DISPLAY_MODE now returns the mode actually configured in the chip instead
  of the last mode set; while this isn't really necessary, it allows to check what
  mode was used during startup.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-04 15:32:01 +00:00
Axel Dörfler
6386c723a5 Applied patch provided in ticket #1218 - should enable nVidia 7100 GS cards. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 12:02:49 +00:00
Axel Dörfler
a5667a5b8b * Renamed nv.driver to "nvidia", nm.driver to "neomagic", and mga.driver to "matrox";
also renamed their accelerants and settings files accordingly.
* Added Mandelbrot and GLDirectMode as demo applications.
* Moved CortexAddOnHost to /bin.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-04 07:49:53 +00:00
Ingo Weinhold
1acbe440b8 Removed the obsolete second argument ("relpath") of the Addon rule and
shuffled "isExecutable" to the end. The new order favors the common use
cases. Adjusted all Addon invocations and while at it also removed
separate LinkAgainst invocations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-07 01:27:19 +00:00
Axel Dörfler
0caeca2af7 Patch by Euan Kirkhope:
Sync overlay with x.org


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-01 09:41:37 +00:00
Axel Dörfler
df647a5c3d Patch by Euan Kirkhope:
* Laptop LCD Backlight rework + powermanagement


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-01 09:38:11 +00:00
Axel Dörfler
b8fb3d1705 Patch by Euan Kirkhope:
Monitor Routing rework
 * mostly to fix my issues with dual monitors VGA + DVI which didn't work! ;)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-01 09:35:22 +00:00
Axel Dörfler
19cadc2f7d Patch by Euan Kirkhope:
* Kernel settings configuration added


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-01 09:33:08 +00:00
Axel Dörfler
a85694c375 Patch by Euan Kirkhope:
* option for PIO engine instead of DMA (for dodgy X700s)
* misc RAM config changes inline with x.org codebase


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-01 09:28:25 +00:00
Axel Dörfler
8841d8bcd1 First of a set of patches by Euan Kirkhope:
* Headers updated
 * PLL errata workarounds
 * Radeon asic type overhaul (consolidated)
 * Device IDs Updated.
 * support for X-series devices with legacy bios type
 * minor tidy ups / compiler warnings (casts)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-01 09:00:49 +00:00
François Revol
20d237e4d1 Support for building the vmware gfx driver as a package, thx to Urias McCullough <umccullough at gmail dot com>.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-06 06:15:01 +00:00
Axel Dörfler
49b3453720 Applied patch by Eric: this fixes a crash after some time (when the FIFO queue was full
for the first time).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-15 09:42:08 +00:00
Jérôme Duval
6709571e18 fixed build on gcc4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-14 21:27:28 +00:00
Axel Dörfler
f445b04baf * Fixed warnings in the VMware accelerant - GCC 2.95.3 cannot compare function signatures
without any argument specifier, and a(void); != a(); in C.
* Added the VMware graphics driver to the image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-14 14:26:29 +00:00
Axel Dörfler
00d65a521d Added Eric Petit's VMware graphics driver - thanks!
Made the following changes from the version I got from Eric:
* made BppForSpace() in DriverInterface.h inline to remove some warnings
* renamed driver source files to lower case.
* removed Be Inc. copyright from kernel driver as I couldn't see anything coming
  from Be Inc. there - correct me if I was wrong, Eric.
* Minor other changes like added missing header guards.
* The README provided in the main directory is only included in the accelerant
  directory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-14 14:16:06 +00:00
Michael Pfeiffer
64806385f6 Updated display mode line for resolution 1920x1200. See revision 19753.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-13 15:38:55 +00:00
Michael Pfeiffer
f598815a9e Changed display mode settings of resolution 1920x1200. The reduced pixel clock is required by some monitors to display a sharp image. The settings are provided by Hartmut Reh, who has testet them on various hardware configurations. Thanks a lot! E.g. see http://www.jwdt.com/~paysan/dell2405fpw.html .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-09 21:29:02 +00:00
Jérôme Duval
aa1ae2b81e fix a warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-08 23:28:29 +00:00
Axel Dörfler
f1994d8b4c Fixed a warning I probably just introduced.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:48:30 +00:00
Axel Dörfler
3277df6e04 * Now always uses dprintf() instead of the SHOW_INFO() macro - you should only call
it in your code when you actually want to have debug output, anyway.
* No longer include ddc_int.h when compiled for the kernel or boot loader.
* Cleanup: coding style, and removed the "buffer" variable - floating point values
  can be shown in userland either way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:39:11 +00:00
Axel Dörfler
047165ce77 * Fixed a warning.
* Removed unused include.
* Minor cleanup to match our style guide better.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:10:25 +00:00
Axel Dörfler
0c6f77951e * Moved VGA planar mode blitting into the VESA kernel driver.
* In grayscale mode, the AccelerantHWInterface now sets the palette correctly.
* HWInterface now has a fVGADevice set by AccelerantHWInterface which will be used
  to talk to the VESA driver.
* Completed planar blitting for all 4 planes; we now have a perfect 16 color
  grayscale mode when you choose "Standard VGA mode" in the boot loader with
  an unsupported graphics card (such as in Qemu).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 22:57:56 +00:00
Axel Dörfler
ea228a84f4 Calmed down the VESA accelerant a bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 12:39:38 +00:00
Axel Dörfler
d881c6ba5c * Replaced the 1400x900 modeline with the one from the nVidia driver - Stephan, does this
work for you, too? If not, just replace it with yours again.
* Added resolution 1680x1050 from nVidia driver.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 14:17:39 +00:00
Axel Dörfler
1cdfc4880c Added missing 1400x1050 resolution.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 14:06:18 +00:00
Axel Dörfler
028faa1833 * Added wide-screen resolutions, taken from the nVidia driver.
* Fixed warnings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 00:22:15 +00:00
Axel Dörfler
f5dc376b83 Added missing modeline for 1680x1050 (taken from nVidia driver).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-14 15:59:07 +00:00
Bruno G. Albuquerque
707e075a41 - Added support for Radeon Mobility 9600/9700 (0x4e50).
- Corrected wrong ID association (0x4e50 is M11-based, not M10-based).
- Implemented fixed dividers support for laptop panel refresh rate.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-05 01:54:11 +00:00
Stephan Aßmus
ca1a22a7a8 * commented out span acceleration function, since it doesn't seem to work
* added mode for 1440x900, the numbers are just guessed, but work fine
  with my monitor (after some fiddling), would be best to have some common
  VGA communication code for all drivers to use and auto-detect the preferred
  mode of the monitor
* messed around with the overlay brightness and contrast values to give
  good looking video



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-03 09:43:13 +00:00
Axel Dörfler
976db206e6 Added support for the GeForce 7400 GO, patch by Bernd Korz.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-30 10:36:07 +00:00
Axel Dörfler
1af95f17b5 Obviously, the GeForce 7600 GS has two different device IDs. This should close
bug #916.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-26 15:34:53 +00:00
Axel Dörfler
50268509dc Didn't notice this wrong identifier when applying the patch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-22 21:25:40 +00:00
Axel Dörfler
287751449f Added info and card ID for the nVidia GeForce 7600 GO, provided by Bernd Korz.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-21 19:22:59 +00:00
Axel Dörfler
d4f8d429da * Allowed widescreen modes to be displayed on analog monitors using the "force_ws" setting.
* Also added a 1270x720 HDTV resolution (was accidently part of the previous commit).
Both changes courtesy of Doug Shelton.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-05 12:15:24 +00:00
Axel Dörfler
a459c8e0d8 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-05 12:11:18 +00:00
Axel Dörfler
e12e7a2004 Added support for the nVidia GeForce 7600 GS, courtesy of Doug "tigerdog" Shelton.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-05 11:54:51 +00:00
Axel Dörfler
b83fe28463 * Fixed some warnings.
* I forgot to mention it before, but this driver seems to have been written
  by Erdi Chen.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-29 14:12:22 +00:00
Axel Dörfler
b9ecaef57a Added the S3 Savage driver from BeBits - accoring to Siarzhuk it doesn't work yet
under Haiku, though. If someone has access to this card, feel free to fix this :-)
I renamed the driver to s3savage (from BeSavage), and added the license text
separately (dunno if that's really needed, though).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-29 13:44:54 +00:00
Marcus Overhagen
a3487fdca2 fix broken build (errno was undefined)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-21 15:57:37 +00:00
Jérôme Duval
9da04493a9 return errno on open() error
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-21 13:17:35 +00:00
Jérôme Duval
0981e2db9c added a package for intel_extreme driver/accelerant
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 22:37:21 +00:00
Stephan Aßmus
4fdb58bec0 * added device ids for "Geforce 7300 GT". Lucky me, this works
beautifully. Tested with ZETA on PCIe system.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-20 12:13:10 +00:00
Axel Dörfler
3ef31db042 * Obviously, the i9xx family has changed the order of the PCI mappings, so we need
to take that into account.
* Introduced INTEL_TYPE_FAMILY_MASK and INTEL_TYPE_GROUP_MASK to better
  differentiate the device type.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-27 08:32:36 +00:00
Ithamar R. Adema
6c05095ca6 Last set of minor fixes for GCC 4 build.
More will follow later, need to clean the fixes up a little :)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-14 21:10:26 +00:00
Axel Dörfler
e4e5ff6eae Make sure the overlay commands are executed as soon as possible.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 14:14:46 +00:00
Axel Dörfler
478cef7735 Added some more debug output; the ports might be better suited to recognize
which display outputs to use.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 12:29:07 +00:00
Axel Dörfler
178d3441ad wait_for_vblank() will now only wait 25ms at maximum (40Hz) - this is needed because
there is no VBlank interrupt when the display is turned off (and the code to turn it
on again actually calls wait_for_vblank()...).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-26 17:11:34 +00:00
Axel Dörfler
c5f5d8347e * B_MOVE_DISPLAY and B_SET_INDEXED_COLORS should now work for the digital
output as well.
* Obviously got the register for INTEL_DISPLAY_B_DIGITAL_PORT wrong - it's
  not 0x61000 but 0x61140, maybe that can explain the fun we had at BeGeistert :)
* Renamed the analog display registers to better fit the digital ones, ie.
  replaced DISPLAY with DISPLAY_A - although this might be not really correct
  as it seems that the pipes can be selected arbitrarily.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 16:51:40 +00:00
Axel Dörfler
a0902420ff Some work to support output on the digital interface like laptop panels.
Need to clean this up, though. It even sort of worked on tic's IBM X40
on BeGeistert - if you weren't irritated by the fact some parts of the
screen were just black, that is :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 16:16:16 +00:00
Axel Dörfler
7902c46c3e * Added i830 as supported chipset - doesn't work perfectly, though. But Kyan reports
that at least 8 bit modes seems to work (but overlay only partially)
* Added "hardware_cursor" option to the settings file - when set to "false", you should
  have a cursor in the second output now as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-17 17:30:23 +00:00
Axel Dörfler
112db6b691 * Now disables the VGA display mode explicetly, which allows it to work
without having a VESA mode set first (thanks to Stephan for noticing
  this).
* intel_set_display_mode() now calls intel_propose_display_mode() to make
  sure the mode passed in is valid. Note, B_PROPOSE_DISPLAY_MODE is still
  not working correctly (which will cause problems for BWindowScreen and
  friends).
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 15:25:17 +00:00
Rudolf Cornelissen
48566405f6 fixed distortions on VGA output after TVout use (G100/G200).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-14 16:09:26 +00:00
Axel Dörfler
973d499ee1 * Made the accelerant safer to use when cloned (though I didn't test cloning yet);
introduced a lock that is used in B_SET_DISPLAY_MODE etc.
* Correctly implemented B_ACQUIRE_ENGINE and B_RELEASE_ENGINE now (ie. they lock
  the engine now).
* The lock of the ring buffers is now deleted when the (primary) accelerant is closed.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-14 14:27:50 +00:00
Axel Dörfler
cccc4c8383 Now advertizes the capabilities of the screen modes correctly (ie. sets B_HARDWARE_CURSOR
and B_SUPPORTS_OVERLAYS).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-14 13:50:26 +00:00
Axel Dörfler
7d5957df85 * Implemented hardware cursor support.
* Turns out cursor handling is simpler as originally thought, so I could remove its
  physical mapping - it's still put into the shared area, though, although that isn't
  needed for this chip (but could eventually simplify the handling of other generations
  of this chip).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-14 13:41:33 +00:00
Rudolf Cornelissen
e88f2e82c6 fixed MGA_TVO PAL desktop mode 640x480 (green triangle shaped distortion). MGA_TVO apparantly handles scaling limiting less forgiving than later MAVENs. RevC MGA_TVO is now fully up and running OK.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-14 09:56:26 +00:00
Rudolf Cornelissen
50572eafbb tuned PAL VCD and DVD modes for MGA-TVO (G100/G200). These are now OK.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-13 22:26:45 +00:00
Rudolf Cornelissen
69e25c27b7 removed 8 and 15bit TVout support for G100,G200: 8bit mode is troublesome indeed (at least). Tuned a bit more with picture position. Most modes for MGA_TVO revC seem OK (PAL DVD/VCD not OK yet, PAL 640x480 has a green triangle shaped distortion left onscreen).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-13 21:44:30 +00:00
Rudolf Cornelissen
9ca9450e86 removed shutoff for MGA_TVO PLL: doesn't work as expected after all. This re-enables TVout use on G100/G200 (still in progress).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-13 18:26:28 +00:00
Axel Dörfler
5af5259c38 Implemented vblank interrupt and support for the retrace semaphore - not yet
tested, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-13 15:22:20 +00:00
Rudolf Cornelissen
bf1ee0604c added mga_tvo/maven vid pll shutoff if TVout/dualhead not in use. this fixes primary output distortions after the _driver_ used a TVout mode(on bootup it's not OK yet if TVout was enabled by the cardBIOS).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-13 12:06:03 +00:00
Rudolf Cornelissen
1fc340e5b7 added support for TVout on G100-G400 via add-in daughterboards. Note: MGA_TVO (maven) revB requires more tweaks than MGA_TVO rev C. Both differ from G400 maven timing wise. I'll probably work my way down: first fix RevC, then rev B. add-in boards work just as good (or bad) as G100/G200 'standard' TVout boards now. RevC chips work better than revB chips. Both fixable to math G400 and later, I hope. Bumped version to 0.31
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-13 10:43:58 +00:00
Axel Dörfler
ccb666bc0e * Prepared having hardware cursor support; got quite complicated because there
is no good (or reliable) way to retrieve the physical address of "stolen"
  (by the BIOS) graphics memory.
* Implemented allocation of additional graphics memory in case the BIOS was
  a bit too cheap. We now guarantee 8 MB of memory available to the graphics
  chip - would be nicer to only allocate that on demand, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-13 09:19:56 +00:00
Axel Dörfler
c8609aed8c * Now allocates enough memory for virtual screens.
* Implemented untested B_MOVE_DISPLAY - note, the page_flip demo doesn't work
  yet (didn't investigate yet, though).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-12 11:46:14 +00:00
Axel Dörfler
1c9d6e5902 Calmed down overlay a bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-12 09:34:20 +00:00
Axel Dörfler
d906e6a03e * Implemented B_FILL_SPAN - I am not sure if it's used at all, though, so
I am also not sure if it's working correctly.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-11 16:10:09 +00:00
Axel Dörfler
efeb77268d Say hello to B_FILL_RECTANGLE and B_INVERT_RECTANGLE - only B_FILL_SPAN is missing
from the acceleration hooks in BeOS.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-11 15:24:34 +00:00
Axel Dörfler
5462d44020 * Turns out the virtual messes with the data in struct command, so we can't
use it (which isn't really that bad).
* B_SCREEN_TO_SCREEN_BLIT is now working as intended, so we can finally move
  windows and scroll at decent speed :-)
* Implemented a simple version of B_WAIT_ENGINE_IDLE for now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-11 14:12:02 +00:00
Axel Dörfler
2ace35ed22 Started implementing screen-to-screen blits, not yet tested.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-10 18:53:20 +00:00
Axel Dörfler
6c67d64cad Prepared support for acceleration: there is now a QueueCommands class that should
be used to feed the ring buffers with new commands. It takes care about proper
alignment (this shouldn't be necessary in the final version, anymore, though), and
locking.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-10 16:09:28 +00:00
Axel Dörfler
fc88cd9396 * The Y/RGB and UV registers for the integer downscale factor are reverse to
the usual order of other registers, so I mixed it up: vertical downscaling
  is now working as expected as well.
* The downscaling factor was a tiny bit too low (one pixel from the view).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-10 14:48:38 +00:00
Axel Dörfler
08ef16abee * Now allocates space for the hardware status page and cursor memory, not yet
used, though.
* Renamed the PhyisicalPageMapper class to AreaKeeper and made it a bit more
  generic (ie. it can now also create usual areas)
* The shared_info is now created using the AreaKeeper, too, and this actually
  fixes some potential memory leaks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-10 12:37:27 +00:00
Axel Dörfler
96451fe133 We're now using a secondary (high priority) ring buffer for hardware
overlay - this will improve the overlay performance when the engine is
under load (the acceleration engine will use the primary lower priority
ring buffer).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-10 10:54:39 +00:00
Axel Dörfler
6bd70a559d You can now safely move the overlay off screen completely, without having to
worry that the graphics chip is fried.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-10 10:21:43 +00:00
Axel Dörfler
c415480607 * an overlay_view::{h|v}_start different from 0 is now supported
* The overlay_view is now also correctly clipped when you move the overlay
  window offscreen to the left or to the right.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 19:34:58 +00:00
Axel Dörfler
72119ffac8 Included the phase coefficient computation from the X driver implementation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 18:31:25 +00:00
Rudolf Cornelissen
8956571787 added MAVEN rev.B/C type distinction recognition, just reporting in log for now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 15:19:09 +00:00
Rudolf Cornelissen
ce5d00f5c9 comment update regarding G100 and G200 TVout
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 14:51:32 +00:00
Rudolf Cornelissen
968c4c85a6 added preliminary CRTC delay programming for TVout on singlehead cards, fixes for a large part the picture positioning. Finetuning still needed, picture still has much green distortions. Removed dangerous CRTC delay programming style previously there for dualhead cards, should now be more reliable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 12:19:12 +00:00
Rudolf Cornelissen
19f65af1dd added MAVEN/DAC output selection programming for singlehead cards with a MAVEN: now TVout (kindof) works here :). Still in progress..
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 11:46:51 +00:00
Rudolf Cornelissen
dd665ef198 added MAVEN DPMS programming for singlehead cards with that chip. Bumped version to 0.30 BTW, TVout still not working correctly though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 10:19:06 +00:00
Rudolf Cornelissen
b7abedd3fd modified TV related programming for singlehead cards. Doesn't work correctly yet: Maven seems programmed with the mode, but the picture doesn't sync yet. Probably more errors for TVout here.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 09:43:40 +00:00
Rudolf Cornelissen
4fc8655349 updated proposemode to handle singlehead tvout capable cards correctly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 08:54:34 +00:00
Rudolf Cornelissen
a147b615de renamed secondary_tvout to tvout: singlehead cards with TVout exist as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-09 08:21:10 +00:00
Axel Dörfler
d50e3eb20e Some quick clipping of the destination window to let VLC successfully leave full
screen mode, and let's you move the window off screen without too many problems
(if you'll move it off screen to the left side (or top), then you won't see the
contents you'd expecting).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 18:08:09 +00:00
Axel Dörfler
9cf9eedf9f The other color spaces now seem to work as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 16:11:51 +00:00
Axel Dörfler
f8bea0dacb * Turns out you must not set the source width/height UV registers (for planar
mode), but you have to set the scaling UV registers in order to have correct
  overlay.
* In other words, overlay is working now! There are still issues with it, which
  can probably be attributed to missing bounds checks (the screen goes black
  when you leave full-screen mode in VLC - but not if overlay just stops).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 15:31:41 +00:00
Axel Dörfler
94f8a931c8 B_SET_INDEXED_COLORS is now working correctly for B_CMAP8, IOW you can now use
8 bit modes with this driver as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-05 16:17:11 +00:00
Rudolf Cornelissen
854026c907 disabled some invalid register programming, and fixed output1 to see a CRT. This might fix use of the driver on some systems outthere..
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-05 09:11:05 +00:00
Axel Dörfler
050c3467fc * Turns out Haiku's app_server used a different color key mechanism than R5 (it's
fixed now). Tested overlay color keying okay in all supported color spaces.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-04 14:55:21 +00:00
Axel Dörfler
6a3543db2a * Finally the overlay looks like an overlay. It took me almost a day to realize that
the Intel chip obviously cannot do overlays in B_RGB16 - even though it pretends
  to be able to do that.
* B_YCbCr422 seems to work, though, I haven't tested any other spaces for now, and
  I somewhat doubt they will work. It's all green, though, and the scaling doesn't
  seem to be correct - that we be solvable, though :)
* There aren't any bounds checks (so don't move the window out of the screen), and
  also the overlay_view offsets are ignored.
* Scaling and moving is now detected, and there is always as little work done as
  possible to reduce the workload on buffer switches (the most common case).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-04 09:08:26 +00:00
Axel Dörfler
f4c4106a40 * Doh, I had done all bitfields in the wrong direction (msb to lsb, but it's actually
lsb to msb).
* The result is that there is now *something* to see when overlay is turned on. In
  fact the whole screen goes dark besides a few pixels on the top - now isn't that
  something? :-)
* The overlay is also turned off again correctly - which also revealed a bug in our
  app_server: B_CONFIGURE_OVERLAY is not always called with window=NULL/view=NULL
  to turn off overlay (might be an incorrect handling of BView::ClearOverlay()).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-02 21:16:17 +00:00
Rudolf Cornelissen
57ea545fa6 finally fixed the colorpalette trouble on 'special versions of the G200'. That cost me 4 years... It turns out the driver ID'd G100 and G200 cards with a MAVEN as dualhead cards. This enabled secondary head programming stuff, resulting in broken colorpalette. Looks like CRTC2 DPMS turn-off was responsible for killing the palette. So, the only thing special about these G200's was the MAVEN connected to them. Apparantly. Bumped version to 0.29.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-29 12:46:24 +00:00
Axel Dörfler
7740a4c15b Enabling overlay requires a command ring buffer, and we're setting one (very
small) up for this specific task - this will later be used for the acceleration
engine as well.
Some more work on overlay initialization, doesn't do anything yet, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-28 16:50:39 +00:00
Axel Dörfler
eea30ef36c Maybe I shouldn't have forgotten to commit this (didn't break the build, but
overlay didn't even pretend to do anything).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-26 13:36:41 +00:00
Axel Dörfler
b907a5acab Implemented overlay management. The hardware doesn't notice them yet, though :)
(but the app_server thinks they're working).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-26 12:55:07 +00:00
Axel Dörfler
506edb4fca Fixed build under R5.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-26 12:51:50 +00:00
Axel Dörfler
5da6291b99 * Now using Thomas memory manager to manage the graphics memory; allocation
of graphics memory is now possible.
* Changed driver name to start with "intel_extreme" to have a nicer device
  name.
* Renamed frame_buffer* stuff to graphics_memory* as the frame buffer just
  happens to be located somewhere in the graphics memory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-24 18:18:46 +00:00
Rudolf Cornelissen
34108ddc58 fixed OVERLAY_SUPPORTED_SPACES hook. Thanks axel for reporting. Fixed in all my drivers :) Note that this doesn't change the workings of the drivers on current versions of BeOS, since this hook is never called.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-22 17:27:09 +00:00
Rudolf Cornelissen
20e13cf709 removed two ID's from VIA accelerant: those where no graphics adapters after all.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-21 20:50:55 +00:00
Rudolf Cornelissen
c02dfedfc1 fixed driver assuming enabling AGP succeeded if it did not block it itself. This was a problem if AGP was disabled totally via the busmanager settings file. Driver now only notes down AGP is running if the busmanager 'reported' this succeeded. This fixes the long standing trouble (ever since DMA is in the driver, so since version 0.53) that user kraton was having. He stumbled on this problem since on his system 'default' AGP mode seems to result in trouble, so he tried blocking it via agp.settings..
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-15 08:38:32 +00:00
Rudolf Cornelissen
d7dcafe79a updated AGP setup to first make sure the card is running in PCI mode, if a coldstart attempt is done. Some cards outthere reset their PLL AGP during coldstart script execution, which makes the acc engine DMA transfers fail until the next reboot if AGP mode was running at that moment. This fixes coldstart trouble on the GeForce4MX4000 over here if AGP mode is used. Still testing (not yet 100% OK yet..)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 08:54:40 +00:00
Rudolf Cornelissen
b665f43165 added support for NV44/GeForce 6100/6150 NFORCE4 Integrated GPU's (mainboard chipsets)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 20:15:52 +00:00
Rudolf Cornelissen
69cf084e73 checked G73 setup against today's XFree86 CVS. G73 should be supported now, that is, after the kerneldriver is updated as well (for cardIDs)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 20:02:35 +00:00
Rudolf Cornelissen
1c9a35ac19 fixed typo in comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 15:52:12 +00:00
Rudolf Cornelissen
9bc55ae8c0 added 5 new cards recognition in accelerant (G71,72 and 73 types). Note: G73 still needs testing/confirmation probably.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 15:43:44 +00:00
Rudolf Cornelissen
ecf7bfa1db removed NV47 references, replaced with G70. Also added G71, G72 and G73 engines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 15:02:34 +00:00
Rudolf Cornelissen
8fe515059d added recognition for 15 more cards in the accelerant. In progress, 8 more to come, kerneldriver is going to be updated as well of course.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-06 15:12:10 +00:00
Rudolf Cornelissen
8ab0ed494c added new nv.setting called force_ws. This setting enables you to force the driver to enable use of widescreen modes independant of connected monitors. Only use if you have a widescreen monitor that the driver currently refuses to use that way. non-ws screens might not like a ws mode...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-06 09:05:37 +00:00
Rudolf Cornelissen
8735e82ee2 updated pre-NV10 card init code for a small 3D rendering speed increase on TNT2 and TNT2-M64 cardtypes: gain is some 1-4% depending on colorspace and exact card-type. This completes the 2D driver's 3D related init programming sweep. Next up should be adding cardID's and adding a new nv.setting to force screen aspect. Bumped version to 0.77.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-04 10:13:26 +00:00
Axel Dörfler
020c1aa823 * init_driver() now behaves better in low memory situations.
* Some preparations to support more than one chipset, added i855G (device ID 0x3582)
  to test with - the accelerant_device_info is now filled with that additional data
  as well.
* Some minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 13:21:31 +00:00
Rudolf Cornelissen
235f540de9 what? didn't upgrade to 0.75 while you are using hardware 3D? Well, maybe now I can convince you!. New speeds: another 43% gain for NV11, in 1024x768x32 Q1 now at 27.1fps, NV15 gets another 60% boost for the winning score of 45.4fps, and NV18 tries to keep up (but fails :) with now 41% speedup for 37.0fps. 3D users, it's time to upgrade to 0.76. :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-31 19:48:12 +00:00
Rudolf Cornelissen
33441648ba improved 3D init programming. NV11 gained 44% speed, NV15 gained 21% speed, NV18 and other cards remain at the same speed. These gains (or about) are in all resolutions, all colordepths. If your CPU is fast enough of course. Bumped version to 0.75. There's no doubt about it, if you use 3D, upgrade!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-30 15:24:37 +00:00
Axel Dörfler
2fd8de2415 Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-26 16:40:38 +00:00
Axel Dörfler
7a3806ce87 Now you can also select the refresh rate you like under R5. Looks like there is
room for improvements left in our screen preferences application, which ignores
the pixel clock values completely.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-25 17:47:10 +00:00
Axel Dörfler
943578b15b Added some debug output - the driver is actually working under R5 as well, I just
didn't test it correctly last time...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-25 16:29:02 +00:00
Axel Dörfler
e404297e56 Very basic driver for the "Intel Extreme Graphics 2" chips, only supports i865G for now.
Only mode switches do work, doesn't yet make sure the mode is valid, though.
At this point, this driver only works on Haiku, the R5 app_server is crashing for some
reason I need to investigate some day (maybe tomorrow :)).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-24 21:46:40 +00:00
Rudolf Cornelissen
ad78834e21 probably fixed NV31, NV36, and NV40 and higer core and ram PLL programming (new nv.settings tweaks).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-14 18:56:05 +00:00
Rudolf Cornelissen
912ea16e29 added two new nv.settings (TWEAK options): gpu_clk and ram_clk. These options if enabled overrule your gfx card GPU and RAM speeds set by their BIOS (or set via coldstarting the card with the driver). note: overclocking might destroy your computer! Use with extreme caution. These options were added because it offers application developers a means to find bottlenecks (use underclocking), and it offers gamers the option to overclock for max fps. Disabled by default. 'Undocumented'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-14 16:32:43 +00:00
Rudolf Cornelissen
b227904c50 fix for cloning accelerant on singlehead cards: routine pointers were 'undefined' before.These routine pointers need to be revisited later on because they are not updated for clones when modeswitches happen (should be in shared_info or so). The good news is that these pointers can be gone anyway once driver instances exist per head instead of per card.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 20:04:47 +00:00
Rudolf Cornelissen
7fe04ec74b added retrace sync programming for NV12_IMAGE_BLIT command. Works OK it seems (testing in 3D add-on).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 21:16:24 +00:00
Rudolf Cornelissen
f36f5d56d5 switched to a newer blit function in the driver for NV11 and higher (below does not support it). Benchmarking shows this blit has about the same speed as the old one. The reason for switching is the fact that this new function supports auto_sync_to_retrace. That should counteract the drop in fps for synced swaps (3D) a bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 19:31:19 +00:00
Rudolf Cornelissen
dad4ff0e52 added new nv.setting for 3D rendering only: force_sync. This setting enables users to force hardware rendering synchronized to vertical retraces, enabling them to prevent tearing and enabling 'fixed' fps and latencies: If the rendering power for a mode and an apps complexity is high enough that is.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 16:05:58 +00:00
Rudolf Cornelissen
0dd48593ea updated 3D related colorspace settings to be optimal speed wise. Also removed redundant stuff not having any effect with the current engine setup. 3D rendering speed stays same on RGB15 and 16, but RGB32 space just gained about 11% gain :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 09:37:05 +00:00
Rudolf Cornelissen
155a2ad0a5 rewrote kerneldriver and accelerant's retrace INT handling. This fixes the 'driver hanging' bug exhibiting sometimes when CRTC2 is being used as primary CRTC (driver internal feature). INT handling now exists for both CRTC1 and CRTC2: enabling only the INTs for the head currently being used as primary. (limitation can be removed once we use a driver instance 'per head' instead of 'per card'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 14:58:28 +00:00
Rudolf Cornelissen
c0634c0222 completely removed concurrent 3D/overlay workaround number 2 (executing a 3D command in engine init). Overlay and fifo-assignment-switching on-the-fly / 3D are working OK indeed. The dangerous-RAM-area patch completely solves that problem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 20:39:01 +00:00
Rudolf Cornelissen
71c43a7a1e disabled 3D/overlay patch number two: looks like I nailed this one good. Looks to be confirmed on TNT1, will test more before final delete of this patch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 16:47:26 +00:00
Rudolf Cornelissen
f67620f956 fixed overlay playback and accelerantion engine crashes if all is right: it turns out the last piece of cardRAM may not be accessed by software. This looks to be a hardware bug, size of dangerous RAM depends on pre/post NV40 architecture, bug exists for both FIFO channel assignment on the fly, and DMA command buffer existing in cardRAM. If there are still users outthere using PIO acceleration and 3D they have a good chance of having working concurrent overlay as well, as the fifo-assignment bug turns up with PIO acc as well. Note: the bugfix is still in test: confirmed on TNT1 only for now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 15:52:05 +00:00
Rudolf Cornelissen
8a72136d5f now blocking SCALED_BLIT hook export on modes with space B_CMAP8. We won't support this space, at least for now. It's not yet testable for me, and this space is partial supported only (at best), on some cards outthere.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 14:17:20 +00:00
Rudolf Cornelissen
d24c6abf98 comment update: pitch granularity now confirmed for 15, 16 and 32bit RGB depths (SCALED_BLIT).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 11:06:59 +00:00
Rudolf Cornelissen
9f6aebed5f updated SCALED_BLIT to do 15-bit space correctly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 10:32:15 +00:00
Rudolf Cornelissen
7933070063 volatile pointers where possibly needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 21:09:19 +00:00
Rudolf Cornelissen
12676c3a1d volatile pointers where possibly needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 21:06:26 +00:00
Rudolf Cornelissen
eab3aa0c2d same for cursor clear and define functions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 21:02:49 +00:00
Rudolf Cornelissen
716c61f301 updated all framebuffer accesses to use volatile pointers. This potentially fixes even more coldstarting problems. Thanks Marcus Overhagen for pointing this out again - sorry for forgetting :-/
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 20:56:36 +00:00
Rudolf Cornelissen
5af5d0c6ef fixed coldstart RAM test exec failures on high-voltage AGP1.0 slots (confirmed a NV11 now working OK there). Bumped version to 0.70.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 08:12:51 +00:00
Rudolf Cornelissen
421b932509 moved check for TVout adaptor cable from Setmode to Proposemode where it belongs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 15:53:57 +00:00
Rudolf Cornelissen
6074481cfa bumped version to 0.28
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 13:52:20 +00:00
Rudolf Cornelissen
831d98de27 updated Jamfile.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 13:48:40 +00:00
Rudolf Cornelissen
13fca088b4 removed nolonger used file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 13:47:46 +00:00
Rudolf Cornelissen
aadc40b8e2 completed acc engine funtion move for acc speedup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 13:46:23 +00:00
Rudolf Cornelissen
19fb0957a2 moved acc function FILL_RECTANGLE into engine directly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 11:56:36 +00:00
Rudolf Cornelissen
f3c5d76035 moved acc function SCREEN_TO_SCREEN_TRANSPARENT_BLIT into engine directly. Also executing now if requested, although this function is completely untested.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 11:37:11 +00:00
Rudolf Cornelissen
ca9db3588c moving acc function hooks from high-level driver files to engine directly: this will improve acc speed by some 15% when finished (in progress). It's too costly to do 'unneeded' calls here. SCREEN_TO_SRCEEN_BLIT done.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-22 20:22:46 +00:00
Rudolf Cornelissen
454bde192e rewrote/simplified DPMS code: much cleaner now. Bumped version to 0.14.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-22 19:50:35 +00:00
Rudolf Cornelissen
489527469f code sync against nvidia/matrox drivers: added capability to run without INT assigned, proposemode fixes for dualhead/tvout related custom flags, GET_ACCELERANT_DEV_INFO returns much more detailed info, INIT_ and CLONE_ACCELERANT now enforce correct use. Bumped version to 0.12.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 22:11:50 +00:00
Rudolf Cornelissen
3eb82f0251 driver now enforces correct order of use of INIT_ACCELERANT and CLONE_ACCELERANT: bailing out with B_NOT_ALLOWED if incorrect use is detected.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 17:04:49 +00:00
Rudolf Cornelissen
7d59f2ebb1 forgot a part for INIT_ and CLONE_ACCELERANT order of exec. check.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 16:57:33 +00:00
Rudolf Cornelissen
d1c4f04c78 driver now enforces correct order of use of INIT_ACCELERANT and CLONE_ACCELERANT: baling out with B_NOT_ALLOWED if incorrect use is detected.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 14:49:19 +00:00
Rudolf Cornelissen
96cc308448 added timeouts for all retrace-sync waiting loops in accelerant to prevent software from hanging if trying to use a card that isnt' coldstarted.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-12 11:18:32 +00:00
Rudolf Cornelissen
face6fcd0a overlay code now respects the B_OVERLAY_COLOR_KEY cmd flag.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-10 20:24:46 +00:00
Rudolf Cornelissen
86ca91abfb overlay code now respects the B_OVERLAY_COLOR_KEY cmd flag.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-10 20:23:57 +00:00
Rudolf Cornelissen
4c0f752c68 added 'accelerant_device_info struct to shared_info, now containing more detailed info about the card in use. This info is returned via hook GET_ACCELERANT_DEVICE_INFO in case someone uses that :).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-10 20:06:52 +00:00
Rudolf Cornelissen
bd3f19ae33 added 'accelerant_device_info struct to shared_info, now containing much more detailed info about the card in use. This info is returned via hook GET_ACCELERANT_DEVICE_INFO in case someone uses that :).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-10 19:42:14 +00:00