RE: !! Correction for i810 driver !!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 

RE: !! Correction for i810 driver !!



Sottek, Matthew J writes:
 > Actually...
 >   I am not sure that reg 0x60000 will be set in all cases. I may only be
 > programmed if there is a TVout controller present in the system. Doing
 > it this way is safer. Maybe someone looking for a task can make a diff out
 > of this and submit it to the patches list?

I've checked with the docs and it looks like this patch may be 
correct. I'll test it in my i810 and submit it if I don't see
any side effects.

Thanks to both Sebastien and matt!

Regards,
	Egbert.

 > 
 > -Matt
 > 
 > 
 > File : xc/programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c
 >   Somewhere near line 1522
 > 
 > 
 >   unsigned int temp=0;
 > 
 >    /* OVRACT Register */
 >    temp = INREG(0x60000);
 >    if(temp) {
 >      i810Reg->OverlayActiveStart = (temp>>16) - 31; 
 >      i810Reg->OverlayActiveEnd = (temp & 0x3ff) - 31; 
 >    } else {
 >      i810Reg->OverlayActiveStart = mode->CrtcHTotal - 32; 
 >      i810Reg->OverlayActiveEnd = mode->CrtcHDisplay - 32; 
 >    }
 > 
_______________________________________________
Xpert mailing list
Xpert@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xpert




[Index of Archives]     [XFree86 Newbie]     [X.Org]     [XFree86]     [IETF Annouce]     [Bugtraq]     [Share Pictures]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [XFree86 Forum]