Commit Graph

115 Commits

Author SHA1 Message Date
Eric Anholt 6a716a25ab Remove the reg_dumper code, now that it's been moved to intel_gpu_tools. 2009-10-06 17:58:32 -07:00
Eric Anholt b9b159c498 Remove UMS support.
At this point, the only remaining feature regressions should be the lack of
overlay support (about to land), and the need to update the XVMC code to work
in the presence of KMS.

Acked-by: Keith Packard <keithp@keithp.com> (in principle)
Acked-by: Carl Worth <cworth@cworth.org> (in principle)
2009-10-06 16:22:31 -07:00
Zhenyu Wang 488acc4595 Move shader programs under its own subdirectory
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2009-06-30 11:12:12 +08:00
Carl Worth b5e32c9cf8 Rename i830_exa.c to i830_uxa.c
It was just confusing otherwise, (since the EXA code has all been
removed now).
2009-06-09 17:24:48 -07:00
Eric Anholt e5133a94dc unifdef LIBPCIACCESS and XSERVER_LIBPCIACCESS.
Depending on new server means these are always present.
2009-04-27 17:05:59 -07:00
Eric Anholt 612c1f1f18 Remove I830_XV ifdef.
The developers of the driver don't ever run or test without XV.  Don't do it.
2009-04-27 17:05:59 -07:00
Eric Anholt 96df22740b unifdef I830_USE_UXA.
We only have on acceleration architecture now, and you can always build it
if you're building the driver.
2009-04-27 17:05:59 -07:00
Eric Anholt fa81ae1637 Remove EXA support.
UXA has completely replaced EXA at this point.  UXA is the same rendering
core as EXA, but relying on kernel memory management or a fake bufmgr instead
of trying to manage memory in the X Server.
2009-04-27 17:05:59 -07:00
Eric Anholt 1b10745a25 Remove XAA support.
While EXA/UXA aren't completely good replacements (see bugzilla for
performance and stability problems), we are pretty sure at this point that
it's the right way to go and that having multiple acceleration architectures
is getting in the way of producing a stable codebase.
2009-04-27 17:05:59 -07:00
Julien Cristau 84f69081ab Require xserver 1.3
I don't think anyone tests this against an old server anymore.

Signed-off-by: Eric Anholt <eric@anholt.net>
2009-04-21 15:25:58 -07:00
Rémi Cardona b345b4e6ad clean up man page generation and remove all traces of the i810 driver
The i810 compatibility symlink has been broken since libpciaccess, so just
let it die.
2009-03-20 16:31:11 -07:00
Eric Anholt 22dc9a5580 Fix UXA for server 1.4. 2009-02-26 14:20:42 -08:00
Eric Anholt 9d8e5c21a1 Fix distcheck from drmmode_display.h deletion. 2009-02-24 14:07:08 -08:00
Zou Nan hai ec7fd3d1b4 Merge branch '965-xvmc'
Conflicts:

	src/common.h
	src/i830_hwmc.c
	src/i830_video.c
2008-11-27 10:48:09 +08:00
Jesse Barnes 30c29627c8 Make sure DRM library paths are included
We need @DRM_LIBS@ in order to find drm_intel if installed in a
non-standard path.
2008-11-13 12:35:02 -08:00
Eric Anholt 3a4151b69d Fix driver build against server 1.4.2.
This disables UXA and DRM modesetting pre-1.5, due to privates handling
issues.
2008-10-06 17:26:43 -07:00
Eric Anholt 0b4f7b6303 Track move of bufmgr functions to libdrm_intel. 2008-09-09 19:18:10 -07:00
Jesse Barnes 1c224f72d5 Fix UXA build for distcheck
Was missing proper path info in CFLAGS.
2008-08-25 16:59:03 -07:00
Jesse Barnes b1aef6f63c Initial port of kernel modesetting from old intel-kernelmode branch
Thanks airlied!
2008-08-08 11:54:18 -07:00
Keith Packard 59774e9aca Add UXA - the unified memory acceleration architecture.
This eliminates the cost of EXA migration management while providing full
pixmap allocation control to the driver. The goal is to make something
useful for UMA drivers.
2008-08-05 15:29:50 -07:00
Jesse Barnes 4f1f308542 Merge branch 'master' into drm-gem
Conflicts:

	src/i830_driver.c
2008-08-05 13:02:47 -07:00
Julien Cristau 1e90c82161 Link with -lm for sin/cos 2008-07-27 12:07:21 +02:00
Eric Anholt 62a037b058 Fix distcheck. 2008-07-18 15:04:24 -07:00
Carl Worth a6ad50402c Merge branch 'master' into drm-gem
Conflicts:

	configure.ac
	src/reg_dumper/Makefile.am
