summaryrefslogtreecommitdiff
path: root/src/atifillin.c
blob: ab36d56be995572615a34f9cc49cf33877df39f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * atifillin.c: fill in a ScrnInfoPtr with the relevant information for
 * atimisc.
 *
 * (c) 2004 Adam Jackson.  Standard MIT license applies.
 */

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include "atifillin.h"

_X_EXPORT void ATIFillInScreenInfo(ScrnInfoPtr pScreenInfo)
{
    pScreenInfo->driverVersion = ATI_VERSION_CURRENT;
    pScreenInfo->driverName    = ATI_DRIVER_NAME;
    pScreenInfo->name          = ATI_NAME;
    pScreenInfo->Probe         = ATIProbe;
    pScreenInfo->PreInit       = ATIPreInit;
    pScreenInfo->ScreenInit    = ATIScreenInit;
    pScreenInfo->SwitchMode    = ATISwitchMode;
    pScreenInfo->AdjustFrame   = ATIAdjustFrame;
    pScreenInfo->EnterVT       = ATIEnterVT;
    pScreenInfo->LeaveVT       = ATILeaveVT;
    pScreenInfo->FreeScreen    = ATIFreeScreen;
    pScreenInfo->ValidMode     = ATIValidMode;
}