riastradh
598514d2bc
Need <sys/atomic.h> for atomic_cas_uint.
2014-07-17 19:23:40 +00:00
riastradh
6be38beda3
Don't touch task after calling it.
2014-07-17 18:53:34 +00:00
riastradh
071b7abfaa
Fix usb task queue locking.
2014-07-17 18:42:37 +00:00
riastradh
08846c0307
intel_dp_aux_wait_done can run while cold.
2014-07-17 17:52:39 +00:00
riastradh
8880b5313f
Do a post-write DMA sync pos-write, not a pre-write one.
2014-07-17 17:29:39 +00:00
riastradh
6f1e96281f
Don't forget to advance the array index as we walk the queue...
2014-07-17 17:19:42 +00:00
riastradh
4fb1005df1
Lock the right lock around the gmbus condvar.
2014-07-17 17:17:24 +00:00
riastradh
bc81f6d8be
Fix wsmouse at uatp attachment for module.
2014-07-17 17:11:12 +00:00
riastradh
ced0e0f361
Put in dummy gem uvm ops for radeon (uses ttm for real mmap).
2014-07-17 15:09:00 +00:00
riastradh
52c71abc12
Expand null macros to `do {} while (0)', not to nothing.
2014-07-17 14:55:32 +00:00
riastradh
3c8e94233f
Correct return values of Linux test-and-set operations (PR 48999).
...
Linux's Documentation/atomic_ops.txt says in no uncertain terms these
must return 0 or 1, not zero or nonzero. I don't think this has
caused an issue for drm (yet), but better to have it right.
2014-07-17 14:30:33 +00:00
riastradh
27f0ac970f
Add non-atomic Linux test-and-set operations.
2014-07-17 14:28:28 +00:00
riastradh
174002a657
Remove defunct declarations of alloc_page/free_page.
2014-07-17 14:07:44 +00:00
riastradh
f0ac8cd0d3
Push -Wno-missing-prototypes into specific radeon source files.
...
Don't apply it willy-nilly to the whole kernel!
2014-07-17 14:05:12 +00:00
riastradh
26083f6ccc
Remove needless linux_gfp.c.
...
Trying to make do with Linux's page allocation interface is pretty
much always wrong: either we let uvm allocate pages in uvm objects
for us, or we use bus_dma.
2014-07-17 13:52:22 +00:00
riastradh
180ed50cef
Initialize the drm_global stuff.
2014-07-17 13:47:19 +00:00
njoly
c038ed9dae
Add hw.ncpuonline documentation.
2014-07-17 13:42:02 +00:00
prlw1
0d52edd1b1
Update lists after adding support for vnd to rump (report from hannken@)
2014-07-17 12:04:05 +00:00
bouyer
af396dde5a
Sync DEFCOPTS and CFLAGS with i386 and amd64 counterparts.
...
Especially -fno-omit-frame-pointer
2014-07-17 10:49:45 +00:00
bouyer
8a9adb2f72
Make sure to call ifp->if_output() with KERNEL_LOCK held.
...
Should fix mpls-related atf tests.
2014-07-17 10:46:57 +00:00
mrg
e8a778f4c0
call this 20140717.
2014-07-17 10:21:51 +00:00
hannken
3fd06797df
Finish KAME IPSEC removal:
...
- Remove field kfs_value, it is always zero. Compute the hash from kt_tag.
- Remove stray definitions kernfs_revoke_sa and kernfs_revoke_sp.
While here, remove kfs_type from allocvp(), it is always kt->kt_tag.
2014-07-17 08:21:34 +00:00
prlw1
2b476a8d95
Add vnd support to rump
2014-07-17 08:16:12 +00:00
spz
652bd7d1b3
Create the dhcpd.leases file if it doesn't exist already, don't just
...
warn about it not being there.
Closes PR misc/48868
2014-07-17 07:17:03 +00:00
mrg
71b444f24e
rewrite much of the SSL code:
...
- handle errors in many places they weren't properly
- make SSL_accept() an error the main code notices
- expand bozo_ssl_err() to include bozo_ssl_warn(), bozo_clear_ssl_queue()
- remove empty bozo_ssl_flush()
2014-07-17 06:27:52 +00:00
mrg
cce952fc91
link against main.c and ssl-bozo.c (which provides the IO backend.)
2014-07-17 06:24:57 +00:00
mrg
002519bfa2
use const and remove unnecessary braces.
2014-07-17 06:14:46 +00:00
riastradh
0a36a05ab2
Actually hook up the radeon_ttm uvm pager ops!
2014-07-17 03:34:13 +00:00
riastradh
cd1be69630
Import the part of Nouveau that got eaten by CVS default ignore patterns.
...
No, this is *not* a core file. This is a directory with most of the
source code!
2014-07-17 01:50:57 +00:00
jmcneill
f0744b1ae9
From 517d5c1c9c
...
> Fix for ALSA driver crash
> Avoids an issue when closing and opening vchiq where a message can arrive before service handle has been written
2014-07-16 23:59:58 +00:00
jmcneill
ad7324db82
need opt_arm_debug.h for VERBOSE_INIT_ARM
2014-07-16 23:54:32 +00:00
riastradh
b358313ab0
Get suspend/resume sorta working for i915drm.
2014-07-16 23:25:18 +00:00
riastradh
b8f558054f
Remove needless pci_map_rom error messages.
2014-07-16 23:24:23 +00:00
riastradh
14004d2c4d
Explain why i915_gem_release_mmap is broken.
2014-07-16 21:48:53 +00:00
riastradh
e6dd66eb71
Restore error message tweak that got lost in the merge.
2014-07-16 21:28:50 +00:00
riastradh
ae3742a4e9
I thought I removed this troublemaker already.
2014-07-16 21:11:47 +00:00
riastradh
b81c64e1b2
First whack at radeon driver.
...
No hardware to test yet, but it builds.
2014-07-16 20:59:57 +00:00
riastradh
77b5597a2b
Make it build and boot on my test machines.
...
Screen blanks on boot on the Ivy Bridge system with
DRM error in cpt_serr_int_handler: PCH transcoder A FIFO underrun
But after that everything is OK. Appears to be an upstream problem.
To investigate...
I think there's a cache flushing issue somewhere -- there are little
display artefacts on my T60.
2014-07-16 20:56:24 +00:00
maxv
8ee3c88d2b
Limit the minimum size of a disk sector to 512 bytes, to prevent memory
...
overflow on extremely low secsize. This normally conforms to the old standard
(for which there doesn't seem to be a clear spec). Since 2011, IDEMA's Advanced
Format standardizes it to 4k, so this change won't cause any trouble on
new devices.
Put the printf under DIAGNOSTIC temporarily to see if someone complains.
after a quick discussion on tech-kern
2014-07-16 20:09:00 +00:00
riastradh
e51b4cca97
Delete troublesome drm_trace.h and drm_trace_points.c.
2014-07-16 20:08:37 +00:00
riastradh
3c6dde82cc
fix merge conflicts
2014-07-16 20:03:56 +00:00
palle
b9bfbf041f
sun4v: Introduce SET_MMU_CONTEXTID macro for setting the mmu context id on both sun4u and sun4v
2014-07-16 19:53:18 +00:00
riastradh
9d20d9267f
Import drm from Linux 3.15 (commitid 1860e379875dfe7271c649058aeddffe5afd9d0d).
...
drivers/gpu/drm -> sys/external/bsd/drm2/dist/drm
include/drm -> sys/external/bsd/drm2/dist/include/drm
include/uapi/drm -> sys/external/bsd/drm2/dist/uapi/drm
GPL sources excluded.
2014-07-16 19:35:23 +00:00
justin
d6d2630dfe
Avoid use of __arraycount in tools as not portable
2014-07-16 19:31:11 +00:00
riastradh
f3a56da0a0
Hold arenas_mtx across (still unused) _malloc_pre/postfork (PR 47428).
2014-07-16 19:09:53 +00:00
riastradh
66ee53e17c
Add doc/3RDPARTY entry for MesaLib.
2014-07-16 19:05:42 +00:00
bouyer
43ba8f8118
Mention tiotg and tifb
2014-07-16 19:05:37 +00:00
justin
da43bc8c3e
Remove an accidental C99-ism in tools which needs to be portable
2014-07-16 18:58:07 +00:00
bouyer
d3fb29cb8a
Add a commented out tifb and associated wsdisplay entry; mark the
...
driver as experimental and point out that video mode is hardcoded.
Add tiotg, mark as experimental but I think it's good enough to have
it in by default.
2014-07-16 18:36:46 +00:00
bouyer
31e8548ef9
Add tifb and tiotg
2014-07-16 18:32:21 +00:00