diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-12-17 00:57:01 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-08 19:46:36 +0000 |
commit | 03248a798409ca4dd1caf5e25a3d5f5a80173260 (patch) | |
tree | 77e169e2bde6135e3e89747ff65c8b13865cc833 /src/intel.h | |
parent | 00a2aee38dc5cbbd4907a593fa8d617f5a20292e (diff) |
Cache the fixed crtc<->pipe relationship
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel.h')
-rw-r--r-- | src/intel.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/intel.h b/src/intel.h index fff0fbb9..46e6758e 100644 --- a/src/intel.h +++ b/src/intel.h @@ -500,11 +500,7 @@ void I830DRI2FlipEventHandler(unsigned int frame, unsigned int tv_sec, unsigned int tv_usec, void *user_data); extern Bool intel_crtc_on(xf86CrtcPtr crtc); -static inline int intel_crtc_to_pipe(xf86CrtcPtr crtc) -{ - intel_screen_private *intel = intel_get_screen_private(crtc->scrn); - return intel_get_pipe_from_crtc_id(intel->bufmgr, crtc); -} +int intel_crtc_to_pipe(xf86CrtcPtr crtc); /* intel_memory.c */ unsigned long intel_get_fence_size(intel_screen_private *intel, unsigned long size); |