summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-02-17 12:22:48 -0500
committerAlex Deucher <alexdeucher@gmail.com>2010-02-17 12:34:53 -0500
commit579cdcf9b4e38c791a497b747a055fc0a07d8dd6 (patch)
treeecb395794693564fcc77a9d77c2ab62777241f84 /src/radeon.h
parent47136fa347d1756523239746b4c74cd5278a1118 (diff)
radeon: add ZaphodHeads option
Allows users that want to use zaphod mode to select which xrandr outputs are assigned to which head. E.g., Option "ZaphodHeads" "LVDS,VGA-0" will assign LVDS to the first zaphod driver instance and VGA-0 to the second instance.
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/radeon.h b/src/radeon.h
index f9c78ab2..36b2d8be 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -223,7 +223,8 @@ typedef enum {
OPTION_R4XX_ATOM,
OPTION_FORCE_LOW_POWER,
OPTION_DYNAMIC_PM,
- OPTION_NEW_PLL
+ OPTION_NEW_PLL,
+ OPTION_ZAPHOD_HEADS
} RADEONOpts;
@@ -1236,6 +1237,9 @@ extern void RADEONInitMemMapRegisters(ScrnInfoPtr pScrn, RADEONSavePtr save,
RADEONInfoPtr info);
extern void RADEONRestoreMemMapRegisters(ScrnInfoPtr pScrn,
RADEONSavePtr restore);
+extern Bool
+RADEONZaphodStringMatches(ScrnInfoPtr pScrn, Bool is_primary,
+ const char *s, char *output_name);
Bool RADEONGetRec(ScrnInfoPtr pScrn);
void RADEONFreeRec(ScrnInfoPtr pScrn);