summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-01-11Bug #8845: Unify all our XV ports to 1920x1088 maximum size.Eric Anholt
This increases the "legacy" size, but that was checked against the 845 documentation which claims support for 2048x2048 as well. It decreases the textured video size, which was running into the limits of the bigrequests extension. The new limits should fit within bigrequests while still supporting HD videos.
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-11Correct x/y/pitch limitations in several cases, and detail them in i830_exa.c.Eric Anholt
This reduces max framebuffer width and increases max framebuffer height on 965, reduces max X/Y on pre-965 EXA (could have caused mis-rendering), and increases max X/Y on 965 EXA (would have prevented acceleration).
2007-01-11EXA: Wait for sync before we set up new state in our static state buffers.Eric Anholt
2007-01-10Formalize sync interfaceWang Zhenyu
We should just call i830MarkSync/i830WaitSync in places we need, which care for both XAA and EXA.
2007-01-08Correct typo resulting in a crash with ivch. = != ==.Eric Anholt
2007-01-08Move EXA function declarations from source to header.Keith Packard
Several new global functions were not put into the header file leading to potential mismatches between declaration and definition.
2007-01-08Merge branch 'modesetting-origin' into modesettingKeith Packard
2007-01-07minor fix on last exa mem binding commitWang Zhenyu
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.
2007-01-06Merge branch 'modesetting-origin' into modesettingWang Zhenyu
2007-01-06support NTSC 480i M-J, PAL 576i for 640x480-1280x1024 sizesZou Nan hai
I still have problem with non-interlace mode and Hi Res mode. also I don't know how to pickup those mode in xorg.conf
2007-01-06[PATCH] Add rotation support for 965.Wang Zhenyu
2007-01-06[PATCH] Replace broken PCI resource size detection with pciGetBaseSize() call.Eric Anholt
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06[PATCH] Fix EXA mem bindingWang Zhenyu
We should check if EXA is really enabled. Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06[PATCH] fix Makefile.amWang Zhenyu
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06[PATCH] Formats fixesWang Zhenyu
We should use card_fmt for src/mask picture, and use dest color buffer format helper. Also fix wrong name for G965 texture formats, and pict_x1r5g5b5 isn't supported by sampler engine. Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06[PATCH] set correct default border colorWang Zhenyu
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06[PATCH] fix typo in ps kernelWang Zhenyu
fix corrupt in some subspans Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06[PATCH] shut up warningWang Zhenyu
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06[PATCH] fix alpha blending stateWang Zhenyu
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06[PATCH] Add in sf/wm program for mask picture without CAWang Zhenyu
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06[PATCH] misc cleanup for G965 vs/sf/wm statesWang Zhenyu
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06[PATCH] WM kernel needs scratch spaceWang Zhenyu
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06[PATCH] Setup default border color for our samplersWang Zhenyu
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06[PATCH] fix vertex buffer sizeWang Zhenyu
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06[PATCH] clean up issue cmd to ring bufferWang Zhenyu
Make it easy to track different part of ring state, and use rectlist primitive instead. Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06[PATCH] remove wrong scale_unitsWang Zhenyu
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06[PATCH] Rename exa sf/wm program filesWang Zhenyu
Also fix some minors in wm program. Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06[PATCH] EXA state mem for G965Wang Zhenyu
Not split offscreen mem for exa, but alloc a dedicated one for G965 states. Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06More sparse cleanups:Jesse Barnes
NULL vs. 0 make some variables static remove redundant variables There are only a few sparse warnings left now: some bitfield warnings and a few 'mixing code and declarations' warnings from the ring macros.
2007-01-03[PATCH] Mark current ps kernel is experimential with little test.Wang Zhenyu
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-03[PATCH] Use sf_prog.h insteadWang Zhenyu
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-03[PATCH] Fix picture's transform checkingWang Zhenyu
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-03[PATCH] Fallback in mask picture for nowWang Zhenyu
Do it later after finish wm kernel program. Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-03[PATCH] Fix compile, add wm header file.Wang Zhenyu
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-03[PATCH] Add simplest wm kernel program for no mask picture compositeWang Zhenyu
This is a try to use new gen4asm language, and will finish composite program for mask picture with or without CA case later. Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-03[PATCH] Add mask sampler stateWang Zhenyu
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-03[PATCH] change some src sampler statesWang Zhenyu
sampler for mask should also be set up, and fix default border texel. Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-03[PATCH] Add file for i965 exa compositeWang Zhenyu
This does not include ps program, which will be added in g4a form. Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-03Merge branch 'modesetting-origin' into modesettingKeith Packard
2007-01-03Add interlace defines for pipeconf regsKeith Packard
2007-01-03Add per-CRTC gamma control support for RandR.Eric Anholt
This makes the CRTCs now always run in gamma-enabled mode, rather than having flaky logic for switching modes. Also, it should clear up issues with the LUTs being uninitialized when outputs are first brought up.
2007-01-03Merge branch 'modesetting-origin' into modesettingKeith Packard
2007-01-03Allow initial position to be set in config file. Increase 965 max size.Keith Packard
Add relative and absolute position configuration code, using per-output monitor sections. Options include: PreferredMode selects a preferred mode for this output by name Position absolute position, x and y in a single string. Below relative positions; argument names other monitor. RightOf Above LeftOf Enable force the monitor to be disabled by setting Disable enable to no or disable to yes. MinClock Set valid clock ranges MaxClock Monitor sections can also include sync ranges, physical size and mode lines as documented in xorg.conf(5). Monitors are associated with outputs through options in the Device section: Option "monitor-VGA" "My VGA Monitor" Output named 'VGA' will use monitor section "My VGA Monitor".
2007-01-03Sync dspbase/dspsurf registers by re-reading them.Keith Packard
This seems to eliminate base/surf value confusion during EnterVT.
2007-01-02 Various sparse cleanups:Jesse Barnes
NULL vs. 0 remove redundant pScrn in I830DRISwapContext make I830DRISwapContext static
2007-01-02Use correct variable to initialize DVO I2C bus.Dave Airlie
intel_output->pI2CBus isn't initialized until the output is all happy and running, so using it before that is rather unlikely to do much good.
2007-01-02Fix driver to build on RandR 1.2 systems again.Keith Packard
Changes to move initial config code to RandR 1.1/1.2 common path broke code required only for RandR 1.2.
2007-01-02Make driver build and run on Xorg 7.1. Delay DSP*BASE setting until last.Keith Packard
Autodetect libdrm version, disable new memory manager on older libraries. Move new M_T_ defines from i830.h to i830_xf86Crtc.h. Add many system headers to define functions. Use i830PipeSetBase at end of mode setting code to set DSP*BASE and flush changes. Don't duplicate PipeSetBase call from screen init function. Make initial RandR configuration code usable on older versions of extension so the server doesn't start in a panning mode. Use xfree instead of free in i830_tv.c.