summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-08-26i810_driver.c changes for libpciaccess.Keith Packard
This includes new probe code (intel_pci_probe) and changes for i810 to use BAR indices to refer to suitable portions of the device mappings.
2007-08-26Mechanical API conversions for libpciaccess.Keith Packard
Uncomplicated API transistions for libpciaccess usage: Legacy xf86 API libpciaccess API --------------- ---------------- xf86ReadPciBIOS pci_device_read_rom pciReadWord pci_device_cfg_read_u16 pciWriteByte pci_device_cfg_write_u8 And, more use of the API-independent DEVICE_ID/SUBVENDOR_ID/SUBSYS_ID macros to pull PCI identification data from the underlying structure.
2007-08-26Change DRI interface to fill in PCI data from new libpciaccess structure.Keith Packard
The DRI interface requires bus identification for each DRI object; pull that data from the libpciaccess structures as necessary.
2007-08-26Add libpciaccess declarations to I810Rec and I830Rec.Keith Packard
Using libpciaccess requires a different type for PciInfo (struct pci_device instead of pciVideoPtr) and it requires knowing which BAR each memory region needs to be mapped from. Add these definitions to the driver private record along with the includes necessary to use libpciaccess.
2007-08-26Change IS_Ixxx tests to work with or without libpciaccess.Keith Packard
libpciaccess has a new structure that holds the PCI identifier data; borrow macros from the mga driver to work with either the old xf86-specific structure or the new libpciaccess structure.
2007-08-26Intel driver configuration (only) changes for X server libpciaccess usage.Keith Packard
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-26Sort quirk table, add Dell Latitude X1Keith Packard
2007-08-25Lenovo 201a is x60s, not x61sKeith Packard
2007-08-25Thinkpad X61s has no TV outKeith Packard
2007-08-18Generate PCI ID's without the leading 0x. Autoreconf to deal with it.David Nusinow
2007-08-18Add previous patch to the series (wtf quilt?) and autoreconfDavid Nusinow
2007-08-17Make sure XV_PIPE is used whenever possible.Keith Packard
The code was not consistently using XV_PIPE when the desired crtc contained any portion of the video output.
2007-08-17Tune acceleration architecture allocator sizes down.Eric Anholt
2007-08-17Replace AA allocator usage with i830_memory.c for RandR rotation.Eric Anholt
This requires EXA 2.2 (server 1.3) for rotated performance with EXA, because the i830_memory.c allocation may not fall within what EXA considers the offscreen area, so the PixmapIsOffscreen hook is needed.
2007-08-17Use i830_memory.c instead of the AA's allocator for XV buffers.Eric Anholt
This should fix issues with XV being allocated into XAA's tiled pixmap cache and resulting bad rendering. Its also brings us closer to being able to shrink the size of the pixmap cache on XAA, which is of limited utility.
2007-08-16Merge branch 'master' of ↵Jesse Barnes
ssh://git.freedesktop.org/git/xorg/driver/xf86-video-intel
2007-08-16Disambiguate plane and pipe mapping, use plane A on pipe B on pre-965 LVDSJesse Barnes
Add a new 'plane' field to the intel_crtc private structure for tracking planes separate from pipes. This allows pre-965 chips to use plane A on pipe B, enabling framebuffer compression for builtin LVDS displays.
2007-08-16Add tiling information to BO layout description.Eric Anholt
2007-08-16Merge branch 'master' into buffer-objectsEric Anholt
Conflicts: src/i830_dri.c src/i830_memory.c
2007-08-16i915: add support for render to a8Dave Airlie
2007-08-15intel: don't setup texOffsetStart unless using EXADave Airlie
2007-08-14Delete obsolete file.Julien Cristau
2007-08-14New upstream releaseJulien Cristau
autoreconf and update changelogs.
2007-08-14Merge tag 'xf86-video-intel-2.1.1' into debian-unstableJulien Cristau
2007-08-14Fix seg fault introduced in tiling patch when TV detectZhenyu Wang
When TV does load detect, fb hasn't been setup, so we should check that in i830_display_tiled(). Caught by Nanhai.
2007-08-14Clean up tv mode name allocation and copy.Keith Packard
TV mode names used to contain the signalling standard along with the pixel size. The signalling has been moved to the TV_FORMAT property, but the allocation and initialization of the mode name was left a bit messy as a result. (cherry picked from commit ed1b106fabf3a18489bdb3083326f27387a9cb72)
2007-08-14i965: increase composite vertex buffer size and alignment to be safeDave Airlie
(cherry picked from commit 7b143e5c8397da077c0e02455c21c5a99cf50942)
2007-08-14i965: fix memcpy of the sf_kernel when a mask is neededDave Airlie
(cherry picked from commit 14691b24da5aa29d8c41ac7b7c61828e3cd9eab7)
2007-08-14Allow 965 composite acceleration to A8 destinations.Carl Worth
Note that this is a slowdown in text rendering due to the high overhead of our compositing setup, but appears to be correct according to rendercheck. (cherry picked from commit 5e18c6af9051da654d2a6a97553ef4fe777bb61e)
2007-08-14Bug #11593: Remove dead struct vch_bdb_20 which was angering the sun compiler.Eric Anholt
(cherry picked from commit b0ec670cdb0b6ca6fc0f4f165fa3ee5a20d7c985)
2007-08-14Define INTEL_VERSION_MAJOR/MINOR/PATCH using PACKAGE_VERSION_*Brice Goglin
(cherry picked from commit 7431abee5fb971d1f8bc7ac4bea137f6ece9418b)
2007-08-14Add the file mode for bios_dumper output so it doesn't have 000 permissions.Eric Anholt
(cherry picked from commit ba90d944329dd8c79a757c38128964fbbe4ab898)
2007-08-10Save/restore tile-mode offset registers DSPATILEOFF and DSPBTILEOFFKeith Packard
Now that the driver sets these registers, they must be saved and restored.
2007-08-10Set DSPATILEOFF/DSPBTILEOFF to handle 965 tiled frame buffers.Keith Packard
DSPATILEOFF and DSPBTILEOFF replace DSPASURF and DSPBSURF when the frame buffer is in tiled mode.
2007-08-10Add #if 0-ed fence debugging code. It's noisy, and of little use to most.Eric Anholt
2007-08-10Don't force tiling on if it is disabled in configuration but fbc is possible.Eric Anholt
2007-08-10Fix stack-smashing in the last commit.Eric Anholt
2007-08-10Attempt to fix several front buffer tiling failure cases.Eric Anholt
Front buffer tiling is now disabled with G965 and XAA. Some of the acceleration that i830_xaa.c does can't be supported on tiled buffers. Adds a tiling field to struct i830_memory, and uses it instead of separate variables for each potential tiled buffer.
2007-08-10Clean up tv mode name allocation and copy.Keith Packard
TV mode names used to contain the signalling standard along with the pixel size. The signalling has been moved to the TV_FORMAT property, but the allocation and initialization of the mode name was left a bit messy as a result.
2007-08-10Cleanup tiling and FBC driver output.Jesse Barnes
Remove an extra "FBC enabled" message from i830_memory.c (only report errors if they occur), and don't print the "forcing FBC on" message if tiling was already enabled, as it's redundant and confusing.
2007-08-10Enable tiling by default on 965.Jesse Barnes
2007-08-10Tiling fixes for 965Jesse Barnes
This should be close to the last set of tiling fixes for 965 chipsets. Prior to this commit, the 965 composite hook didn't take tiling into account, nor did 965 textured video, which caused display corruption. However, there seems to be at least one last bug to squash--on occasion, a configuration with tiling enabled won't properly display text. This is likely another tiling related problem with the composite hook.
2007-08-10Merge branch 'master' into xvmc-i915Zhenyu Wang
2007-08-10disable subpicture initialZhenyu Wang
until we really implement it, OSD can't work for now.
2007-08-09i965: increase composite vertex buffer size and alignment to be safeDave Airlie
2007-08-09i965: fix memcpy of the sf_kernel when a mask is neededDave Airlie
2007-08-08Legacy backlight changes: - add support for 965GM - make sure legacy enabled ↵Jesse Barnes
systems don't reduce the range of backlight values we can present to the user (cherry picked from commit 0da4f2b0cd7203377ad10407928a367b8c6d310e) Conflicts: src/i830.h
2007-08-08Quirk away the nonexistent TV connector on the Panasonic CF-Y4.Eric Anholt
(cherry picked from commit 322a163cfbda885adc6bb09c1f976d36617ea83b)
2007-08-08Allow 965 composite acceleration to A8 destinations.Carl Worth
Note that this is a slowdown in text rendering due to the high overhead of our compositing setup, but appears to be correct according to rendercheck.
2007-08-08Bug #11593: Remove dead struct vch_bdb_20 which was angering the sun compiler.Eric Anholt