summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-02-01Rename driver from i810 to intel. Permit old name for compatibility.modesetting-rotationKeith Packard
Driver installs as intel_drv.so with symlink to i810_drv.so to ensure existing configurations continue to work. Updated manual page to reflect name change and add attributions for recent work.
2007-02-01Merge branch 'modesetting-origin' into modesettingKeith Packard
2007-02-01Add "Ignore" option to per-output monitor, removes output from server.Keith Packard
Setting option "Ignore" "Yes" will cause the server to pretend as if the specified output does not exist at all. It will not be listed by the RandR1.2 extension, and the server will not attempt to detect monitors at startup time.
2007-02-01Check for rotation change in xf86RandR12CrtcSet.Keith Packard
xf86RandRCrtcSet was ignoring changes to only rotation, so the screen would be left incorrectly rotated.
2007-02-01Improve register debugging output.Eric Anholt
This includes not reporting some fields on hardware where those bits are reserved, correcting one of the hardware error bit numbers, and reducing the severity of the debugging output warnings.
2007-02-01Remove some more dead options.Eric Anholt
2007-02-01Bug #9819: Add two headers that are apparently necessary on older X Servers.Eric Anholt
2007-01-31Sync before overwriting Render acceleration state on the 965.Eric Anholt
2007-01-31Fix copy-and-paste-o in the render code cleanup that broke XAA.Eric Anholt
2007-01-31Naming and formatting cleanup in Render acceleration code.Eric Anholt
2007-01-31Move the render code to non-EXA-specific filenames.Eric Anholt
2007-01-31Remove custom accelerated rotation code now that it's all done through Render.Eric Anholt
2007-01-31Add an accelerated path for rotation Render operations in XAA.Eric Anholt
The now-generic (kind of) EXA code will be cleaned up and moved to generic files in a later commit.
2007-01-30Fix accelerated Render transformations.Eric Anholt
Previously, we tried to use 2 points instead of 3 to describe the source rectangles, which mostly just worked for scaling.
2007-01-30Simplify EXA acceleration transform handling.Eric Anholt
2007-01-29Merge branch 'modesetting-rotation' into modesettingKeith Packard
This adds reasonably driver-independent rotation support to the common layer. The piece required in the driver is to allocate and redirect the crtc to a shadow frame buffer. The driver uses Render to perform the actual rotation operation (which leaves us free to do fun projective transforms at some point in the future :-).
2007-01-29Restore a few important lines from 89ace3e81fe72075b1709b073c05532f13b7f0d1Eric Anholt
Typical results were failure to sync, and a black screen.
2007-01-29Remove dead code to undo the damage of xf86SetModeCrtc() blank limiting.Eric Anholt
2007-01-29Bug #9680: Remove bogus blank length limiting in xf86SetModeCrtc().Eric Anholt
Our modes typically come from EDID or default modes, and when the monitor asks for a specific mode, deciding to tweak it usually results in incorrect display. And if the user is specifying a mode by hand, tweaking it then is still pretty rude. Reviewed by: ajax
2007-01-29ch7xxx: actually power up the chip around connection detectionDave Airlie
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-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-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-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-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