summaryrefslogtreecommitdiff
path: root/src/i830_display.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-11-16 21:09:23 -0800
committerKeith Packard <keithp@neko.keithp.com>2006-11-16 21:09:23 -0800
commitc4508c1cadf323e9ef1d0e69dd77d5e841a6a978 (patch)
tree61e788425ab287988a5eea19c124aaa6cdaf618a /src/i830_display.h
parent45a27f80e1c783627f570c309e7a853dcc9af0c1 (diff)
RandR-based initial output configuration.
Using pre-init computed RandR information, make reasonable default choices for the output configuration at startup time. Either some preferred size or a size which yields 96dpi is chosen, from which other monitors are set to a similar size. The largest size sets the screen size. This needs to be extended to respect config file settings, but those have not been defined yet.
Diffstat (limited to 'src/i830_display.h')
-rw-r--r--src/i830_display.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i830_display.h b/src/i830_display.h
index 67f3c7b8..361a3c67 100644
--- a/src/i830_display.h
+++ b/src/i830_display.h
@@ -26,6 +26,8 @@
*/
/* i830_display.c */
+DisplayModePtr
+i830PipeFindClosestMode(ScrnInfoPtr pScrn, int pipe, DisplayModePtr pMode);
Bool i830PipeSetMode(ScrnInfoPtr pScrn, DisplayModePtr pMode, int pipe,
Bool plane_enable);
void i830DisableUnusedFunctions(ScrnInfoPtr pScrn);