summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2008-08-08 17:39:48 -0400
committerAlex Deucher <alexdeucher@gmail.com>2008-08-08 17:39:48 -0400
commit4dbdeea7c9316575fba26b41fd347452e42cdcf2 (patch)
treece773e84d6c353f0af7f29edfb00f961f8aab868 /src/radeon.h
parent268c848130ec1770bb645a74197b6aca7fc95abc (diff)
Further cleanup and unification of i2c code
- unify the ddc and i2c code - add gpio mask support for legacy chips - remove the magic gpio dance for ancient monitors (if you have an ancient monitor that ddc stops working on let me know). This should speed up DDC on legacy chips. -- radeon sw gpio i2c -- 4 sets of gpio registers for clk and data and corresponding bit masks mask - locks the gpio for use by sw get - reads the value off the gpio pad put - sets the gpio direction to output a - "other stuff" On legacy chips you clear them if you want to use a gpio for i2c. In some cases they are used for the output value when the gpio in the output state.
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h
index d53688ee..63655b8f 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -1014,6 +1014,8 @@ extern void RADEONPrintPortMap(ScrnInfoPtr pScrn);
extern void RADEONSetOutputType(ScrnInfoPtr pScrn,
RADEONOutputPrivatePtr radeon_output);
extern Bool RADEONSetupConnectors(ScrnInfoPtr pScrn);
+extern Bool RADEONI2CDoLock(xf86OutputPtr output, Bool lock_state);
+
/* radeon_tv.c */
extern void RADEONSaveTVRegisters(ScrnInfoPtr pScrn, RADEONSavePtr save);