diff options
author | Keith Packard <keithp@keithp.com> | 2009-09-18 20:59:52 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-09-21 17:24:11 -0700 |
commit | 4758311842a16600287c8f9f77ce0af1a31b9264 (patch) | |
tree | a2eda7b3619bc771d8908ace31853ba1ad9c9eba /src/i830_video.c | |
parent | 505025053d66d415e1c23ac858b9238fa8541d37 (diff) |
Remove vestigial internal rotation which broke KMS DGA/VidMode modesetting.
Pre-2.0, the driver supported rotation internally, rather than relying
on the X server rotation support. The last piece of this dealt with
rotating the mouse coordinates and also tried to preserve rotation
across DGA/VidModeExtension modesetting requests.
That latter bit of code broke under KMS as the rotation value was
never initialized, and when set to zero would create an invalid
configuration. This would confuse xrandr which would bail before
making any changes, leaving the user without a way to recover.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/i830_video.c')
-rw-r--r-- | src/i830_video.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/i830_video.c b/src/i830_video.c index 9fb0b56e..47c026df 100644 --- a/src/i830_video.c +++ b/src/i830_video.c @@ -2751,10 +2751,6 @@ I830AllocateSurface(ScrnInfoPtr pScrn, return BadAlloc; } - /* What to do when rotated ?? */ - if (pI830->rotation != RR_Rotate_0) - return BadAlloc; - if (!(surface->pitches = xalloc(sizeof(int)))) return BadAlloc; if (!(surface->offsets = xalloc(sizeof(int)))) { |