diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-10-21 14:22:01 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-10-21 14:22:01 -0200 |
commit | 197b4231586b9ada1c590a01b8dd7a5fcda936e6 (patch) | |
tree | 6c959aeaa4f7b6eee0d6a1313d5879743a4cdb1d /src/smi_501.h | |
parent | 71990e0beece6e60ffbffccfdf56e5a71641a120 (diff) |
Crt interface corrections.
Correct wrong clock calculation for the 501 clock setting, that is used
for pre 502 panel interface and crt.
Adds a few new programmable fields to MSOCRegRec:crt_display_ctl.
Call SMI501_CrtcAdjustFrame() after adjusting a mode, instead of
before changing registers.
Diffstat (limited to 'src/smi_501.h')
-rw-r--r-- | src/smi_501.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/smi_501.h b/src/smi_501.h index e42606a..1d68ebe 100644 --- a/src/smi_501.h +++ b/src/smi_501.h @@ -634,9 +634,16 @@ typedef struct _MSOCRegRec { * 2:2 CRT Graphics Plane Enable. * 0: Disable CRT Graphics plane. * 1: Enable CRT Graphics plane. + * 8:8 Enable CRT Timing. + * 0: Disable CRT timing. + * 1: Enable CRT timing. * 9:9: CRT Data Select. * 0: CRT will display panel data. * 1: CRT will display CRT data. + * 10:10 CRT Data Blanking. + * 0: CRT will show pixels. + * 1: CRT will be blank. + * 11:11 Vertical Sync. This bit is read only. * 12:12 Horizontal Sync Pulse Phase Select. * 0: Horizontal sync pulse active high. * 1: Horizontal sync pulse active low. @@ -648,9 +655,11 @@ typedef struct _MSOCRegRec { struct { int32_t format : bits( 0, 1); int32_t enable : bits( 2, 2); - int32_t u0 : bits( 3, 8); + int32_t u0 : bits( 3, 7); + int32_t timing : bits( 8, 8); int32_t select : bits( 9, 9); - int32_t u1 : bits(10, 11); + int32_t blank : bits(10, 10); + int32_t sync : bits(11, 11); int32_t hsync : bits(12, 12); int32_t vsync : bits(13, 13); } f; |