summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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-02Typo disabled new DRI MM on all chips.Keith Packard
Detection for new DRI MM wasn't converted to #define correctly because of a typo.
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.
2006-12-31Elide identical modes from reported list.Keith Packard
Where two modes would produce precisely the same crtc settings and have the same name, remove the latter mode from the mode list.
2006-12-31Replace author-specific license with generic license.Keith Packard
This file retained the old MIT license with the embedded author name. Replace that with the version that uses generic 'copyright holders' instead.
2006-12-31Replace author-specific license with generic license.Keith Packard
This file retained the old MIT license with the embedded author name. Replace that with the version that uses generic 'copyright holders' instead.
2006-12-30Prune default modes to EDID clock limit.Keith Packard
Pick out the EDID max clock value and use that to elide default modes which are too fast.
2006-12-30Merge branch 'modesetting-origin' into modesettingKeith Packard
2006-12-30Detect in ProbeModes. Let get_modes set edid. Prune interlace/dblscan.Keith Packard
Move output connection status detection from RandR code up to ProbeModes so it is done before mode sets are built. Otherwise, the mode building code will elide all modes the first time through as it ignores outputs that are disconnected. Most get_modes functions fetch EDID data; make sure that any EDID changes are used in the ProbeModes filtering of default modes. Otherwise, stale EDID data will be used. Allow outputs to advertise support for interlaced and double scan modes; prune such modes from the default mode list when outputs do not support them.
2006-12-29Relax tiling requirements on G965.Eric Anholt
For the 965, we can tile with the pitch at any integer multiple of a tile size (128 or 512B), up to 128KB.
2006-12-28Lack of configured monitor implies no configured modes.Keith Packard
Missing check for missing monitor configuration would result in segfault.
2006-12-28Sync ranges from EDID/default should not limit configured modelines.Keith Packard
Limit the effect of sync ranges so that sync ranges found via EDID will not eliminate modes explicitly added by the user. Limit default sync range to eliminating only default modes, not configured or EDID modes.
2006-12-28Belinea 10 15 55 monitor quirk - override preferred mode with largest @60HzKeith Packard
Belinea 10 15 55 model monitor reports a preferred mode of 640x350, when in fact it wants a 1024x768 mode @ 60Hz. Add an edid quirk that selects the largest size mode, preferring those closer to 60hz among equal sized modes.
2006-12-28Remove 8MB/32MB default VideoRam limits.Eric Anholt
With modern monitors and increased XV and EXA memory requirements, these small limits were resulting in DRI and other initialization failures because we wouldn't allow them enough memory. Instead, allow each piece of the system (DRI, EXA, XAA, etc) to request as much memory as it wants, and choose the actual videoRam to be used for laying out the memory afterwards. With this change, in the absence of a VideoRam option, 32MB will be allocated for textures.
2006-12-28Oops, dont use symlinks for stolen xf86 header filesKeith Packard
2006-12-28Add stolen xf86 header files to driver sourceKeith Packard
2006-12-28Merge branch 'modesetting-origin' into modesettingKeith Packard
2006-12-28Configuration support: per-output mode lines, preferred mode.Keith Packard
Add the modelines specified in the per-output monitor and all of the default modes to the list to each output. Prune the resulting list to specified sync limits and virtual sizes. Sort the resulting mode list on preferred/size/refresh.
2006-12-28In EXA mode, force backing pixmaps into memory when doing XV to them.Eric Anholt
2006-12-28Draw textured video to the backing pixmap in the composited case.Eric Anholt
Currently, when the backing pixmap is not in framebuffer, we just BadAlloc rather than drawing garbage to the front buffer. This can be fixed with EXA.
2006-12-28Add WIP CH7017 LVDS driver. This is disconnected because it's untested.Eric Anholt
2006-12-28Add WIP IVCH (i82807aa) driver.Eric Anholt
It is not currently hooked up as it hasn't been tested. The hardware that this was written for decided to stop working.
2006-12-28Reformat the DVO drivers table to be a bit more normal style.Eric Anholt
2006-12-28Move dvo driver detection into i830_dvo_init(), and use GPIOB for LVDS drivers.Eric Anholt
The documentation states that GPIOB is (generally) used for devices on DVOA on the motherboard, which appears to be the case on the laptop we have with LVDS on the motherboard. This patch is probably not entirely accurate, as there was apparently an LVDS DVO card sold that could be put in desktop machines, which would likely be on GPIOE like other ADD cards. Given that we couldn't find one of these cards for purchase, I'm not worrying about it.
2006-12-27Remove the nasty #define away of ErrorF in i830_video.c.Eric Anholt
Every new person touching this file hits this trap, so it's now removed.
2006-12-27Fix operator precedence issue that stuck 965 t-v state into the front buffer.Eric Anholt
2006-12-27debugging for location of various 965 textured-video state.Eric Anholt