summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-01-27Fetch from root window instead of screen pixmap during rotation.Keith Packard
The XAA Composite wrapper doesn't check for sourcing from the root pixmap when deciding whether to sync the hardware drawing. Fix the rotation code to reference the root window in IncludeInferiors mode to avoid reading without correct synchronization.
2007-01-27Paint ARGB cursor data to ARGB cursor memory space in frame buffer.Keith Packard
When converting from global cursor to per-crtc cursor, the ARGB cursor data was accidentally painted to the wrong location, overwriting some critical data and causing the hardware to lock up. (along with generating a garbage cursor image from uninitialized data).
2007-01-27Don't zero out mode structure after setting name field.Krzysztof Halasa
Instead of using memset to zero the structure (at the wrong time, no less), use xcalloc to gather pre-initialized memory.
2007-01-27Mark crtc region as damaged when rotation is set.Keith Packard
When shadow frame buffer is allocated for rotation, it needs to be initialized by copying from the frame buffer. Do this by simply marking the entire screen as damaged which will force an update.
2007-01-27Make rotated pixmap size of mode, not rotated mode. Update only damage.Keith Packard
Rotated pixmap should match size of displayed mode, not the rotated version of that size. Take damaged region, rotate each box and display them instead of displaying the whole screen after each damage update. This exposes a bug where the screen is not correctly damaged after rotation.
2007-01-25Make rotated shadow buffer allocation dynamic.Eric Anholt
For EXA, this requires version 2.1 of EXA to do rotation, as the VT switching issues were too complicated otherwise.
2007-01-25Merge branch 'crestline' of /git/xorg/driver/xf86-video-intel into crestlineNian Wu
2007-01-25Merge branch 'modesetting' of ↵Nian Wu
git://proxy01.pd.intel.com:9419/git/xorg/driver/xf86-video-intel into crestline
2007-01-25Merge branch 'modesetting' of ↵Nian Wu
git://proxy01.pd.intel.com:9419/git/xorg/driver/xf86-video-intel into modesetting Conflicts: src/i830_driver.c
2007-01-24Fix a possible failure to misalign video allocation in XAA.Eric Anholt
2007-01-24Warning fix.Eric Anholt
2007-01-23ch7xxx: fix output detection as per datasheet, have no DVI to test this.Dave Airlie
2007-01-23fix building with 7.1 server by hiding stuff inside RANDR_12_INTERFACEDave Airlie
2007-01-22Replace the custom SaveScreen function with a generic function calling DPMS.Eric Anholt
With this, additional power saving occurs with the core screensaver, for example by turning off LVDS backlight.
2007-01-19Fix DRI issue when EXA enabledWang Zhenyu
tell DRI we are smashing the context state.
2007-01-18Allocate separate cursor memory per CRTC and rotate cursors appropriately.Eric Anholt
Also, add bind/unbind of the shadow rotate buffers, which was missed in a previous commit.
2007-01-18Partially deal with cursor rotation.Eric Anholt
The remaining issue is having a cursor image per CRTC so that the cursors can be rotated on the independently rotated CRTCs.
2007-01-18Fix transformation matrices for rotation at 90 and 270 degrees.Eric Anholt
2007-01-18Update CRTC values first so they can be used by the driver in mode setting.Eric Anholt
With this, the screen now gets rotated, though there are major issues.
2007-01-18Disable the clipping for now, since it won't work.Eric Anholt
2007-01-18Store fixed values, not integers, in the transformation matrix.Eric Anholt
Also, add a bit more error checking.
2007-01-18Merge branch 'modesetting' into modesetting-rotationEric Anholt
2007-01-17Fix broken last-minute change in determining whether we're rotated or not.Eric Anholt
2007-01-17Allocate per-crtc rotation buffers and hook up RandR 1.2 per-CRTC rotation.Eric Anholt
It currently displays garbage.
2007-01-17Fix some segfaults: crtc->rotatedPixmap not set and dangling damage pointer.Eric Anholt
2007-01-17Set all CRTCs' allowable rotations when xf86RandR12SetRotations() is called.Eric Anholt
2007-01-17 enable all TV modesZou Nan hai
2007-01-16Bug #9550: Add a quirk for too-high clock from EDID on the EN-7100e.Gary Wong
2007-01-16Add a settable backlight property for LVDS.Eric Anholt
This extends the output funcs to have a callback for when it's time to configure properties, and another for when the server has changed a property whose value isn't pending a mode set. (Pending properties are to be picked up by the driver at mode_set time).
2007-01-16Merge branch 'modesetting' into modesetting-rotationKeith Packard
Conflicts: src/i830_driver.c src/i830_randr.c Just a few sync changes.
2007-01-16Interim work on rotation support with new xf86 code.Keith Packard
Yes, there are lots of bits tied together here, and we should split this patch apart. Move I830 mode setting to xf86 mode setting. Make mode setting function also set the base address. This should fix problems where the base gets set incorrectly at times. Add driver-independent rotation support, requires driver-specific hooks for shadow pixmap allocation, otherwise it uses Render for painting.
2007-01-15patch to control mergedfb options, bug #9664Emilio Scalise
2007-01-15Convert I830PipeSetMode to xf86CrtcSetMode. Add rotation structures.Keith Packard
Makes the mode setting logic device independent. Magic rename hooks allow multiple drivers to provide the generic code without name conflicts. Rotation code requires special pixmap creation hook, and uses Render to perform the actual rotation.
2007-01-13Tweak to bug #9639root
2007-01-13Fix bug #9639, i810 XvMC needs linking against libdrm.Alan Hourihane
2007-01-11EXA: Use PRIM3D_RECTLIST instead of TRIFAN so we don't get diagonal tearing.Eric Anholt
A side effect is the reduction in vertex dispatch, which is nice.
2007-01-11Restore legacy overlay size limits, due to card hangs at larger sizes.Eric Anholt
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-09Bump to 1.7.4Alan Hourihane
2007-01-09Fix bug #8536, i915 BIOS fails when restarting Xserver.Alan Hourihane
2007-01-08Correct typo resulting in a crash with ivch. = != ==.Eric Anholt
2007-01-08Merge branch 'modesetting' into crestlineKeith Packard
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-07Back out rotation changes for RandR 1.2 which won't work.Keith Packard
RandR 1.2 requires a new rotation structure for per-CRTC rotation.
2007-01-07Merge branch 'crestline-otc' into crestlineKeith Packard