summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-01-20Move i965 render vb setup to use time, and decouple state emit from it.Eric Anholt
The require_space had failed since it only checked for the space required by the batch emits in the function itself, but not in the i965_emit_composite_state() that it called (the state we were concerned about having set up for that 12 * 4 dwords to follow!). This is replaced by intel_batch_start_atomic(), which will catch such mistakes in the future.
2009-01-20Move i965 render transform setup from emit_composite_state to prepare_composite.Eric Anholt
2009-01-20i965: Pull check_aperture out to a separate function and make it dtrt.Eric Anholt
Previously it wouldn't count the pixmaps that were about to be used, which is pretty much the only purpose of having the pain around. This also eliminates the check_twice confusion with emit_batch_header_for_composite().
2009-01-20Move filter computation from emit_batch_header to prepare_composite.Eric Anholt
2009-01-20Use intel_emit_reloc from video to prettify 965 render bind_bo setup.Eric Anholt
2009-01-20Move i965 render state bo setup back to prepare_composite.Eric Anholt
We want the objects to be created once per prepare/done both for efficiency and so we can handle aperture checking better.
2009-01-20Do check_aperture_space and batch_start_atomic for i965 video.Eric Anholt
This increases the overhead for video in the presence of cliprects, but we were already doing nasty things in that case and don't seem to care. This could fix potential bad rendering or hangs with video, particularly with DRI2.
2009-01-20Move 965 video setup to a separate function so we can move it around.Eric Anholt
2009-01-20Remove the pageflipping infrastructure.Owain G. Ainsworth
It was broken on current kernels, and deprecated anyway.
2009-01-20Remove triple-buffering supportOwain G. Ainsworth
It never worked with any upstream linux kernel, and is quite heavily deprecated. A new solution based around DRI2 will probably be forthcoming. Pageflipping itself is next.
2009-01-20Support sysfs backlight control for Sony laptops in xf86-video-intelKshitij Kulshreshtha
The sony_laptop kernel module (since v2.6.23) supports backlight control via the sysfs interface: /sys/class/backlight/sony This patch will enable xf86-video-intel to use this backlight control method for Sony VAIO Laptops with Intel integrated video.
2009-01-17Protect i915 textured video against batchbuffer wrapping.Eric Anholt
2009-01-17Fix i915 batch_start_atomic counting.Eric Anholt
2009-01-17Fix libdrm version number requirement regression that got spammed in.Eric Anholt
2009-01-17intel: fix DRI2 should be DRI_DRI2Dave Airlie
2009-01-16Re-emit i915 composite setup when the batchbuffer wraps.Eric Anholt
This also introduces tests to make sure that we asked for enough reserved space and that we don't allow wrapping at the wrong time. This fixes a hang during text rendering with DRI2 and a GL client running, but could potentially affect text rendering with GEM in general with an exceptional batchbuffer setup.
2009-01-15Fix invarient state emits for DRI2 (do it per batch, since there's no lock).Eric Anholt
2009-01-15Prepare changelog for uploadBrice Goglin
2009-01-15New upstream releaseBrice Goglin
2009-01-15Merge tag 'xf86-video-intel-2.6.0' into debian-experimentalBrice Goglin
2009-01-15Bump version 2.6.0Zhenyu Wang
2009-01-15Fix ioctl type.Owain G. Ainsworth
I915_EMIT_IRQ is a read/write ioctl, not a write only. Found by OpenBSd's kernel code which checks these things a long more strongly than Linux. (cherry picked from commit 9f306193c4b128ec72c5b4db16d07302cee50ab5)
2009-01-15use ifdef __linux__ where needed.Owain G. Ainsworth
since modesetting is compiled by default now, ifdef __linux__ the linux only includes and ioctls. (cherry picked from commit 1e8588ad5087c69eb77399cfaab8e4ec15eb4da9)
2009-01-14Fix ioctl type.Owain G. Ainsworth
I915_EMIT_IRQ is a read/write ioctl, not a write only. Found by OpenBSd's kernel code which checks these things a long more strongly than Linux.
2009-01-14use ifdef __linux__ where needed.Owain G. Ainsworth
since modesetting is compiled by default now, ifdef __linux__ the linux only includes and ioctls.
2009-01-14Revert "Assign rotation memory dri_bo to rotation pixmap."Zhenyu Wang
This reverts commit d994978488648a68ade0d518e5dd40d100e953ed. This requires i830_set_pixmap_bo() on master that is not in 2.6 branch.
2009-01-14Prepare changelog for uploadJulien Cristau
2009-01-14add bug closerJulien Cristau
2009-01-14Disable VGA plane reliablyMa Ling
This fixes #17235, VGA random hang on recent G45/43 board. From spec, SR01 bit 5 should be set before VGA plane disable through control register, otherwise we might get random crash and lockups. (cherry picked from commit db9f5915ce812144ffd9d2aa42e8ba856129c35e)
2009-01-14Assign rotation memory dri_bo to rotation pixmap.Keith Packard
As the rotation memory and rotation pixmap are allocated separately (to make rotation at startup work), the allocate dri_bo needs to be set in the pixmap for acceleration to work. This restores the performance in rotated modes. Signed-off-by: Keith Packard <keithp@keithp.com> (cherry picked from commit a4b023c17b9c3bd65fb9466ddb8a953f60244402)
2009-01-14Disable VGA plane reliablyMa Ling
This fixes #17235, VGA random hang on recent G45/43 board. From spec, SR01 bit 5 should be set before VGA plane disable through control register, otherwise we might get random crash and lockups.
2009-01-13Assign rotation memory dri_bo to rotation pixmap.Keith Packard
As the rotation memory and rotation pixmap are allocated separately (to make rotation at startup work), the allocate dri_bo needs to be set in the pixmap for acceleration to work. This restores the performance in rotated modes. Signed-off-by: Keith Packard <keithp@keithp.com>
2009-01-14UXA: Declare glyph cache picture as component-alpha when necessary.Bernhard Rosenkraenzer
Without this, rendering component-alpha glyphs may break without a mask. Bug #19534. Ported from fix by Michel Dänzer <daenzer@vmware.com> in xserver commit 639f289dcdbe00a516820f573c01a8339e120ed4 (cherry picked from commit c80f1a9c5131721eaf87d12a7a67e603cdfed63b)
2009-01-14set continuous-frequency flag in get modes functionMa Ling
http://bugs.freedesktop.org/show_bug.cgi?id=19247 Because latest xorg will check whether the display is continuous frequency through one flag in monitor info structure, if not it doesn't touch default modes. When laptop failed to fetch edid, We don't set the flag. In i830_lvds.c, so currently we can not get default modes except only one mode line from bios. In order to achieve default modes from xserver successfully,I set the flag and other EDID features. (cherry picked from commit 3d206f9e46b5237bda7ca3c0f92d64c45ee8bdf5)
2009-01-14Fix LVDS EDID to match all possible default modesKeith Packard
If the EDID data from the LVDS doesn't indicate support for a wide range of continuous frequencies, it will not match any of the default modes although our LVDS scaler logic ignores refresh rates when programming LVDS modes. Fix this by smashing the compute EDID data to open up the sync rates. Signed-off-by: Keith Packard <keithp@keithp.com> (cherry picked from commit 3354e660b0744976871683ce226f17e873f26b50)
2009-01-14Remove xorgconfig & xorgcfg from See Also list in man pageAlan Coopersmith
(cherry picked from commit f1e9ca4e4fb3ddb083252aea79c67c5e5e71f29c)
2009-01-13bios_reader: make mode timing output friendlierJesse Barnes
Print out the calculated mode line values (as i830_bios.c uses) and check for validity against known problems.
2009-01-13UXA: Declare glyph cache picture as component-alpha when necessary.Bernhard Rosenkraenzer
Without this, rendering component-alpha glyphs may break without a mask. Bug #19534. Ported from fix by Michel Dänzer <daenzer@vmware.com> in xserver commit 639f289dcdbe00a516820f573c01a8339e120ed4
2009-01-13set continuous-frequency flag in get modes functionMa Ling
http://bugs.freedesktop.org/show_bug.cgi?id=19247 Because latest xorg will check whether the display is continuous frequency through one flag in monitor info structure, if not it doesn't touch default modes. When laptop failed to fetch edid, We don't set the flag. In i830_lvds.c, so currently we can not get default modes except only one mode line from bios. In order to achieve default modes from xserver successfully,I set the flag and other EDID features.
2009-01-13Fix LVDS EDID to match all possible default modesKeith Packard
If the EDID data from the LVDS doesn't indicate support for a wide range of continuous frequencies, it will not match any of the default modes although our LVDS scaler logic ignores refresh rates when programming LVDS modes. Fix this by smashing the compute EDID data to open up the sync rates. Signed-off-by: Keith Packard <keithp@keithp.com>
2009-01-13Prevent redefinitions of CARD8 and friends. Fixes build.Ian Romanick
(cherry picked from commit 91c49067abab262edce54d33af8bfc03eee20f2e)
2009-01-09Remove xorgconfig & xorgcfg from See Also list in man pageAlan Coopersmith
2009-01-09Update libdrm-dev build-dep to 2.4.3.Julien Cristau
2009-01-09Update changelogsJulien Cristau
2009-01-09Merge branch 'upstream-experimental' into debian-experimentalJulien Cristau
2009-01-09Merge commit 'xf86-video-intel-2.5.1' into upstream-experimentalJulien Cristau
2009-01-08Bump version 2.5.99.2Zhenyu Wang
2009-01-07Prevent redefinitions of CARD8 and friends. Fixes build.Ian Romanick
2009-01-07Always enable KMS if server's new enough, and remove option.Eric Anholt
The API should be stable at this point, and we don't want to allow mistakes. (cherry picked from commit 934008a2cbcec0c790580750c672c0367a9e4c55)
2009-01-07Fix pin leakage with EXA GTT-mapping shortcut, and crash with UXA on KMS.Eric Anholt
(cherry picked from commit 342120be0956bfc12822d1ffbfbd8aaabf3e922f)