summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-10-17AOpen 965GM mini pc has no LVDSRob
2007-10-16toshiba satellite u300 has no tv outKyle McMartin
2007-10-16Adapt to libdrm buffer object API changes.Michel Dänzer
2007-10-15In update_front_offset(), set pScrn->fbOffset even at EnterVT during init.Eric Anholt
Failure to do so led to the memset() at EnterVT being done to an invalid offset.
2007-10-15Merge branch 'xvmc' of ↵Zhenyu Wang
git+ssh://zhen@people.freedesktop.org/~zhen/xf86-video-intel into xvmc
2007-10-13Fix palette save/restoreJesse Barnes
When restoring the palette, we weren't checking to make sure the associated pipe was enabled before writing the registers. In some configurations, this led to a driver crash. Add new routines to handle palette save/restore and verify that the pipes are on before we touch the registers (could easily be changed to enable/disable the pipes around the save/restore as well).
2007-10-12Fix failure in tiling setup on non-power-of-two allocations on pre-965.Eric Anholt
2007-10-12Use mprotect on unbound AGP memory to attempt to catch use while unbound.Eric Anholt
This doesn't help with the most common use-while-unbound cases, which are from the hardware side.
2007-10-11Don't double-free the memory manager allocation.Eric Anholt
2007-10-11Update memory manager sizing for the current set of LIFETIME_FIXED bufffers.Eric Anholt
2007-10-11Move tiling fence register setup to bind time instead of allocate time.Eric Anholt
This allows us to allocate tiled buffers in buffer objects. In the process I removed the fence division that we had for tiled buffers on pre-965. If we resurrect that code, it should probably be managed by just dividing all the objects in roughly half and fencing those halves (to reduce the alignment requirement), instead of using giant fences until we run out of space and then trying to deal with scarce space on the last (or not) buffer. Halving our tiled objects would use 6/8 of our fence registers on that hardware.
2007-10-11Allow front/back/depth to move over the lifetime of the server.Eric Anholt
2007-10-11Delay SAREA and mapping setup until EnterVT when using the memory manager.Eric Anholt
Otherwise, we would use uninitialized offsets in the early setup.
2007-10-11Rework DRI buffer mappings and sarea setup to allow for moving buffers.Eric Anholt
While this has been a desired feature for some time, to allow for reallocation of the front buffer, it was made more necessary by the desire to avoid requiring a NO_MOVE buffer type in TTM because buffer objects may not be left pinned over VT switch. This is a step towards making those buffers movable and resizable.
2007-10-11Move drmMMLock to after we have unbound our (pinned) buffers.Eric Anholt
There are still issues due to the fact that we're allocating NEED_LIFETIME_FIXED memory as buffer objects, which we refuse to unpin because we have no way of pinning it back in the same location.
2007-10-11Refuse to allocate LIFETIME_FIXED objects in buffer objects.Eric Anholt
We can't guarantee the offset will stay the same using the current DRM interface, but the correct solution is fixing our code to allow these objects to move. Breaks TTM mode of the DRI driver for now.
2007-10-11In i830_allocate_memory_bo, bind if we control the VT, not on lifetime-fixed.Eric Anholt
2007-10-11Fix potential use-after-free in XV overlay code on video stop.Eric Anholt
2007-10-11Revert "Fix G33 GTT stolen mem range"Zhenyu Wang
This reverts commit 2a8592f2ebcba86b1127aa889155d58a3dc186ca. This causes compat issue between ddx and kernel apggart version. Revert it as it shouldn't hurt normal people's default GTT size, but if you change it to 1MB in bios, it's supposed to be broken now.
2007-10-10EXA: fix tiled dest rendering on i8XX chipsZhenyu Wang
2007-10-08Include xf86mm.h if using XF86DRI_MMKeith Packard
This header file doesn't appear to be getting automatically included for some reason.
2007-10-08Quirk for Samsung Q35 which has no TV output.Keith Packard
2007-10-08use field name to initialize i915 xvmc driverZhenyu Wang
2007-10-08Merge branch 'master' into xvmcZhenyu Wang
Conflicts: src/i830_driver.c
2007-10-08move some definition out of i915 specific headerZhenyu Wang
2007-10-08Temp work around ttm allocation for xvmc, which should be fixed later.Zhenyu Wang
2007-10-05Replace setting of LIFETIME_FIXED on cursors with just updating the offsets.Eric Anholt
2007-10-05Don't set overlay registers LIFETIME_FIXED. It always uses the current offset.Eric Anholt
2007-10-05Revert setting of exa_965_state as LIFETIME_FIXED.Eric Anholt
The current offset is used every time in render setup.
2007-10-05Don't leak buffer object allocations in i830_reset_allocations().Eric Anholt
2007-10-05Warning cleanup.Eric Anholt
2007-10-05Fix formatting of error message.Eric Anholt
2007-10-01Bring the CH7017 driver closer to spec.Eric Anholt
This is also closer to what my hardware is programmed with, except for some very confusing off-by-one bugs in an unexpected direction.
2007-10-01Fix probing of the sample CH7017 device I found by allowing GPIO overrides.Eric Anholt
It may be that the LVDS chips need to be DVOA and GPIOB only on mobility devices with them, and DVOC/GPIOE on non-mobility like this 845. But until more examples are found, just make this one device probe.
2007-10-01Restore building of pciaccess-based tools even if the server doesn't use it.Eric Anholt
2007-10-01Remove more DVO probing noise.Eric Anholt
2007-10-01Suppress I2C failure error messages during DVO device detection.Eric Anholt
Otherwise, errors would be printed for every chip probed which wasn't present on the system.
2007-10-01Enable CH7017/7018 DVO driver by default.Eric Anholt
On hardware containing one of these chips (generally single pipe with an LVDS connected), it's probably better to try to enable it and fail in some cases than to not probe the output at all.
2007-10-01Disable TV/VGA output on the CH7017/7018 devices.Eric Anholt
We don't support those outputs on this chip yet, so turn them off if the BIOS had set them on.
2007-09-29Ignore detection of TV output on Panasonic CF-Y7Regis Prevot
2007-09-29rename xvmc init function namesZhenyu Wang
2007-09-28Go back to using old drm_i915_flip_t field nameJesse Barnes
This field shouldn't have been renamed in the first place. Go back to using the old name so that the tree is backward and forward compatible again.
2007-09-28Dell XPS 1330 has no TV outKyle McMartin
2007-09-27Pin cursor, overlay(no physical) and exa state buffersZhenyu Wang
And cursor mem counting for dri mem manager is not relate to overlay.
2007-09-26clean up old i915 xvmc function declareZhenyu Wang
2007-09-26Revert to origin xvmc setup stepsZhenyu Wang
We have to grab xvadaptor's PutImage earlier than xv init, otherwise no chance to do that..
2007-09-26Fix pixmap offsetHong Liu
Use consistent interface for counting pixmap offset.
2007-09-26Log xvmc driver nameZhenyu Wang
2007-09-26clean up err reportZhenyu Wang
Still need to clean up return value for XvMC API
2007-09-26fix i915 xvmc devPrivate referenceZhenyu Wang