summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drv.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2009-12-16 15:16:17 -0500
committerEric Anholt <eric@anholt.net>2009-12-16 13:53:02 -0800
commitb295d1b6e3e3f240d27cbe556d33ff5eb54721a7 (patch)
tree09ec44d0977bcf3874b44dfc4eb19f238bce58c4 /drivers/gpu/drm/i915/i915_drv.c
parentcfdf1fa23f4074c9f8766dc67a928bbf680b1ac9 (diff)
downloadlinux-3.10-b295d1b6e3e3f240d27cbe556d33ff5eb54721a7.tar.gz
linux-3.10-b295d1b6e3e3f240d27cbe556d33ff5eb54721a7.tar.bz2
linux-3.10-b295d1b6e3e3f240d27cbe556d33ff5eb54721a7.zip
drm/i915: Track whether cursor needs physical address in intel_device_info
Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.c')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 1b256de2456..a0a2cad8c01 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -57,7 +57,7 @@ static struct drm_driver driver;
.driver_data = (unsigned long) info }
const static struct intel_device_info intel_i830_info = {
- .is_i8xx = 1, .is_mobile = 1,
+ .is_i8xx = 1, .is_mobile = 1, .cursor_needs_physical = 1,
};
const static struct intel_device_info intel_845g_info = {
@@ -65,7 +65,7 @@ const static struct intel_device_info intel_845g_info = {
};
const static struct intel_device_info intel_i85x_info = {
- .is_i8xx = 1, .is_mobile = 1,
+ .is_i8xx = 1, .is_mobile = 1, .cursor_needs_physical = 1,
};
const static struct intel_device_info intel_i865g_info = {
@@ -73,17 +73,18 @@ const static struct intel_device_info intel_i865g_info = {
};
const static struct intel_device_info intel_i915g_info = {
- .is_i915g = 1, .is_i9xx = 1,
+ .is_i915g = 1, .is_i9xx = 1, .cursor_needs_physical = 1,
};
const static struct intel_device_info intel_i915gm_info = {
.is_i9xx = 1, .is_mobile = 1, .has_fbc = 1,
+ .cursor_needs_physical = 1,
};
const static struct intel_device_info intel_i945g_info = {
- .is_i9xx = 1, .has_hotplug = 1,
+ .is_i9xx = 1, .has_hotplug = 1, .cursor_needs_physical = 1,
};
const static struct intel_device_info intel_i945gm_info = {
.is_i945gm = 1, .is_i9xx = 1, .is_mobile = 1, .has_fbc = 1,
- .has_hotplug = 1,
+ .has_hotplug = 1, .cursor_needs_physical = 1,
};
const static struct intel_device_info intel_i965g_info = {