summaryrefslogtreecommitdiff
path: root/src/i830.h
AgeCommit message (Collapse)Author
2009-06-07Improved field timing debug support.Thomas Hilber
Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-01New options for xorg.conf and start with disconnected monitor.Thomas Hilber
- introduced new xorg.conf options for both intel and radeon FRC patches - FRC (aka sync_fields) switch (default on) - process priority (default 0) - FRC debug output (default off) - intel Xserver now starts even with disconnected monitor Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-01Add frame rate control.Thomas Hilber
- Full functionality of Radeon based original patch now ported to recent Intel graphics hardware. This includes support for i945G chipsets as found on EEE PCs and D945GCLF[2] boards. - Exploits some special features of i945G chipsets like vertical phase registers and fine tuning of vertical scaling. This enables us to compensate for interference effects observed when driving modern digital displays through a SCART interface. Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-03-06clean up arguments to i830_allocate_framebuffer since zaphod removal.Eric Anholt
Signed-off-by: Eric Anholt <eric@anholt.net>
2009-03-06Remove configured SW cursor support.Eric Anholt
Any time we actually need SW cursors, it gets enabled automatically.
2009-03-06Remove StolenOnly support.Eric Anholt
We rely on having AGPGART present to successfully allocate video memory as we configure it by default. Admit that fact, and remove support for non-AGPGART/KMS setups.
2009-03-06intel: Nuke shared-entity support (zaphod mode).Eric Anholt
It's been broken for years now, and KMS offers a much better chance of getting this working sensibly without making a mess of the 2D driver.
2009-02-27Only allocate pixmaps aligned for tiling when requested by DRI2 GetBuffers.Eric Anholt
This saves massive quantities of memory on pre-965 since the DRI2 tiling enable caused the minimum size of any pixmap to be 1MB.
2009-02-26Fix UXA for server 1.4.Eric Anholt
2009-02-26Fix up i915 composite and common solid/copy code to use check_aperture.Eric Anholt
This could fix complaints about binding BOs and resulting failure to render.
2009-02-25Use LVDS config in Driver feature BDB for integrated LVDS checkZhenyu Wang
The LVDS config bits in VBT driver feature block is used by vendor to identify the board implement of integrated LVDS/eDP or SDVO LVDS. And video bios uses these bits for LVDS enabling or not. So check these bits for integrated LVDS might eliminate more quirks.
2009-02-13SDVO: remove ForceSDVODetect optionZhenyu Wang
Which is just a hack to hide our SDVO detect drawback, we will have SDVO/HDMI detect fix later.
2009-02-02Un-revert the I915_SETPARAM_NUM_USED_FENCES commit reverted by accident.Kristian Høgsberg
Oops, my bad. Reverted 8d4bc36fae50b09a73ba2cfab920adb32141a358 since my kernel doesn't yet have the new param, committed the revert by accident.
2009-02-02Fix last-minute "cleanup" that broke the patch.Kristian Høgsberg
2009-02-01Implement front buffer resize for KMS.Kristian Høgsberg
This adds back the resize hook so we can resize the front buffer under kernel mode setting as well. The patch also pulls the drmmode_* structs from drmmode_display.h into drmmode_display.c and eliminates the header file.
2009-01-27Support tiled back/depth on 915-class hardware with DRI2.Jesse Barnes
Set alignments, tile settings and flags correctly in the 2D driver to support tiled rendering. UXA's create pixmap function currently assumes the worst about the alignment constraints; that should probably be fixed. Some of the 1M alignment fixes could probably be done more cleanly as well.
2009-01-21Move i965 render sampler state to BOs.Eric Anholt
This eliminates the pinned memory allocation for 965 render state.
2009-01-21Move 965 render unit state to BOs.Eric Anholt
This is a first step in a series of changes to avoid requiring a pinned object, which gets in the way of doing non-root KMS. This change appears to result in about a 2-6% loss in x11perf -aa10text, which better algorithms in libdrm could make up for (it hasn't really had to deal with code this bad before).
2009-01-21Fix build with server 1.4.Eric Anholt
Debian "unstable" is still stuck with this ancient version.
2009-01-20Use intel_emit_reloc from video to prettify 965 render bind_bo setup.Eric Anholt
2009-01-20Remove the pageflipping infrastructure.Owain G. Ainsworth
It was broken on current kernels, and deprecated anyway.
2009-01-20Remove triple-buffering supportOwain G. Ainsworth
It never worked with any upstream linux kernel, and is quite heavily deprecated. A new solution based around DRI2 will probably be forthcoming. Pageflipping itself is next.
2009-01-16Re-emit i915 composite setup when the batchbuffer wraps.Eric Anholt
This also introduces tests to make sure that we asked for enough reserved space and that we don't allow wrapping at the wrong time. This fixes a hang during text rendering with DRI2 and a GL client running, but could potentially affect text rendering with GEM in general with an exceptional batchbuffer setup.
2009-01-06Resize framebuffer on screen size change (requires UXA and DRI2)Keith Packard
Signed-off-by: Keith Packard <keithp@keithp.com>
2009-01-06Make i830_allocate_memory take tiling parameters.Keith Packard
This eliminates the separate i830_allocate_memory_tiled function which means that all memory objects will have tiling parameters set correctly. Signed-off-by: Keith Packard <keithp@keithp.com>
2008-12-29Remove logical context setup.Eric Anholt
This should be a noop. If it wasn't a noop, it means that on pre-g33 chipsets we were spamming some data into a page of system memory because we used a virtual instead of a physical address. It was also supposed to not work when we submit it from a batchbuffer, as we have been doing for some time now. This code has existed since about the beginning of the driver's existence, with no justification.
2008-12-29Remove old mergedfb includes and defines, which bother spatch.Eric Anholt
2008-12-29Bug #19239: Add a quirk for broken ACPI lid stateZhenyu Wang
For broken hardware/bios with incorrect ACPI LID state, there's machine that can not be fixed in ACPI way, customed DSDT that reprogram _LID method to read EC state. Although this is ACPI issue, this quirk can be used to work around that.
2008-12-11bug #17395: Quirk CRT for Sony VGC-LT71DBZhenyu Wang
2008-12-08i965: Add batch_flush_notify hook to create new vertex-buffer boCarl Worth
This avoids mapping a buffer object which is being referenced by a batch that has already been flushed, (which is a terribly expensive operation). On my machine this brings the performance of x11perf -aa10text from 85k back to 150k, (where it was before a recent kernel upgrade). Also, before this patch, when I used my X server actively performance would drop as low as 15k---hopefully that bug is gone with this change.
2008-12-04Move remaining i965 video programs to BOs.Eric Anholt
2008-12-04Move i965 video wm and sampler state to BOs.Eric Anholt
2008-12-04Move i965 video vs/sf state to BOs.Eric Anholt
2008-12-04Move i965 video cc state to BOs.Eric Anholt
2008-11-17Merge commit 'origin/master' into dri2Kristian Høgsberg
Conflicts: src/i830_dri.c src/i830_driver.c src/i830_memory.c
2008-11-05Make I830FALLBACK debugging a runtime instead of compile-time option.Eric Anholt
2008-11-05Add an option to make the overlay be the first XV adaptor.Maxim Levitsky
2008-11-04Remove the CheckDevices timer.Eric Anholt
This was an early attempt to support display switch hotkey. It never really worked, as the events didn't show up when they should. It also cost a wakeup every second to check just in case, instead of taking an interrupt like we can now using ACPI. Additionally, some machines apparently get stuck with the event set and end up DDCing checking for new devices every second and smashing your video modes.
2008-10-17Handle differently tiled front/back/depth/third in DRI window managementKeith Packard
When moving or clearing the extra buffer contents associated with DRI windows, the XAA code needs to see which buffer is being manipulated in the Setup functions to program the tiling values correctly. Calling I830SelectBuffer and not then calling I830Setup... would result in mis-tiled rendering. Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Eric Anholt <eric@anholt.net>
2008-10-14Update to DRI2 changes.Kristian Høgsberg
Implement DRI2CopyRegion and provide drm device filename to DRI2 module.
2008-10-14Merge commit 'origin/master' into HEADKristian Høgsberg
2008-10-09Disable frame buffer compression by default for GM965.Carl Worth
We haven't found a way to make FBC work reliably with GM965 yet, (it often fails to notice CPU writes). This appears to be a specific problem with this device, (as we haven't gotten similar bug reports for subsequent devices such as GM45). So FBC is now disabled by default for GM965 but can still be enabled with the FrameBufferCompression option for experimenting/debugging. This resolves bug #16257: [GM965 EXA] Frame-buffer compression broken for CPU writes (XPutImage) https://bugs.freedesktop.org/show_bug.cgi?id=16257
2008-10-01Eliminate INT10 call to get BIOS contentsKeith Packard
libpciaccess (and the old X server PCI code as well) provides a function to get the ROM contents. Code to use that was already present in the driver and used if the INT10 function failed. Skip the INT10 and just use libpciaccess as that eliminates several module loads and scary use of vm86. Signed-off-by: Keith Packard <keithp@keithp.com>
2008-09-28Bug #16631: add option for SDVO force detectZhenyu Wang
Some ADD2 card doesn't get SDVO detect status setup right, which disabled outputs on those cards. This adds a new option "ForceSDVODetect" to probe all SDVO ports anyway.
2008-09-10Merge branch 'master' into dri2Eric Anholt
Conflicts: src/i830_batchbuffer.c src/i830_display.c
2008-09-09Track move of bufmgr functions to libdrm_intel.Eric Anholt
2008-08-29Add DRI2 support.Kristian Høgsberg
2008-08-26Fix X exit crash in NoAccelZhenyu Wang
NoAccel should still be needed for performance evaluation, so don't crash me when exit.
2008-08-21Merge branch 'modesetting-gem'Jesse Barnes
2008-08-20Add more panel debugging info to register dump & vbios readerJesse Barnes