summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-06-28xvmc: enlarge batch buffer sizeZhenyu Wang
2008-06-28xvmc: only allocate memory requiring physical address on 915GZhenyu Wang
Later 945-ish chipset can use graphics address instead.
2008-06-28xvmc: init mc render load indirect command onceZhenyu Wang
2008-06-28xvmc: init dest and reference buffer onceZhenyu Wang
Init them right after context create, and only update buffer address info later.
2008-06-28xvmc: init one-time mc context onceZhenyu Wang
Don't setup one-time mc context everytime, as the content is always unchanged. And several structs got packed layout inside to ease static state initialization.
2008-06-28xvmc: environ debug option supportZhenyu Wang
export INTEL_XVMC_DEBUG=1
2008-06-28xvmc: formalize surface type definitionZhenyu Wang
We should also carefully select surface type id.
2008-06-27Add pipea force enable quirk for HP Pavilion ze4944eaJesse Barnes
Fixes bug #16540, thanks Bryce.
2008-06-27Add pipe a force enable quirk for Lenovo T60Jesse Barnes
Fixes bug #16494.
2008-06-25Fix SDVO HDMI output.Hong Liu
While some cards had enough initialized at startup to work already, others required that the driver actually initialize the required AVI info frame.
2008-06-24Remove ErrorF debugging from modeset ioctlJesse Barnes
Oops.
2008-06-24Fix back buffer damage handler for 965+ chipsJesse Barnes
When page flipping is enabled, we need to make sure any changes to the front buffer are reflected in the back buffer(s) or corruption might occur at page flip time. So make the damage handler work on 965 by adding appropriate tiling flags and pitch adjustments.
2008-06-24Add support for keeping vblank counters sane across mode settingJesse Barnes
The DRM supports disabling of vblank interrupts when not in use, but in order to function properly it must also be aware of mode setting, which will reset the frame counter to 0. Add code to call into the DRM before and after mode setting, so that it can account for any lost vblank events.
2008-06-24 965 xvmc, current only frame based DCT_type supportZou Nan hai
2008-06-20Flush pending batch in block handlerKeith Packard
Make sure any pending rendering commands are delivered to the hardware before the server goes to sleep.
2008-06-20Remove some unreliable regs for i915Keith Packard
2008-06-19Fix a crash in i830_sdvo_init error paths by setting up dev_priv earlier.Eric Anholt
2008-06-19Automatically detect the presence of HDMI.Eric Anholt
Now, SDVO is only probed if the SDVO detected bit is set. If the SDVO probe fails, but the detect bit is set, assume that it's an HDMI output.
2008-06-19Fix hdmi POSTING_READ to use the register number instead of the register value.Eric Anholt
We won't dwell too long on how this ever worked.
2008-06-19Get HDMI output working.Eric Anholt
HDMI, despite claiming to have pixel multiply support, actually doesn't want it, at least in the way that SDVO did. Disable it. Also disable the NULL_PACKETS_DURING_VSYNC bit. Despite the docs telling us to set it, the output doesn't like it when you do that, and the BIOS doesn't set it. Also add a posting read to SDVOx setting. Without it, half the X starts wouldn't get anything on the screen. (interestingly, it was every other startup, not just a chance).
2008-06-19Set the sync active bits like we're supposed to, matching the BIOS.Eric Anholt
2008-06-19Add pixel multiplier support for HDMIEric Anholt
2008-06-19The phase shift its are now reserved, and add HDMI clock limits.Eric Anholt
2008-06-19Initial HDMI work. Not currently hooked up at startup.Eric Anholt
2008-06-19Add DisplayPort registers.Eric Anholt
2008-06-19Remove VGA regs from debug output.Eric Anholt
2008-06-19Add little hotplug detector app.Eric Anholt
2008-06-19Add backlight kernel method support on Asus and EeepcZhenyu Wang
Noted and tested by Evgeniy Manachkin <sfstudio@mail.ru> for asus-laptop support, also add eeepc support.
2008-06-17Add support for Intel 4 series chipsets.Zhenyu Wang
2008-06-17Fix compiling with server master in LVDS backlight patchZhenyu Wang
2008-06-16Fix compiler warning when disable xvmc configZhenyu Wang
(cherry picked from commit df0bbdc7cbb6ff357a81ed28d12e56c9c7d643f7)
2008-06-16Fix typo in xvmc block destroyShuang He
(cherry picked from commit 87ace420a34df7425641d089f71830e44fced098)
2008-06-16Fix maximum backlight issueLukas Hejtmanek
2008-06-13[gem] Catch -EINTR from blocking GEM ioctl and restart.Eric Anholt
2008-06-13[gem] remove one more unused bitDave Airlie
2008-06-12Require libdrm 2.4.0 always since we need the bufmgr code.Eric Anholt
This lets us remove a lot of conditional compile stuff in the DRI case, as if we're doing DRI and have 2.4.0, we can rely on GEM ioctls existing.
2008-06-11[gem] Chase move of create ioctl from generic to device-specific.Eric Anholt
2008-06-10[gem] Don't set up the ring in GEM mode, as that'll be handled by the kernel.Eric Anholt
2008-06-10Use bufmgr_gem when available instead of the fake bufmgr.Eric Anholt
This is a bit unstable still sometimes.
2008-06-10Change most usage of pixmap offsets to using a reloc macro.Eric Anholt
This is based on airlied's RING->BATCH commit. The 965 code still needs to be fixed up for relocations.
2008-06-10Use the DRM for submitting batchbuffers when available.Eric Anholt
There are some concerns with this, as the DRM will be setting the nonsecure flag on the batchbuffer, and the server may be submitting some secure-only commands. It appears to work on the 915GM test system currently.
2008-06-10Avoid needless flush emits in the blockhandler.Eric Anholt
The EmitFlush in i830_dri.c was added as a pageflipping workaround, and was noted to not even be sufficient then. There's no reason for it to be there, so it's removed. After that, we just have to not emit an MI_FLUSH if we already had, and cursor movement no longer bashes memory manager.
2008-06-10Use batchbuffers instead of ring emits for general commands.Eric Anholt
The batchbuffers are managed using libdrm and bufmgr_fake, and dispatched from the ring from userland.
2008-06-10Merge branch 'master' into drm-gemEric Anholt
2008-06-10Set up/restore PWRCTXA from enter/leavevt not server start/exit.Eric Anholt
This should improve behavior in the presence of VT switching, but also avoids a crash on X exit from writing the register after unmapping mmio.
2008-06-10Two more Dell quirksBryce Harrington
fd.o #16160
2008-06-09Add a little program to dump out the first 64 dwords of the status page.Eric Anholt
2008-06-09Fix TV programming: add vblank wait after TV_CTL writesJesse Barnes
Fxies FDO bug #14000; we need to wait for vblank after writing TV_CTL or followi ng "DPMS on" calls may not actually enable the output.
2008-06-05Fix TV out connection type detectionRobert Lowery
Make sure we wait for vblank when using the TV DAC to detect the connection type. Fixes FDO bug #14000.
2008-06-06Fix compile error in LeaveVTTomas Carnecky