RE: Will the behaviors of XFree86 be effected by different kernel?

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

 



HI:
After reading the HOWTO file, would you please help me to clarify some
questions about the meaning of the parameters that XAA pass to me?
(To minimize the difference, suppose all the flags I used below are 
HARDWARE_PATTERN_SCREEN_ORIGIN | HARDWARE_PATTERN_PROGRAMMED_BITS
1. What is the unit of (x,y) that pass by Subsequent function, bytes or
pixels? Since I have seen (0x312, 0x812) in hex pass to driver while my
resolution is (0x400, 0x300) in hex, that is (1024x768)?
2. Does HARDWARE_PATTERN_SCREEN_ORIGIN means the all the value of (x,y) that
pass subsequently are relative to upper-left corner of my on-screen memory,
that is, if on-screen is located from the physical memory, 0xd0000000, and
(x,y) is (0x10, 0), the destination address that HW should put the pattern
on after ropping is 0xd0000020, assuming the (x,y) is in pixel unit and the
screen depth is 16bpp. Is that right ?

Thanks for your help.
cckuo

>   The fail_pattern.jpg looks like the driver incorrectly sets
>the HARDWARE_PATTERN_SCREEN_ORIGIN flag.   See section 2.6 of
>xc/programs/Xserver/hw/xfree86/xaa/XAA.HOWTO
>
>       Mark.



_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux