diff options
author | Keith Packard <keithp@neko.keithp.com> | 2007-01-15 08:05:32 +1100 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2007-01-15 08:05:32 +1100 |
commit | bfeda3bfc59d309772398f688d29452ba97f3973 (patch) | |
tree | d1ee5f4430098d64f413b991ee54b35a6a34558d /src/i830_display.h | |
parent | da6a00f787e4d13e6b75768c1976f1c44ae5bf72 (diff) |
Convert I830PipeSetMode to xf86CrtcSetMode. Add rotation structures.
Makes the mode setting logic device independent.
Magic rename hooks allow multiple drivers to provide the
generic code without name conflicts.
Rotation code requires special pixmap creation hook, and uses
Render to perform the actual rotation.
Diffstat (limited to 'src/i830_display.h')
-rw-r--r-- | src/i830_display.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/i830_display.h b/src/i830_display.h index 66ab17e8..dc800553 100644 --- a/src/i830_display.h +++ b/src/i830_display.h @@ -30,16 +30,12 @@ /* i830_display.c */ DisplayModePtr i830PipeFindClosestMode(xf86CrtcPtr crtc, DisplayModePtr pMode); -Bool i830PipeSetMode(xf86CrtcPtr crtc, DisplayModePtr pMode, - Bool plane_enable); -void i830DisableUnusedFunctions(ScrnInfoPtr pScrn); -Bool i830SetMode(ScrnInfoPtr pScrn, DisplayModePtr pMode); +Bool i830SetMode(ScrnInfoPtr pScrn, DisplayModePtr pMode, Rotation rotation); void i830PipeSetBase(xf86CrtcPtr crtc, int x, int y); void i830WaitForVblank(ScrnInfoPtr pScrn); void i830DescribeOutputConfiguration(ScrnInfoPtr pScrn); xf86CrtcPtr i830GetLoadDetectPipe(xf86OutputPtr output); void i830ReleaseLoadDetectPipe(xf86OutputPtr output); -Bool i830PipeInUse(xf86CrtcPtr crtc); void i830_crtc_init(ScrnInfoPtr pScrn, int pipe); void i830_crtc_load_lut(xf86CrtcPtr crtc); |