summaryrefslogtreecommitdiff
path: root/src/i830.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2009-08-11 16:06:47 +0200
committerEric Anholt <eric@anholt.net>2009-10-05 13:17:47 -0700
commit2370af32fe31bed8e5715639023635bdb3b83b1b (patch)
tree625a04265ee42a8db35516ca3e4dfabe854f8524 /src/i830.h
parent99230864050ea2f26c2412c4c87c50947fc3cbe1 (diff)
Implement drmmode overlay
This does not restore the overlay on EnterVT/disable it on LeaveVT. Does not look like this is necessary. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> [anholt: Hacked in avoiding the actual kernel calls with Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/i830.h')
-rw-r--r--src/i830.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i830.h b/src/i830.h
index 009641ad..c84fd0c5 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -388,7 +388,7 @@ typedef struct _I830Rec {
/* For Xvideo */
i830_memory *overlay_regs;
- void *offscreenImages; /**< remembered memory block for release */
+ Bool use_drmmode_overlay;
#ifdef INTEL_XVMC
/* For XvMC */
Bool XvMCEnabled;
@@ -693,6 +693,7 @@ void I830DRI2CloseScreen(ScreenPtr pScreen);
extern Bool drmmode_pre_init(ScrnInfoPtr pScrn, int fd, int cpp);
extern int drmmode_get_pipe_from_crtc_id(drm_intel_bufmgr *bufmgr, xf86CrtcPtr crtc);
extern int drmmode_output_dpms_status(xf86OutputPtr output);
+extern int drmmode_crtc_id(xf86CrtcPtr crtc);
void
drmmode_crtc_set_cursor_bo(xf86CrtcPtr crtc, dri_bo *cursor);