xf86-video-siliconmotion: Changes to 'master'
Paulo Cesar Pereira de Andrade
pcpa at kemper.freedesktop.org
Sat Aug 16 15:17:41 PDT 2008
src/smi.h | 5
src/smi_accel.c | 52 +++++---
src/smi_driver.c | 324 +++++++++++++++++++++++++++++++++++--------------------
src/smi_exa.c | 61 +++-------
src/smi_shadow.c | 60 +++++-----
src/smi_video.c | 78 +++++++++++--
6 files changed, 370 insertions(+), 210 deletions(-)
New commits:
commit 682b9a1b97a82c7d084c63860a8c753cc45d9faf
Author: Francisco Jerez <currojerez at gmail.com>
Date: Sat Aug 16 13:24:27 2008 +0200
Allow using XV and RandR rotation simultaneously.
As it doesn't seem feasible to rotate the video, I did some modifications
at SMI_PutImage and SMI_ClipVideo to make PutImage work (incorrectly) with
rotation enabled. The image is displayed unrotated.
Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa at mandriva.com.br>
commit f6110b1ef5934b45812ee95e70b1e64f44386dda
Author: Francisco Jerez <currojerez at gmail.com>
Date: Sat Aug 16 13:08:25 2008 +0200
Some fixes in the EXA UTS/DTS code.
In DTS:
* It uses the screen Bpp inestead of the pixmap Bpp...
this gives some problems when using pixmaps with different depth
to the screen.
In UTS:
* aligned_pitch was computed from src_pitch inestead of the
pixmap width.
* When writing the target coordinates to the DE registers, it does
y*0xFFFF inestead of y & 0xFFFF.
* I renamed source_pitch to src_pixelpitch as it is very confusing
to have src_pitch and source_pitch.
* It isn't necessary to call WaitQueue before copying each scanline,
but it seems it almost doesn't affect performance.
Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa at mandriva.com.br>
commit 209097ba5b44a0ce0da7f1ea52150dcace2b5244
Author: Francisco Jerez <currojerez at gmail.com>
Date: Sat Aug 16 13:00:31 2008 +0200
RandR rotation implemented.
* I added the configuration file option "RandRRotation".
* I replaced pSmi->ShadowPitch with pSmi->screenStride, it seems it
makes more sense because the lower word of ShadowPitch may change
independently.
* I moved the SMI_DEDataFormat to smi_accel.c because it seems it is
a piece of code repeated many times in the driver.
* At some places, it is assumed the framebuffer is at FBOffset:
when using a shadow framebuffer, FBOffset is the location of the
on-screen framebuffer (0 should be used). This made e.g. EXA
completly useless with ShadowFB enabled (it crashed).
* In the FBManager initialization, I have replaced xf86InitFBManager
with xf86InitFBManagerRegion to reserve some additional space as
screen fb: it's unlikely to be the case, but a less efficient
alignment in the rotated mode could make the rotated mode need more
memory than the unrotated one.
This is not a problem with EXA as the offscreen memory parameters
can be easily modified when doing the rotation.
* In SMI_RefreshArea it's assumed that some DE registers are already
in some state, this is specially not true when using EXA.
* SMI_ValidMode rejects a rotated mode with different dimensions
than the panel. This seems to work now.
Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa at mandriva.com.br>
commit 45c6aedd6fe4e4d6abe58d1bb39ec01049404f09
Author: Francisco Jerez <currojerez at gmail.com>
Date: Sat Aug 16 12:50:26 2008 +0200
Updates in SMI_EnterVT when remapping memory.
Update the screen pixmap header with the new aperture address
when remapping framebuffer memory in SMI_EnterVT.
Update pSmi->EXADriverPtr->memoryBase too, in case EXA is
being used.
Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa at mandriva.com.br>
commit 8feca790a6e92799019237ac69a4ef618cacfaae
Author: Francisco Jerez <currojerez at gmail.com>
Date: Sat Aug 16 12:40:52 2008 +0200
Make the int10/VBE initialization depend on the UseBIOS configuration option.
Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa at mandriva.com.br>
commit 772e899e71efab208b844b09c75f9f49ff453386
Author: Francisco Jerez <currojerez at gmail.com>
Date: Sat Aug 16 12:25:18 2008 +0200
Memory detection moved before memory mapping in SMI_PreInit.
Take into account the VideoRam configuration option.
Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa at mandriva.com.br>
More information about the xorg-commit
mailing list