Commit Graph

81 Commits

Author SHA1 Message Date
Julien Cristau 94a18fa1f8 Don't build reg_dumper if we don't have pciaccess 0.10.0
The pci_device_map_range() function was added in libpciaccess 0.10.0, and
is used by the reg_dumper tool.  Don't try to build it if we have an older
libpciaccess.
Also make sure that util-macros >= 1.1.3 is available when running autoconf,
because it's required for the PACKAGE_VERSION_* macros.
2008-01-24 15:24:40 +01:00
Eric Anholt 0e554e6dd4 Remove extra have_libpciaccess=no that broke tools build with old servers. 2007-12-04 10:40:17 -08:00
Jesse Barnes 04b60b6d34 Bump version to 2.2.0 2007-11-15 11:49:53 -08:00
Jesse Barnes 177924e879 Bump driver version to 2.1.99 in preparation for 2.2 release 2007-11-08 18:16:48 -08:00
Eric Anholt 79636b8c77 Bump pciaccess version requirement for new API usage. 2007-10-17 17:10:46 -07: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
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
Brice Goglin 7431abee5f Define INTEL_VERSION_MAJOR/MINOR/PATCH using PACKAGE_VERSION_* 2007-08-07 09:13:00 +02:00
Dave Airlie 37652b6888 intel: oops I commited pixman local workaround - undo it 2007-07-17 14:03:21 +10:00
Dave Airlie e40f6a4923 intel: actually 2.3.1 should be good enough 2007-07-17 09:20:07 +10:00
Dave Airlie 1e169be25b intel: don't try and use TTM memory manager with old libdrm interface
I probably need to release a libdrm with this interface in it now..
2007-07-17 09:17:31 +10:00
Eric Anholt 3c552af65d Update documentation and bump driver version to 2.1.0. 2007-07-02 18:33:47 -07:00
Alan Coopersmith 6503eb4502 Add AM_PROG_CC_C_O to configure.ac
Clears automake-1.10 warning: src/bios_reader/Makefile.am:8: compiling
 `bios_dumper.c' with per-target flags requires `AM_PROG_CC_C_O' in
 `configure.ac'
2007-06-28 23:30:35 -07:00
Dave Mueller 66aa0e61e1 Bug #11171: Add support for the Ti TFP410 DVO TMDS transmitter. 2007-06-22 16:45:54 -07:00
Eric Anholt 6c29e0bae5 Improve the drm_i915_flip_t check. 2007-06-13 13:40:39 -07:00
Eric Anholt 420e41e792 Revert "Replace failure-prone configure test for fresh libdrm with a simple ifndef."
This reverts commit c2b130354a.

Sadly, a non-working DRM_IOCTL_I915_FLIP already existed.
2007-06-13 13:34:26 -07:00
Eric Anholt c2b130354a Replace failure-prone configure test for fresh libdrm with a simple ifndef. 2007-06-12 08:50:14 -07:00
Keith Packard 31bf269afe Update version to 2.0.0 2007-04-19 20:03:41 -07:00
Keith Packard cca3897690 Clean up 1.2 xserver build support.
Convert relative X server source path to absolute.  Check for local copies
of needed header files before building, rather than requiring server source.
Remove extra duplicate -I elements in AM_CFLAGS in sub directories.
2007-04-19 13:15:23 -07:00
Eric Anholt bf9771e971 Don't use extended regexps in sed when not necessary.
Some seds require a flag to enable extended regexps.
2007-04-09 15:26:05 -07:00
Brice Goglin 656fbd9525 Bug #10515: Fix module version number with more than one digit per field. 2007-04-09 13:06:55 -07:00
Eric Anholt d9d05b553c Bump version to 1.9.94 for 2.0 RC4. 2007-04-03 00:15:05 -07:00
Eric Anholt 768821bd38 Bump version to 1.9.93 for 2.0RC3. 2007-03-26 21:27:54 -07:00
Eric Anholt 9fbef2de9e Bump to 1.9.92 for RC2. 2007-03-14 12:34:34 -07:00
Michel Dänzer ba55ff15df Fix attempt to flip pages back to normal when the last 3D window disappears.
When this succeeds, 2D rendering does not have to be synchronized to back
buffers until the next 3D window appears.
2007-03-12 13:01:00 +01:00
Michel Dänzer 6c299aea8e Merge remote branch 'origin/master' into i830-pageflip
Conflicts:

	src/i830_display.c
	src/i830_driver.c
2007-03-06 09:28:52 +01:00
Michel Dänzer 330815251d Merge remote branch 'origin/master' into i830-pageflip
Conflicts:

	src/i830.h
	src/i830_dri.c
	src/i830_dri.h
	src/i830_driver.c
	src/i830_memory.c
	src/i830_xaa.c
2007-03-05 13:05:20 +01:00
Keith Packard af565872a4 Set version number to 2.0 RC1 (1.9.91). 2007-03-04 21:20:33 -08:00
Eric Anholt fc7d43c2b6 Use -f for ln of server source. Otherwise, changing paths didn't take effect. 2007-03-04 17:18:48 -08:00
Eric Anholt 1f5d1666c8 Add a non-installed command line tool using libpciaccess to dump registers.
This reuses the i830_debug.c code, so we can run that from the console or from
the BIOS-based X server to debug some remaining issues.
2007-02-28 16:27:55 -08:00
Keith Packard 5a1a04649c Make distcheck fixes. Distribute all sources needed even for older servers.
Always allow (but do not require) link to server sources so that needed
files can be included in the generated tar files.

Add remaining .g4a files and assembly output to distributed file lists.
2007-02-17 17:01:04 -08:00
Keith Packard 0ca926e63c Check for presence of xf86Modes.h file.
xf86Modes.h file signals the availability of the new modes API in the
server; use that instead of counting on X server version numbers.
Also, finish eliminating use of local copies of those header files.
2007-02-16 02:19:10 -08:00
Keith Packard 8e7bc4b1f9 Use server sources for crtc/output generic code.
As sources for these have been merged to the server, use them from the
server source code instead of keeping copies in this driver.
2007-02-15 11:17:53 -08:00
Michel Dänzer 3bd8edb95f Revive i830 page flipping support.
Use the damage layer directly instead of via shadowfb.
2007-02-14 12:57:35 +01:00
Keith Packard 785a59ead0 Rename driver from i810 to intel. Permit old name for compatibility.
Driver installs as intel_drv.so with symlink to i810_drv.so to ensure
existing configurations continue to work. Updated manual page to reflect
name change and add attributions for recent work.
2007-02-01 22:48:44 -08:00
Keith Packard 2bb9bb951e Typo disabled new DRI MM on all chips.
Detection for new DRI MM wasn't converted to #define correctly because of a
typo.
2007-01-02 14:04:10 -08:00
Keith Packard 237847007a Make driver build and run on Xorg 7.1. Delay DSP*BASE setting until last.
Autodetect libdrm version, disable new memory manager on older libraries.
Move new M_T_ defines from i830.h to i830_xf86Crtc.h. Add many system
headers to define functions. Use i830PipeSetBase at end of mode setting
code to set DSP*BASE and flush changes. Don't duplicate PipeSetBase call
from screen init function. Make initial RandR configuration code usable on
older versions of extension so the server doesn't start in a panning mode.
Use xfree instead of free in i830_tv.c.
2007-01-02 00:09:35 -08:00
Eric Anholt c7083a6f30 Add WIP CH7017 LVDS driver. This is disconnected because it's untested. 2006-12-28 12:16:48 -08:00
Eric Anholt 778db49616 Add WIP IVCH (i82807aa) driver.
It is not currently hooked up as it hasn't been tested.  The hardware that this
was written for decided to stop working.
2006-12-28 11:45:52 -08:00
Eric Anholt 9948d8377d Merge branch 'master' into modesetting
Conflicts:

	src/i830.h
	src/i830_cursor.c
	src/i830_dri.c
	src/i830_driver.c
	src/i830_video.c
2006-11-16 19:47:24 -08:00
Thomas Hellstrom c0ee50c4ee Add support for the new DRM memory manager.
Some code are duplicated with the new libdrm.
Once this code has been released with xserver,
it can be removed.

See the man page for new options and backwards
3D driver compatibility.
2006-10-27 19:13:33 +02:00
Alan Hourihane adae75ef2f Make VIDEO_DEBUG into a configure option 2006-10-13 17:10:27 +01:00
Alan Hourihane 1d4cfaa391 Bump to 1.7.2 2006-10-13 13:55:10 +01:00
Alan Hourihane 334aa062c3 Bump to 1.7.1 2006-10-13 12:59:30 +01:00
Alan Hourihane 2b9bdd8a40 bump to 1.7.0 2006-10-02 11:12:23 +01:00
Eric Anholt 6ea16bf6b0 Merge branch 'master' into modesetting
This reverts most of the mergedfb code.  This will instead be done in device-
independent RandR code.

Conflicts:

	src/Makefile.am
	src/i810_driver.c
	src/i810_reg.h
	src/i830.h
	src/i830_cursor.c
	src/i830_driver.c
	src/i830_modes.c
	src/i830_video.c
2006-09-27 16:38:01 -07:00
Keith Packard f6500e94fe Update driver for RandR 1.2 X server API.
This is not entirely what I'd like to see, but it's at least functional.

Limitations:
	Can't disable/enable crtcs
	Can't move outputs on/off crtcs

But, it does handle monitor hot-plug, detecting changes in VGA and SDVO
status on-the fly. Which makes for good demo material.
2006-09-20 22:38:55 -07:00
Eric Anholt 1e6e288b88 Add a check for intel-gen4asm, and rules to compile {wm,sf}_prog.h using it.
This adds assembly source for the two programs used in the textured video
implementation on the 965, which should make them easier to modify in the
future. The compiled versions are also included, so that intel-gen4asm isn't a
build requirement for people that aren't modifying these programs.

There are minor differences in the compiled versions of these programs compared
to their previous versions which were compiled with a different tool.  I
believe the changes should be harmless, and video continues to work on my
system.
2006-09-01 16:47:17 -07:00
Eric Anholt 4cfed93df6 Bump to 1.6.5 for release. 2006-08-10 15:41:32 -07:00
Eric Anholt 975e602610 Bug #7829: Fix reported driver version.
The driver now reports itself as the PACKAGE_VERSION from autoconf.  The DRI
DDX -> client interface version is dissociated from this so that we can do
appropriate major/minor versioning of the interface that's not tied to the
package version.  Bumped the i830 ddx dri version patchlevel to note the
fix in the previous commit.
2006-08-10 13:49:43 -07:00