summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2008-06-05Merge branch 'master' into drm-gemEric Anholt
2008-06-05Move debug clock printout from ErrorF to X_INFO.Eric Anholt
2008-06-05Remove SVG_WORK_CONTROL init.Eric Anholt
The bit set is now reserved -- used to be a workaround for early revisions.
2008-06-05Initialize clock gating from EnterVT and save/restore it appropriately.Eric Anholt
2008-06-05Move BIOS scratch register setup to EnterVT instead of PreInit.Eric Anholt
We want these to always be set when our driver's in control. They are already appropriately save/restored at leave/entervt.
2008-06-05Remove gratuitous wait_ring_idle after I830Sync. Syncing implies that.Eric Anholt
2008-06-05Move the remaining two lines of SetHWOperatingState to the caller.Eric Anholt
2008-06-05Remove duplicated i830_stop_ring()/SetHWOperatingState() in EnterVT().Eric Anholt
2008-06-05Move DSPARB setup into a separate function, and save/restore it at VT switch.Eric Anholt
2008-06-05Replace a couple of wait-for-ring-idles with a single function to do so.Eric Anholt
2008-06-05Just remove the mprotect kludge.Eric Anholt
Besides not being #ifdef __linux__ed as requested, some linux kernels break in exciting new ways when you try to mprotect from PROT_NONE back to PROT_READ|PROT_WRITE. Yes, there are bugs in the code we're calling in a bug-exploiting bug workaround. If you want this workaround for the original bug exposed when moving to libpciaccess, it's already in libpciaccess.
2008-06-04Set SDVO sync polarity to default on 965Hong Liu
Fix fd.o bug 15766