summaryrefslogtreecommitdiff
path: root/src/common.h
AgeCommit message (Collapse)Author
2009-02-26Intel video driver patchShaohua Li
This is the intel video driver patch for a new chip, which is G33-like and has some clocking setting related register changes. This patch adds the pci id and DPLx/FPx register changes. The gtt tool should just work to me, as the chip hasn't any changes against G33 on this side. Signed-off-by: Shaohua Li <shaohua.li@intel.com> Signed-off-by: Eric Anholt <eric@anholt.net>
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-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.
2008-11-27Merge branch '965-xvmc'Zou Nan hai
Conflicts: src/common.h src/i830_hwmc.c src/i830_video.c
2008-11-06Make IS_GM45 into IS_G4X defineZhenyu Wang
Those are identical that using one define is much clear. And it can also apply fixes for GM45 too, which is missing with origin define.
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-28 [965-xvmc] 965q indirect media data workaroundZou Nan hai
2008-09-11Add support for G41 chipsetZhenyu Wang
G41 is another 4 series chipset like G45/43.
2008-08-08Initial port of kernel modesetting from old intel-kernelmode branchJesse Barnes
Thanks airlied!
2008-07-31Don't program dsparb on new Intel chipZhenyu Wang
On new chip, DSPARB is controlled by hardware only.
2008-07-03Fix official name for GM45 chipsetZhenyu Wang
2008-06-28xvmc: Don't copy on xvmc surface in PutImageZhenyu Wang
As xvmc rendering result has already been in fb, we shouldn't do extra copy on it. Although special care is required for i915 xvmc surface pitch alignment, which must be at least 1KB aligned. So video display function should take it into acount instead of always setting Y pitch to be double of U/V pitch.
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-17Add support for Intel 4 series chipsets.Zhenyu Wang
2008-03-12Separate i810 and i830 ring macros out into separate files.Eric Anholt
I want to hack on i830 for changing it into a compat path for batchbuffer without having to worry about the i810 stuff getting broken.
2008-03-11Remove i830+ driver's use of CARD*/INT* types for great justice.Eric Anholt
Several uses are actually left, which are determined by the X Server interfaces we're implementing.
2008-03-07Enable hardware overlay on 965Jesse Barnes
Based on Maxim Levitsky's patch for the same. Many thanks to Maxim for discovering that this features still works in recent hardware!
2008-01-30Wrap up chipsets which needs graphics address for status pageZhenyu Wang
Also add support on new chipset.
2008-01-22Add missing i830M and 845G pci ids infoZhenyu Wang
2008-01-09Add new integrated graphics chipset idsZhenyu Wang
2008-01-07Change origin i965G_1 to chipset market name G35.Zhenyu Wang
2007-08-28Fix build against pre-pci-rework xserver.Michel Dänzer
2007-08-26Change IS_Ixxx tests to work with or without libpciaccess.Keith Packard
libpciaccess has a new structure that holds the PCI identifier data; borrow macros from the mga driver to work with either the old xf86-specific structure or the new libpciaccess structure.
2007-07-20Fix device id info for 945GME, 965GMEZhenyu Wang
which do have new host bridge ids
2007-06-06Enable overlay on G33 class chipsetsWang Zhenyu
Which have to use gfx vm offset fot setup overlay regs.
2007-06-05Add support for the G33, Q33, and Q35 chipsets.Wang Zhenyu
These chipsets require that the hardware status page be referenced by an offset in the GTT rather than a physical memory address, so the X Server allocates it rather than the DRM.
2007-05-31Add pci ids for 945GMEWang Zhenyu
2007-05-31Add pci ids for 965GME/GLE chipWang Zhenyu
2007-04-30Allow physical-memory allocations within stolen memory.Eric Anholt
Because stolen memory happens to be a contiguous block of high system memory, we can just read the GTT entries for it to get physical addresses for our allocations there if needed. This reduces fragmentation of the aperture space, and will often reclaim up to 7 MB of memory that had been left unused since the simplified aperture manager was put in place, but without reintroducing the complexities of the old aperture manager.
2007-03-20Merge branch 'master' of ↵Wang Zhenyu
git://proxy.ims.intel.com:9419/git/xorg/driver/xf86-video-intel into crestline Conflicts: src/i830_display.c Change LVDS output and postread like upstream. This might need to be retested on 965GM LVDS.
2007-03-13Use a POSTING_READ(reg) macro instead of using the (void)INREG(reg) pattern.Eric Anholt
2007-03-06Remove usage of 'shadow' module. Use xf86CrtcScreenInit.Keith Packard
With the new mode setting code, rotation is handled outside of the driver, so the old usage of the 'shadow' module is no longer needed. Code to initialize the crtc structures has been moved out of the driver and into the modes code.
2007-03-03Merge branch 'modesetting' into crestlineKeith Packard
2007-03-02Add a WIP UploadToScreen implementation. This almost displays right.Eric Anholt
2007-02-28Add a non-installed command line tool using libpciaccess to dump registers.Eric Anholt
This reuses the i830_debug.c code, so we can run that from the console or from the BIOS-based X server to debug some remaining issues.
2007-02-02Add Intel 965GM chipset supportWang Zhenyu
2007-02-02Revert original crestline pci id patchWang Zhenyu
2007-02-02Merge branch 'modesetting' into crestlineWang Zhenyu
Conflicts: src/i830_display.c src/i830_tv.c src/i830_xf86Crtc.c
2007-01-31Move the render code to non-EXA-specific filenames.Eric Anholt
2007-01-25Merge branch 'modesetting' of ↵Nian Wu
git://proxy01.pd.intel.com:9419/git/xorg/driver/xf86-video-intel into crestline
2007-01-11Don't limit cachelines to a vertical of 2048, and increase default allocation.Eric Anholt
The cachelines are used for two things: XAA pixmap cache and XV memory. Only XAA pixmap cache is referred to using an offset pointing at the beginning of the front buffer in rendering, and XAA only uses the 2d BLT engine, which actually has a vertical limit of 65536. So, pixmap cache is now limited to that much vertical. Additionally, the previous cachelines allocation was too small for our advertised XV limits, so video at the limits would fail with BadAlloc. Now, XAA allocates the same approximate amount of offscreen memory as EXA: 3 times the screen size, plus one packed HD video.
2007-01-08Merge branch 'modesetting' into crestlineKeith Packard
2007-01-06Numerous symbol scope issues.Keith Packard
I830EntityIndex is shared between 810 and newer driver. Move most EXA rendering state into I830 structure. Declare shared variables in shared header files rather than .c.
2006-12-17Merge branch 'modesetting' into crestlineKeith Packard
2006-12-12Move PrintErrorState and CheckInheritedErrors code to i830_debug.c.Eric Anholt
2006-11-17Merge branch 'modesetting' into crestlineEric Anholt
This works for analog, but SDVO output appears to not work yet. Conflicts: src/i830_driver.c
2006-09-27Merge branch 'master' into modesettingEric Anholt
This reverts most of the mergedfb code. This will instead be done in device- independent RandR code. Conflicts: src/Makefile.am src/i810_driver.c src/i810_reg.h src/i830.h src/i830_cursor.c src/i830_driver.c src/i830_modes.c src/i830_video.c
2006-09-22Remove BIOS from non-BIOS related names.Keith Packard
Lots of names included BIOS for no apparent reason; as we try to eliminate BIOS calls from the driver, these only serve to confuse us. (cherry picked from 8e5d280d94ad3d3ba3c75871c17abec9da62ed34 commit)
2006-08-22pci id update for CrestlineWang Zhenyu
The "Crestline" banner should be replaced with official name later.