summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
AgeCommit message (Collapse)Author
2008-08-19Merge branch 'master' into modesetting-gemJesse Barnes
Conflicts: src/i830_driver.c
2008-08-19Bail out if kernel mode setting is active but DRI failsJesse Barnes
2008-08-15Make skip_panel_detect clear for its meaningZhenyu Wang
2008-08-14Fixup AccelMethod kernel mode setting codeJesse Barnes
Allow UXA or EXA in the kernel mode setting case, defaulting to EXA.
2008-08-12Don't run old accel init codeJesse Barnes
Had the wrong logic. Throw in a couple of cleanups while we're there.
2008-08-11Disable display clock gating for 4 series chipsZhenyu Wang
2008-08-08Make it actually build the kernel stuff if possibleJesse Barnes
Fixup the kernel stuff to have a slightly better chance of working. Still need to fixup the EXA pixmap functions.
2008-08-08Initial port of kernel modesetting from old intel-kernelmode branchJesse Barnes
Thanks airlied!
2008-08-06Merge branch 'drm-gem'Jesse Barnes
2008-08-05Use EXA by default instead of UXA until we have GTT mappingKeith Packard
2008-08-05Rename uxa using _ instead of capsKeith Packard
2008-08-05Add throttlingKeith Packard
2008-08-05Use dri_bo for all object allocations, including pixmaps under uxaKeith Packard
2008-08-05Add UXA - the unified memory acceleration architecture.Keith Packard
This eliminates the cost of EXA migration management while providing full pixmap allocation control to the driver. The goal is to make something useful for UMA drivers.
2008-08-05Reorganize VBIOS codeJesse Barnes
Make VBT parsing happen at driver init time rather than in each output init function, to save time and better separate VBIOS code into i830_bios.[ch]. The changes end up touching the output files due to field name changes, and allow us to reorder & simplify our LFP mode detection code.
2008-08-05Merge branch 'drm-gem' of ↵Jesse Barnes
ssh://git.freedesktop.org/git/xorg/driver/xf86-video-intel into drm-gem
2008-08-05Merge branch 'master' into drm-gemJesse Barnes
Conflicts: src/i830_driver.c
2008-07-31Call DRM_I915_GEM_THROTTLE from I830BlockHandlerCarl Worth
This prevents the CPU from ridiculously outrunning the GPU.
2008-07-31Add call to intel_bufmgr_gem_enable_reuseCarl Worth
This instructs GEM to reuse buffer objects and improves the performance of my favorite 'x11perf -aa10text' from about 169k to about 188k glyphs/sec.
2008-07-31Don't program dsparb on new Intel chipZhenyu Wang
On new chip, DSPARB is controlled by hardware only.
2008-07-22Bug #16801: fix X crash when NoAccel on 965Zhenyu Wang
2008-07-22only check pipe underrun if vtSema is true.Zhenyu Wang
2008-07-22Check underrun on enabled pipeZhenyu Wang
2008-07-21Don't set up the HWS page in GEM mode now that the kernel manages it.Eric Anholt
2008-07-18Merge commit 'origin/master' into drm-gemKeith Packard
2008-07-18Choose a split for DSPARB based on the configured modes for both planes.Jesse Barnes
Previously, we were attempting to give both planes equal space in the FIFO to be fair. However, larger modes require more fifo space, so split it based on the relative HDisplay of the modes. This should resolve some fifo underrun issues with differently-sized displays, or single large ones. Bug #16169.
2008-07-17Merge branch 'master' into drm-gemCarl Worth
Conflicts: configure.ac src/reg_dumper/Makefile.am
2008-07-16Only initialize integrated TV encoder for mobile chipsZhenyu Wang
2008-07-14Fix DSPARB setting on 845/865, which have only the AEND field and 96 entries.Eric Anholt
2008-07-03Fix official name for GM45 chipsetZhenyu Wang
2008-06-28Fix SDVOC typoZhenyu Wang
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-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-19Initial HDMI work. Not currently hooked up at startup.Eric Anholt
2008-06-17Add support for Intel 4 series chipsets.Zhenyu Wang
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-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-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-06Fix compile error in LeaveVTTomas Carnecky
2008-06-05Merge branch 'master' into drm-gemEric 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