3 #include <cpu/amd/vr.h>
4 #include <device/device.h>
6 #include "northbridge.h"
8 // FIXME handle UMA properly.
9 #define VIDEO_MB 8 // MB of video memory
13 * This function mirrors the Graphics_Init routine in GeodeROM.
15 void graphics_init(void)
17 /* SoftVG initialization */
19 /* Call SoftVG with the main configuration parameters. */
20 /* NOTE: SoftVG expects the memory size to be given in 512 KB pages */
21 vrWrite((VRC_VG << 8) + VG_MEM_SIZE, 0x0100 | (VIDEO_MB * 2));