the address of a function argument which triggers a gcc ICE on sparc64
resulting in libdrm_radeon not being built as reported by naddy.
kettenis pointed out that while other architectures probably spill the
argument onto the stack this is likely not the case on register window
architectures like SPARC and suggested passing a pointer as an argument
instead which avoids the ICE and allows the drm libraries requiring
atomics to build on sparc64 again.
ok kettenis@ matthieu@
need to learn this.
When set_tiling fails, keep tiling type at the type we already had, do
NOT use the parameters that we passed to the ioctl.
Noticed when i botched a kernel diff (locally) so that that ioctl failed
more often.
ok matthieu@
This diff seems larger than it is since upstream reindented some
sources. This updates libdrm_intel to -current (which only affect the
GEM code) and libdrm to 2.4.15. bumping both minor versions.
Discussed with matthieu@
We always map through the gtt, never using the cpu mapping (this decreases
complexity a lot). Keep use of the original ioctl for this. Also don't bother
with userland domain setting, the kernel handles this correctly.
Finally, don't persist mapping across calls to unmap and remapping, this aids
with debugging, but may change later.
ok matthieu@.
Makes overlay XV work with intel 2.7.1. ok matthieu@, tested by naddy@,
sturm@, matthieu@ and myself. This is most important for the x40 and
other 8xx chipset which lack textured video.
are to some assertions and a small change to modesetting code).
bump libdrm_intel minor due to added symbols, libdrm doesn't get bumped,
no change to symbol list.
ok matthieu@.
This is needed for us to be able to update Mesa and xf86-video-intel.
Includes a few fixes, as well as the intel bufmgr interface and the
modesetting interface (which currently errors when you check if it's
enabled).
ok matthieu@
Now that xenocara has been made clean with respect to using kernel headers
instead of those provided with libdrm, remove the copy of the headers included
here. Since it is now very simple, move it over to using standard bsd makefiles
instead of autoconf.
ok matthieu@