Discussion:
r254 - mga_vid/trunk/mga_vid.c
attila
2007-03-18 14:20:12 UTC
Permalink
Author: attila
Date: Sun Mar 18 15:20:12 2007
New Revision: 254

Modified:
mga_vid/trunk/mga_vid.c

Log:
make mga_vid accept larger frame sizes


Modified: mga_vid/trunk/mga_vid.c
==============================================================================
--- mga_vid/trunk/mga_vid.c (original)
+++ mga_vid/trunk/mga_vid.c Sun Mar 18 15:20:12 2007
@@ -719,7 +719,7 @@ static int mga_vid_ioctl(struct inode *i
return(-EFAULT);
}

- if(card->config.frame_size==0 || card->config.frame_size>1024*768*2){
+ if(card->config.frame_size==0 || card->config.frame_size>1920*1080*2){
printk(KERN_ERR "mga_vid: illegal frame_size: %d\n",card->config.frame_size);
return(-EFAULT);
}
Attila Kinali
2007-03-18 16:02:58 UTC
Permalink
On Sun, 18 Mar 2007 15:20:12 +0100 (CET)
Post by attila
make mga_vid accept larger frame sizes
As you probably can guess, i tried to get 1920x1080 resolution working.
Unfortunately, i couldn't get rid of the mirroring effect.
I'm most probebly missing some setting in a register.

If someone wants try to get it working, disable
all 1024 size checks in mga_vid.c and mplayer
(mga_common.c) and play with the register settings.

BTW: has anyone here a register description of the G550?
I don't seem to have one myself.

Attila Kinali
--
Linux ist... wenn man einfache Dinge auch mit einer kryptischen
post-fix Sprache loesen kann
-- Daniel Hottinger
Loading...