summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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
2007-08-08check early if we have slot left for new context or surfaceZhenyu Wang
2007-08-08I missed to remove port attributes wrapperZhenyu Wang
2007-08-08explicit say "unsigned int"Zhenyu Wang
2007-08-08remove xvmc attributesZhenyu Wang
We don't have extra attributes than Xv port.
2007-08-07Merge branch 'origin'Eric Anholt
Conflicts: src/i830_exa.c
2007-08-07Fix EXA rendering with tiled front buffer on pre-965.Eric Anholt
The 915 and earlier appear to respect the fence registers, while only the 965 requires the per-operation tiling setting and pitch shifting. This will also fix issues with rendering on the 965 involving multiple cliprects, where the pitch would get divided repeatedly. This removes the offset < 4096 fallback, which essentially resulted in no acceleration to tiled buffers, hiding the issues.
2007-08-07Fixup pitch in Prepare* functions, since actual hooks mayJesse Barnes
be called many times for the same pixmap, and we don't want to keep dividing the pitch by 4.
2007-08-07code cleanupsZhenyu Wang
and put wrap function in driver xvmc priv instead of per xv port priv
2007-08-07Define INTEL_VERSION_MAJOR/MINOR/PATCH using PACKAGE_VERSION_*Brice Goglin
2007-08-06Remove 4k offset checks from Copy & Solid hooks.Jesse Barnes
Reading the docs too literally can cause you to hide bugs with false fixes...
2007-08-06Fix accumulated whitespace nits in i830_exa.cEric Anholt
2007-08-06More tiled rendering fixes: - check for tiling, not just offset in ↵Jesse Barnes
PrepareSolid - combine pI830->tiling and frontbuffer checks into new exaPixmapTiled function for readability
2007-08-06Add the file mode for bios_dumper output so it doesn't have 000 permissions.Eric Anholt
2007-08-06Quirk away the nonexistent TV connector on the Panasonic CF-Y4.Eric Anholt
2007-08-03Limit Solid & Copy offsets to 4k when rendering to tiled targetsJesse Barnes
2007-08-03Merge branch 'master' of ↵Jesse Barnes
ssh://git.freedesktop.org/git/xorg/driver/xf86-video-intel
2007-08-03Tiled rendering & fbc fixes:Jesse Barnes
- actually enable tiling in DSP(A|B)CNTR if needed - add logic to EXA routines for tiled case (still needs work) - enable/disable fbc on DPMS events (meant moving functions higher in file) - fix fence register pitch programming (use correct pitch instead of kludged value)
2007-08-02Mark DRI buffers as shareable, and pass their buffer handles through the SAREA.Eric Anholt
2007-07-31Legacy backlight changes:Jesse Barnes
- add support for 965GM - make sure legacy enabled systems don't reduce the range of backlight values we can present to the user
2007-07-28Update Lenovo TV quirk infoZhenyu Wang
2007-07-27Pin some buffer objects at creation time, which can't be moved yet.Eric Anholt
A number of other interfaces of ours don't allow buffer offsets to be updated after screeninit. This attempts to catalog why for each one, so that they can be fixed one by one. This happens to restore the EXA offscreen allocator for now, as a fixed-offset object.
2007-07-27Delay the first screen pixmap update to CreateScreenResources.Eric Anholt
The return value of GetScreenPixmap before CreateScreenResources is not, in fact, a pixmap.
2007-07-27Use the dontMapFramebuffer option available with DRIINFO 5.4.Eric Anholt
If not available, AIGLX init will fail. While here, simplify DRIINFO tests since we refuse to init with a version queried less than the version we compiled against, anyway.
2007-07-27Add another Lenovo TV output quirkWang Zhenyu
From issue report http://lists.freedesktop.org/archives/xorg/2007-July/026644.html
2007-07-27Add quirk supportWang Zhenyu
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-26Use new drmBOSetPin interface instead of NO_EVICT/NO_MOVE buffers.Eric Anholt
To do this, we have to deal with buffer offsets being set at EnterVT time instead of screen init time. We've wanted to move this direction for a long time, but there are repercussions. The EXA offscreen memory manager has to be disabled, because it can't be moved. That will be replaced by BO-backed pixmaps soon. Also unresolved is whether our moving front/back/depth/texture buffers will break the classic-mode DRI driver. This code doesn't actually work yet.
2007-07-25When TTM is available, use it instead of manual AGP allocations when possible.Eric Anholt
This is a step towards being able to expose buffer objects through the screen private to DRI clients, instead of having them have to use the fake buffer object type. This fails in two ways. First, the kernel memory manager is not currently suitable for doing the physical allocations we need, so we still use AGP for those. Additionally, the DRI lock can't be initialized early enough for us, so these buffer object allocations fail. This will be fixed by improving the DRM interface.
2007-07-23only enable xvmc for 915/945/G33Xiang, Haihao
2007-07-23Fix a typo in i915 renderZhenyu Wang
Fence setting is in mapstate actually. This fixes rotation in tiled fb case, thanks Keith to report this.
2007-07-20don't initialize XvMC if xv is disabled.Xiang, Haihao
2007-07-20Fix device id info for 945GME, 965GMEZhenyu Wang
which do have new host bridge ids
2007-07-20lock display when creating contextXiang, Haihao
2007-07-19move i830_allocate_xvmc_buffer out of #if/#endifXiang, Haihao
2007-07-19add copyrightXiang, Haihao
2007-07-19block some signals within critical section to avoidXiang, Haihao
dead lock.
2007-07-191. The pitches for y/u/v surfaces are 1024bytes aligned.Xiang, Haihao
2. clean code
2007-07-191. clean coderoot
2. fix an error in map_state
2007-07-19a fix for 945G/945GMroot
2007-07-191. using batch bufferroot
2. implement macroblock_ipicture instruction 3. 16bit INTRA block
2007-07-19fix a bug related to display surfaceXiang, Haihao
2007-07-19fix some bugsXiang, Haihao
2007-07-19Release resource allocated for surface/subpictureXiang, Haihao
2007-07-19fix some bugsXiang, Haihao