248 AMD Geodeā„¢ LX Processors Data Book
Graphics Processor
33234H
In 16-bpp mode, there is a total of two lines of pattern, each line with eight pixels as illustrated in Table 6-18. In 32-bpp
mode, there is only one line of pattern with eight pixels. The ordering of the registers in the line from left to right is as fol-
lows:
1) GP_PAT_COLOR_5
2) GP_PAT_COLOR_4
3) GP_PAT_COLOR_3
4) GP_PAT_COLOR_2
5) GP_PAT_COLOR_1
6) GP_PAT_COLOR_0
7) GP_PAT_DATA_1
8) GP_PAT_DATA_0.
Table 6-17. Example of 8-Bit Color Pattern (3:3:2 Format)
Byte 7 Byte 6 Byte 5 Byte 4 Byte 3 Byte 2 Byte 1 Byte 0
GP_PAT_DATA_1 (02024002h)
GP_PAT_DATA_0 (40024002h) 02 02 40 02 40 02 40 02
GP_PAT_COLOR_1 (0240E340h)
GP_PAT_COLOR_0 (0240E340h) 02 40 E3 403 02 40 E3 40
GP_PAT_COLOR_3 (40E300E3h)
GP_PAT_COLOR_2 (40E300E3h) 40 E3 00 E3 40 E3 00 E3
GP_PAT_COLOR_5 (0240E340h)
GP_PAT_COLOR_4 (0240E340h) 02 40 E3 40 02 40 E3 40
Table 6-18. Example of 16-Bit Color Pattern (5:6:5 Format)
Byte
15:14
Byte
13:12
Byte
11:10
Byte
9:8
Byte
7:6
Byte
5:4
Byte
3:2
Byte
1:0
GP_PAT_COLOR_1
(00100010h)
GP_PAT_COLOR_0
(40000010h)
GP_PAT_DATA_1
(02028002h)
GP_PAT_DATA_0
(80028002h)
0010 0010 4000 0010 4000 0010 4000 0010
GP_PAT_COLOR_5
(00104000h)
GP_PAT_COLOR_4
(F81F4000h)
GP_PAT_COLOR_3
(0280E380h)
GP_PAT_COLOR_2
(0280E380h)
0010 4000 F81F 4000 0010 4000 F81F 4000