diff --git a/headers/private/graphics/neomagic/DriverInterface.h b/headers/private/graphics/neomagic/DriverInterface.h index e49a350045..313195049b 100644 --- a/headers/private/graphics/neomagic/DriverInterface.h +++ b/headers/private/graphics/neomagic/DriverInterface.h @@ -154,6 +154,7 @@ typedef struct { uint32 last_idle; /* last dwgsync slot we *know* the engine was idle after */ benaphore lock; /* for serializing access to the acceleration engine */ uint32 control; /* colordepth, memory pitch and other config stuff */ + uint8 depth; /* bytes per pixel used */ } engine; /* card info - information gathered from PINS (and other sources) */ diff --git a/headers/private/graphics/neomagic/nm_macros.h b/headers/private/graphics/neomagic/nm_macros.h index 9b9f0be799..96e43d023c 100644 --- a/headers/private/graphics/neomagic/nm_macros.h +++ b/headers/private/graphics/neomagic/nm_macros.h @@ -201,6 +201,7 @@ /* NeoMagic PCI acceleration registers */ #define NMACC_STATUS 0x0000 #define NMACC_BLTCNTL 0x0004 +#define NMACC_FGCOLOR 0x000c #define NMACC_SRCSTARTOFF 0x0024 #define NMACC_DSTSTARTOFF 0x002c #define NMACC_XYEXT 0x0030