diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-08-12 07:07:32 -0400 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-08 05:23:49 -0400 |
commit | 8dfbc3403113bcc51f0350c3471fa1abf664305f (patch) | |
tree | 5e6685d671acb6e12d82726ca656b3b5f3598752 /drivers/gpu/drm/i915/intel_drv.h | |
parent | 9bb2ff731b32c023e7a502efdc0dee46157290d5 (diff) |
drm/i915/overlay: Combine SWITCH_OFF into a single step
We can program the h/w to first wait on the flip and then switch off
without relying on s/w intervention. This removes the need for a double
step switch off, bringing much rejoicing.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_drv.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index f757fbd7a8de..01ca494c6d87 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h | |||
@@ -167,8 +167,7 @@ struct intel_overlay { | |||
167 | #define HW_WEDGED 1 | 167 | #define HW_WEDGED 1 |
168 | #define NEEDS_WAIT_FOR_FLIP 2 | 168 | #define NEEDS_WAIT_FOR_FLIP 2 |
169 | #define RELEASE_OLD_VID 3 | 169 | #define RELEASE_OLD_VID 3 |
170 | #define SWITCH_OFF_STAGE_1 4 | 170 | #define SWITCH_OFF 4 |
171 | #define SWITCH_OFF_STAGE_2 5 | ||
172 | }; | 171 | }; |
173 | 172 | ||
174 | struct intel_crtc { | 173 | struct intel_crtc { |