2008-07-17 00:38:54 -07:00
Julien Cristau 8ac00ca979 Link the driver with -lpciaccess and -ldrm if needed
This makes sure the driver ends up with a DT_NEEDED reference to
the libraries it's using.
2008-07-14 17:08:54 +02:00
Julien Cristau d61182511b Fix gen4asm rule to work with a build dir 2008-07-14 17:08:54 +02:00
Zou Nan hai 277632d8c3 965 xvmc, current only frame based DCT_type support 2008-06-24 16:43:40 +08:00
Eric Anholt beba1dd356 Initial HDMI work. Not currently hooked up at startup. 2008-06-19 15:01:34 -07:00
Eric Anholt f07acbdaac Require libdrm 2.4.0 always since we need the bufmgr code.
This lets us remove a lot of conditional compile stuff in the DRI case, as
if we're doing DRI and have 2.4.0, we can rely on GEM ioctls existing.
2008-06-12 13:47:35 -07:00
Eric Anholt b2216e7bc2 Use batchbuffers instead of ring emits for general commands.
The batchbuffers are managed using libdrm and bufmgr_fake, and dispatched from
the ring from userland.
2008-06-10 11:37:03 -07:00
Zhenyu Wang c1ad0a1a34 Remove old sf/wm program from Makefile
Fix distcheck
(cherry picked from commit 1d8383923bebf38ab8ada6a262cb4fc8c30e074a)
2008-04-14 16:55:37 +08:00
Keith Packard da85d1b822 Revert "remove '#line NUM ...' in macro process"
This reverts commit f47486fab3.

Sorry for failing to push the #line processing changes to intel-gen4asm;
those are now pushed, so this change should no longer be necessary. Having
correct file name and line numbers in the error messages is awfully nice
though.
2008-04-11 11:22:29 -07:00
Zhenyu Wang f47486fab3 remove '#line NUM ...' in macro process
intel-gen4asm doesn't allow '#' line
2008-04-11 10:12:40 +08:00
Keith Packard f270456e56 Remove .g4b files on clean 2008-04-10 16:58:12 -05:00
Keith Packard 825d9e50c5 Add planer video decode kernel
Support for planar video reduces bus bandwidth by 25% and also reduces CPU
usage during planar->packed conversion.
2008-04-10 16:58:11 -05:00
Keith Packard a03eaaa67b Use shared exa_wm code for packed yuv decode
Eliminate special video sf and ps programs.
2008-04-10 16:58:11 -05:00
Keith Packard a6492661ae Fix composite with mask using new compositing thread code
Clean up register allocation to never overlap
Always write 4 values for each texture vertex.
2008-03-31 23:50:20 -07:00
Keith Packard 0850050728 Use m4 to clean up gen4 asm progs. Start adding projective transform support.
Use macros for register names, modularize functions into separate files.
2008-03-31 02:20:43 -07:00
Zhenyu Wang 224c36cc14 Merge branch 'xvmc' 2008-03-20 10:31:57 +08:00
Julien Cristau b1b173d03b Add i8[13]0_ring.h to _SOURCES to fix distcheck
Thanks to Bruno <bonbons67@internet.lu>.
2008-03-18 12:10:30 +01:00
Zhenyu Wang 31654f52b0 Merge branch 'master' into xvmc
Conflicts:

	man/intel.man
	src/i830_driver.c
2008-03-11 14:37:41 +08:00
Mark Kettenis fdc25cb0ca Bug #14649: Fix build if pciaccess headers are not with other xorg headers.
We failed to include the pciaccess header flags in our build.  Even if the
server was to include those flags for us, it would leave us broken for the
tools-only case, and it's easier to just put the flags everywhere so we avoid
future copy'n'paste mistakes.
2008-02-26 17:26:50 -08:00
Zhenyu Wang 216ad73987 xvmc: add disable xvmc build support
Move xvmc source files under XVMC config
2007-12-20 13:39:32 +08:00
Zhenyu Wang e0fb228401 Merge branch 'master' into xvmc
Conflicts:

	src/i830_driver.c
2007-10-08 22:45:11 +08:00
Eric Anholt 219354af21 Restore building of pciaccess-based tools even if the server doesn't use it. 2007-10-01 16:09:13 -07:00
Zhenyu Wang 513e8a2f8a Create xvmc driver interface
convert i915 to new xvmc driver interface
2007-09-26 13:45:42 +08:00
Zhenyu Wang 36b81ba20d Merge branch 'master' into xvmc-i915
Conflicts:

	src/i830.h
	src/i830_memory.c
2007-09-19 11:44:41 +08:00
Keith Packard 3d3bf493a3 Intel driver configuration (only) changes for X server libpciaccess usage.
Detect whether the target X server uses libpciaccess, using it in the driver
compilation as necessary. This change means that utilities that used to use
libpciaccess will not do so unless the driver itself uses libpciaccess. Yes,
that could be fixed, but it doesn't seem that important.

This patch does not include any code changes necessary to actually have the
driver build against an X server using libpciaccess.
2007-08-26 22:27:34 -07:00
Zhenyu Wang 02ad9cee33 Merge branch 'master' into xvmc-i915 2007-08-10 16:45:56 +08:00
Wang Zhenyu 34c82ad7ce Add quirk support
This one trys to use a flag for possible quirks. It adds a quirk
for my Lenovo T61 TV output, and ports some origin LVDS quirks to it.
2007-07-27 09:14:13 +08:00