On 09/13/04 19:17, Romero, Miguel Angel wrote:
- I have added at the end of "uc_ovl_init_layer" the following lines:
        VIA_OUT( ucdrv->hwregs, 0x284, 0x1f0018f2 );
        VIA_OUT( ucdrv->hwregs, 0x288, 0x00001c00 );

I have added them also, and the colors are correct, but too bright when compared with the older cle266 chipset.


I searched for some documentation on the hardware registers, and found the following: <http://sourceforge.net/docman/display_doc.php?docid=23693&group_id=102048>.


And also in via_video.h, I found the following:

typedef struct{
        ...
        unsigned long video1_CSC1;           /* 284 */
        unsigned long video1_CSC2;           /* 288 */
        ...
} video_via_regs;

I don't know which registers are they related to in the documentation. What I want to know is whether I can tune the above two registers to make the output dimmer.

Any ideas?

Selwyn




Reply via email to