summaryrefslogtreecommitdiff
path: root/src/nv_const.h
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-06-22 16:34:22 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-06-22 16:35:28 +0200
commit75d8947d40e19c5fc039caf4289cf94fd1570eda (patch)
treea5107acc6fc38ebde34585146b0ae39ea14eb817 /src/nv_const.h
parentdf52dc4664df11d57fcf8a6c9ae3f87a149e5392 (diff)
NV50: Some basic code to get kernel modesetting going.
- This will get a cleanup later on.
Diffstat (limited to 'src/nv_const.h')
-rw-r--r--src/nv_const.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nv_const.h b/src/nv_const.h
index 2ab9a1a..9d0b997 100644
--- a/src/nv_const.h
+++ b/src/nv_const.h
@@ -30,7 +30,8 @@ typedef enum {
OPTION_CMDBUF_SIZE,
OPTION_RANDR12,
OPTION_SCALING_MODE,
- OPTION_NEW_RESTORE
+ OPTION_NEW_RESTORE,
+ OPTION_KMS,
} NVOpts;
@@ -51,6 +52,7 @@ static const OptionInfoRec NVOptions[] = {
{ OPTION_RANDR12, "Randr12", OPTV_BOOLEAN, {0}, FALSE },
{ OPTION_SCALING_MODE, "ScalingMode", OPTV_STRING, {0}, FALSE },
{ OPTION_NEW_RESTORE, "NewRestore", OPTV_BOOLEAN, {0}, FALSE },
+ { OPTION_KMS, "KMS", OPTV_BOOLEAN, {0}, FALSE },
{ -1, NULL, OPTV_NONE, {0}, FALSE }
};