aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-09-13 08:54:26 -0400
committerChris Wilson <chris@chris-wilson.co.uk>2010-09-13 09:26:55 -0400
commit6b383a7f6378f193c30200435d8170f95916b5f0 (patch)
tree871a780e43182c2fc1a5d9842112fccf6e92daaa /drivers/gpu/drm/i915/intel_drv.h
parent788319d48dc2b61db732b19bb9598c062c75ec37 (diff)
drm/i915: Share crtc setup and teardown between dpms and disable/enable
This closes a couple of corner cases where we introduced and forgot about a couple of routines that need to be called when disabling the crtc and then re-enabling it. The code needs to be moved again so that the common bits are shared across generations. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index 7e2646f1fec9..c0891b1ec7b5 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -180,7 +180,7 @@ struct intel_crtc {
180 uint32_t cursor_addr; 180 uint32_t cursor_addr;
181 int16_t cursor_x, cursor_y; 181 int16_t cursor_x, cursor_y;
182 int16_t cursor_width, cursor_height; 182 int16_t cursor_width, cursor_height;
183 bool cursor_visible, cursor_on; 183 bool cursor_visible;
184}; 184};
185 185
186#define to_intel_crtc(x) container_of(x, struct intel_crtc, base) 186#define to_intel_crtc(x) container_of(x, struct intel_crtc, base)