aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-09-21 11:10:09 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-21 11:10:09 -0400
commit44040f107e64d689ccd3211ac62c6bc44f3f0775 (patch)
treef85059028aa570e758c7fb272fd8cf823ab4f119 /drivers/gpu/drm/i915/intel_drv.h
parent388dba30471c236a290c4082bce5f2b5cd1a7a06 (diff)
parent28d520433b6375740990ab99d69b0d0067fd656b (diff)
Merge branch 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6
* 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: (133 commits) drm/vgaarb: add VGA arbitration support to the drm and kms. drm/radeon: some r420s have a CP race with the DMA engine. drm/radeon/r600/kms: rv670 is not DCE3 drm/radeon/kms: r420 idle after programming GA_ENHANCE drm/radeon/kms: more fixes to rv770 suspend/resume path. drm/radeon/kms: more alignment for rv770.c with r600.c drm/radeon/kms: rv770 blit init called too late. drm/radeon/kms: move around new init path code to avoid posting at init drm/radeon/r600: fix some issues with suspend/resume. drm/radeon/kms: disable VGA rendering engine before taking over VRAM drm/radeon/kms: Move radeon_get_clock_info() call out of radeon_clocks_init(). drm/radeon/kms: add initial connector properties drm/radeon/kms: Use surfaces for scanout / cursor byte swapping on big endian. drm/radeon/kms: don't fail if we fail to init GPU acceleration drm/r600/kms: fixup number of loops per blit calculation. drm/radeon/kms: reprogram format in set base. drm/radeon: avivo chips have no separate int bit for display drm/radeon/r600: don't do interrupts drm: fix _DRM_GEM addmap error message drm: update crtc x/y when only fb changes ... Fixed up trivial conflicts in firmware/Makefile due to network driver (cxgb3) and drm (mga/r128/radeon) firmware being listed next to each other.
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index 26a6227c15fe..3ebbbabfe59b 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -117,9 +117,9 @@ struct intel_crtc {
117 uint32_t cursor_addr; 117 uint32_t cursor_addr;
118 u8 lut_r[256], lut_g[256], lut_b[256]; 118 u8 lut_r[256], lut_g[256], lut_b[256];
119 int dpms_mode; 119 int dpms_mode;
120 struct intel_framebuffer *fbdev_fb; 120 bool busy; /* is scanout buffer being updated frequently? */
121 /* a mode_set for fbdev users on this crtc */ 121 struct timer_list idle_timer;
122 struct drm_mode_set mode_set; 122 bool lowfreq_avail;
123}; 123};
124 124
125#define to_intel_crtc(x) container_of(x, struct intel_crtc, base) 125#define to_intel_crtc(x) container_of(x, struct intel_crtc, base)
@@ -138,6 +138,7 @@ extern void intel_hdmi_init(struct drm_device *dev, int sdvox_reg);
138extern bool intel_sdvo_init(struct drm_device *dev, int output_device); 138extern bool intel_sdvo_init(struct drm_device *dev, int output_device);
139extern void intel_dvo_init(struct drm_device *dev); 139extern void intel_dvo_init(struct drm_device *dev);
140extern void intel_tv_init(struct drm_device *dev); 140extern void intel_tv_init(struct drm_device *dev);
141extern void intel_mark_busy(struct drm_device *dev, struct drm_gem_object *obj);
141extern void intel_lvds_init(struct drm_device *dev); 142extern void intel_lvds_init(struct drm_device *dev);
142extern void intel_dp_init(struct drm_device *dev, int dp_reg); 143extern void intel_dp_init(struct drm_device *dev, int dp_reg);
143void 144void
@@ -178,4 +179,5 @@ extern int intel_framebuffer_create(struct drm_device *dev,
178 struct drm_mode_fb_cmd *mode_cmd, 179 struct drm_mode_fb_cmd *mode_cmd,
179 struct drm_framebuffer **fb, 180 struct drm_framebuffer **fb,
180 struct drm_gem_object *obj); 181 struct drm_gem_object *obj);
182
181#endif /* __INTEL_DRV_H__ */ 183#endif /* __INTEL_DRV_H__ */