| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/stable/7/; revision=219516
|
| |
|
|
|
|
|
|
|
|
| |
Fix typos - remove duplicate "the".
PR: bin/154928
Submitted by: Eitan Adler <lists at eitanadler.com>
Notes:
svn path=/stable/7/; revision=218993
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Some general cleanup of scatter/gather memory allocation
- We don't need to check malloc return values with M_WAITOK
- remove variables that we don't really need
- cleanup the error paths by just calling drm_sg_cleanup()
- fix drm_sg_cleanup() to be safe to call at any time
Notes:
svn path=/stable/7/; revision=200477
|
| |
|
|
|
|
|
|
|
| |
Check pointer for NULL before dereferencing it, not after.
Originally committed by: brueffer
Notes:
svn path=/stable/7/; revision=200476
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Cleanup in r600_blit
- Don't bother to assign vb until we know we have enough space
- Add variables for sx2, sy2, dx2, dy2 so that these aren't
calculated over and over, also reduce chance of errors.
- Use switch to assign color/format
Notes:
svn path=/stable/7/; revision=198798
|
| |
|
|
|
|
|
|
|
|
| |
A bit of cleanup work on radeon_freelist_get()
* Fix the main loop to search all buffers before sleeping.
* Remove dead code
Notes:
svn path=/stable/7/; revision=198796
|
| |
|
|
|
|
|
| |
Fix blitter support for RS880 chips
Notes:
svn path=/stable/7/; revision=198793
|
| |
|
|
|
|
|
| |
Add support for Intel G41 chipset
Notes:
svn path=/stable/7/; revision=198688
|
| |
|
|
|
|
|
|
|
| |
Sync radeon drm support
This adds kernel support for r6/7xx 3D.
Notes:
svn path=/stable/7/; revision=198686
|
| |
|
|
|
|
|
| |
Add a read only sysctl tracking the hw.drm.msi tunable.
Notes:
svn path=/stable/7/; revision=198683
|
| |
|
|
|
|
|
| |
Clean up the locking in drm_alloc_resource()
Notes:
svn path=/stable/7/; revision=198680
|
| |
|
|
|
|
|
| |
Add support for radeon RS880 IGP chips to drm.
Notes:
svn path=/stable/7/; revision=196146
|
| |
|
|
|
|
|
| |
Add some additional radeon pci ids to drm.
Notes:
svn path=/stable/7/; revision=196145
|
| |
|
|
|
|
|
| |
Add support for Radeon HD 4770 (RV740) chips.
Notes:
svn path=/stable/7/; revision=195913
|
| |
|
|
|
|
|
|
|
| |
r194741,194745-194746,194748-194749,194759,194960,194963,194965-194966,194969,194986,194996
This pulls in numerous vblank related fixes from HEAD.
Notes:
svn path=/stable/7/; revision=195912
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The G45 docs indicate that all G4X chips use the new framecount register.
Intel agrees with my reading of the docs, make it so for all G4X chips.
The new register also has a 32 bit width as opposed to 24 bits. Fix
things up so that the counters roll over properly.
Notes:
svn path=/stable/7/; revision=194737
|
| |
|
|
|
|
|
|
|
|
| |
realloc() behaves identically to malloc when passed a NULL object pointer
If an error does occur we would have left max_context with an incorrect
value.
Notes:
svn path=/stable/7/; revision=194736
|
| |
|
|
|
|
|
| |
Don't panic if drm_rmmap is called with a NULL map pointer.
Notes:
svn path=/stable/7/; revision=194735
|
| |
|
|
|
|
|
| |
check offsets for R300_ZB_ZPASS_ADDR
Notes:
svn path=/stable/7/; revision=194734
|
| |
|
|
|
|
|
| |
Add regs required for occlusion queries support
Notes:
svn path=/stable/7/; revision=194733
|
| |
|
|
|
|
|
| |
Add support for RV790 (HD 4890) asics
Notes:
svn path=/stable/7/; revision=194732
|
| |
|
|
|
|
|
|
| |
A little more cleanup from AMD, if we don't have the right microcode
there is no reason to mess with the chip.
Notes:
svn path=/stable/7/; revision=194731
|
| |
|
|
|
|
|
|
|
| |
Simplify the radeon microcode loading.
Submitted by: Christoph Mallon
Notes:
svn path=/stable/7/; revision=194730
|
| |
|
|
|
|
|
|
| |
Fix up waiting on vblank again... This reverts a last minute change that
I made on the last patch, it seems to upset suspend/resume and shutdown.
Notes:
svn path=/stable/7/; revision=194729
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rework the management of vblank interrupts a bit.
When a vt switch occurs the irq handler is uninstalled. Interrupts
and the state tracking of what was enabled/disabled wasn't working
properly. This should resolve the reports of "slow windows" after a
vt switch, among other things. The radeon 2d driver seems to work a
bit more correctly than the Intel driver. With the Intel driver,
vblank interrupts will be enabled at system startup and will only
be disabled after an additional modeset (vt switch, dpms, randr event).
With this patch, I am able to run glxgears synced to vblank and
vt switch while it is running without ill effects.
(Still didn't fix the slow window issues on Intel)
Notes:
svn path=/stable/7/; revision=194728
|
| |
|
|
|
|
|
|
| |
Intel handled the management of the breadcrumb counter inconsistently.
Make sure that we always handle it the same way.
Notes:
svn path=/stable/7/; revision=194727
|
| |
|
|
|
|
|
|
|
|
| |
vm_offset_t is unsigned, so compare of >= 0 is not needed.
Found with: Coverity Prevent(tm)
CID: 2259
Notes:
svn path=/stable/7/; revision=194725
|
| |
|
|
|
|
|
| |
Remove the DRM_ERROR to fix build. It didn't make any sense anyway.
Notes:
svn path=/stable/7/; revision=194724
|
| |
|
|
|
|
|
|
|
|
| |
Fix what appears to be a typo, and restore the registers correctly.
Found with: Coverity Prevent(tm)
CID: 2454
Notes:
svn path=/stable/7/; revision=194723
|
| |
|
|
|
|
|
|
|
|
| |
Don't deref dev->dev_private before checking that it exists.
Found with: Coverity Prevent(tm)
CID: 2940
Notes:
svn path=/stable/7/; revision=194722
|
| |
|
|
|
|
|
|
| |
Only issue the wakeup and store the counter if vblank is enabled on
the pipe.
Notes:
svn path=/stable/7/; revision=194721
|
| |
|
|
|
|
|
|
|
| |
Add some debugging so I can see when syscalls are being restarted
consistantly. After a lengthy irc discussion it seems like we
shouldn't need to worry about them, but it's nice to know about.
Notes:
svn path=/stable/7/; revision=194720
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Rework vblank handling to try to resolve some reports of "slow" windows
after vt switch or suspend. I can't really test this on Intel right now
but I think I've heard reports of it on radeon as well. I can't break
it on the radeon here.
(This doesn't actually fix the "slow" window problem.)
Notes:
svn path=/stable/7/; revision=194719
|
| |
|
|
|
|
|
|
|
|
| |
Sync up the rest of the code that we use with what Intel is shipping
-Some irq/vblank related changes that hopefully will help.
-A little more cleanup while I'm here.
Notes:
svn path=/stable/7/; revision=194718
|
| |
|
|
|
|
|
| |
Pull in some suspend / resume changes from Intel's code
Notes:
svn path=/stable/7/; revision=194717
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Don't try to setup interrupts for drivers that don't support them.
This causes sis and probably a couple of other driver to panic and fail.
Tested by: cpghost <cpghost@cordula.ws>
Approved by: re (kib)
Notes:
svn path=/stable/7/; revision=191404
|
| |
|
|
|
|
|
|
|
|
| |
We don't know what these pages are going to be used for, they should be
un-cached. This got lost somewhere with all the bus_dma fixups.
Approved by: re (kib)
Notes:
svn path=/stable/7/; revision=190653
|
| |
|
|
|
|
|
|
|
| |
Load the right microcode for RS780
Approved by: re (kib)
Notes:
svn path=/stable/7/; revision=190652
|
| |
|
|
|
|
|
|
|
|
| |
The GART allocations are a propery of the gart, not of scatter-gather
memory. Track them in the appropriate structure.
Approved by: re (kib)
Notes:
svn path=/stable/7/; revision=190649
|
| |
|
|
|
|
|
|
|
| |
Add a couple of radeon pci ids.
Approved by: re (kib)
Notes:
svn path=/stable/7/; revision=190648
|
| |
|
|
|
|
|
|
|
|
| |
Fix up the flags to bus_dmamem again. The man page incorrectly showed
the BUS_DMA_NOCACHE flags as being a valid flag for load instead of alloc.
Approved by: re (kib)
Notes:
svn path=/stable/7/; revision=190647
|
| |
|
|
|
|
|
|
|
| |
Add support for matching solely on vendor id.
We will use this method with nouveau
Notes:
svn path=/stable/7/; revision=190135
|
| |
|
|
|
|
|
|
| |
Improve the debugging output of drm_mmap
Cast to (unsigned long) to make printf happy on i386
Notes:
svn path=/stable/7/; revision=190134
|
| |
|
|
|
|
|
|
|
| |
Add list_for_each_prev to our linux compatibility.
We need this for nouveau
Notes:
svn path=/stable/7/; revision=190133
|
| |
|
|
|
|
|
| |
Minor code cleanup
Notes:
svn path=/stable/7/; revision=190132
|
| |
|
|
|
|
|
| |
We can have more than 3 pci resources
Notes:
svn path=/stable/7/; revision=190131
|
| |
|
|
|
|
|
| |
Cast register maps and offsets to vm_offset_t
Notes:
svn path=/stable/7/; revision=190130
|
| |
|
|
|
|
|
| |
Change the logic around to match ati_pcigart.
Notes:
svn path=/stable/7/; revision=190129
|
| |
|
|
|
|
|
|
|
| |
Use flsl() here rather than ffsl()
I discovered that we were computing page_order differently than linux.
Notes:
svn path=/stable/7/; revision=190128
|
| |
|
|
|
|
|
| |
Use the right MSI_REARM for RS600.
Notes:
svn path=/stable/7/; revision=190018
|