Commit Graph

21187 Commits

Author SHA1 Message Date
Marcus Overhagen be30f13184 fixed wrong port definition
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-24 19:08:22 +00:00
Rudolf Cornelissen 7abeaef54d 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@22291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-24 14:12:18 +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
Ingo Weinhold 9c7408528e Implemented a ComplexLayouter class which is going to replace the Layouter
implementation which used the qoca constraint solver. It does the min/max
computation itself -- thanks to Peter Moulder for hinting that we're actually
dealing with separation constraints and proposing an algorithm. The actual
layout is done with the help of an active set method based optimizer.
The test results look very good so far. The code needs some cleanup (debug
output, math comments, special handling for some cases) and is therefore not
yet enabled by default.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-24 00:03:57 +00:00
Ingo Weinhold a0710babd7 Use delete[] for array deletions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-23 23:35:20 +00:00
Ingo Weinhold e2c699caec Fixed assert macro.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-23 23:32:03 +00:00
Jérôme Duval c8d47dfec3 added some other ids for HP laptops with Headphone jack sense quirk
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-23 21:52:54 +00:00
Jérôme Duval 8d93a4beb1 patch from Hüseyin Erdemir: his laptops HP nx8220 didn't have Headphone Jacksense working as is. Thanks!
Some other HP laptops have this problem.
Maybe we should have ac97 export quirks and the driver uses them.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-23 20:57:00 +00:00
Jérôme Duval ef09f96409 update pci ids
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-23 18:23:54 +00:00
Jérôme Duval 210c64afd6 update to tzdata2007g
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-23 18:17:31 +00:00
Axel Dörfler a4e527db79 * Fixed build for GCC 2.95.3 - it does not support newer C syntax.
* Minor cleanup (there shall be 2 lines of space between functions).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-23 17:21:41 +00:00
Marcus Overhagen 8961bec039 try to activate link and spin up the device
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-23 09:24:06 +00:00
Ryan Leavengood 10508d2e99 Implemented Ingo's suggestions to avoid the situation that condition variables
don't block when they should because the semaphore sometimes gets released too
much. One day I'll try to add some tests, though this seems like something you
can't exactly unit test.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-23 02:48:30 +00:00
Marcus Overhagen cb8be29457 Start and stop DMA engine and FIS receive, enable port interrupts.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-22 23:43:25 +00:00
Marcus Overhagen c542d2bbf1 Fixed memory allocation and field alignment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-22 22:09:58 +00:00
Ryan Leavengood 550a30a0b7 I needed Pthread condition variables for WebKit, so I implemented
them. I have tested this with a simple test program I downloaded
from the internet. We get the same result as on Linux, so I think
this is good. I will test it more with WebKit later.

Our Pthreads implementation is still missing some stuff, but this
adds a good chunk.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-22 16:30:22 +00:00
Stephan Aßmus 8abf0f5150 * the "auto numlock" option is now off by default, for all the notebook
users (this had irritated me myself when I first used DeskCalc on a notebook)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-22 08:41:16 +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 96eb4ebe33 Made i2c.h and ddc.h C++ safe.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-21 17:33:35 +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
Stephan Aßmus 015a014aa7 * fixed quite a few selections bugs, most were caused by cyclic notifications,
and the mechanism to prevent them not working...
* could have fixed the "there are still listeners attached" bug (debugger drop)
  on exit, I have not seen it again, but I am not sure if it is really fixed
* introduced a way to ask the user, if changes should be saved and then
  pick up the line of thought after saving


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-21 15:21:38 +00:00
Stephan Aßmus c4ce9e7607 * the custom ScrollView supports B_NO_BORDER, B_PLAIN_BORDER and B_FANCY_BORDER
and each side of the border can be turned off or on individually
* -> cosmetic improvements


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-21 13:04:06 +00:00
Stephan Aßmus f10474fc0b * the main window is now using the min/max size from the layout system
* added Min/MaxSize() implementations to PropertyListView and ScrollView,
  which fixes the instable layout (upper list views shrinking towards the top
  whenever views are added/removed in the property list)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-21 08:40:00 +00:00
Jérôme Duval 5d95ae00c8 added JiSheng as contributor
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 22:39:10 +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
Niels Sascha Reedijk b15c8e82c2 Minor fixes. Finishes the first version.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 22:22:41 +00:00
Jérôme Duval 1d54a24d4d correctly release resources on error in init, or on uninit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 22:14:21 +00:00
Jérôme Duval d46597c7f2 correctly release resources on error in init, or on uninit
checks if pci module is present


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 22:07:13 +00:00
Jérôme Duval 595998812e clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 21:47:00 +00:00
Jérôme Duval 696eddc837 free ressources on error or uninit
for vmware, actually checks if the device was found


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 21:46:08 +00:00
Jérôme Duval 5d7f50f66c put modules on error
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 21:44:40 +00:00
Jérôme Duval ef317e11d4 style fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 21:43:42 +00:00
Marcus Overhagen 633990282e Setup command list, command table, FIS and PRDT pointers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 20:21:31 +00:00
Ingo Weinhold 32bf31b3ee Stricter limit for the number of unused vnodes. The fs_shell doesn't
really manage memory, so one could easily run out of memory when copying
large files.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 20:14:50 +00:00
Axel Dörfler 0c85ed21ae Forgot to commit the header...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 18:52:55 +00:00
Rudolf Cornelissen 1deda8e758 added some defines for NV50 arch, G8x. Removed the comment indicating difference between TNT and GF style setup for 3D: that's not really there. Judging from Nouveau it's still the same setup (more or less), there are just some new commands including TNL.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 17:17:22 +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
Stephan Aßmus 062aea5c40 patch by Julun:
* write the RTC settings (GMT versus Local time)
* small cleanups


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-19 07:12:08 +00:00
Stefano Ceccherini e7b0402927 Finally got rid of the mouse tracking thread. Put the code inside
MouseMoved(). Everything _seems_ to work like it did before, but there 
might be some regressions...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-18 21:19:54 +00:00
Jérôme Duval d2fa634c8a clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-18 19:54:12 +00:00
Jérôme Duval 15a2aa6842 clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-18 19:51:27 +00:00
Jérôme Duval ce1e9a2d44 remove executable bit on test.c
clean up poke.c
don't need to check the module in uninit_driver()



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-18 19:40:32 +00:00
Jérôme Duval b76d376bab release modules on error in init_driver()
free devices pointer in uninit_driver()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-18 19:30:20 +00:00
Jérôme Duval 3ba665ca69 destroy benaphore lock on error in init_driver()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-18 19:25:59 +00:00
Rudolf Cornelissen 6a571d88ac fixed shared_info problem occuring with the 3D accelerant: the TVencoder list definition is now outside of the definition of shared_info. Greetings.. :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-18 19:22:44 +00:00
Rudolf Cornelissen a9a35a3919 fixed shared_info problem occuring with the 3D accelerant: updated docs, bumped version to 0.82
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-18 19:22:08 +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 15f309e265 release module on error in init_driver()
free devices pointer in uninit_driver()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-18 19:17:13 +00:00