aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJorge Zapata <turran@openmoko.com>2009-02-19 16:41:58 +0100
committerThomas White <taw@bitwiz.org.uk>2009-03-26 21:34:09 +0000
commite1179bc8e2bfa379e178e1f206b4687df71755f1 (patch)
tree354e04d8424f19eba0a3ca6eec421a803998a511 /include
parentd78d95efdfec5a39e470e8e866b864c8fc096c7a (diff)
Avoid the high_memory check on arm platforms
Handle correctly the proc/dri/0/name printing Helper function to check the PLATFORM feature
Diffstat (limited to 'include')
-rw-r--r--include/drm/drmP.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index ca7034ac11b..176fdc2c313 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1029,6 +1029,11 @@ static inline int drm_mtrr_del(int handle, unsigned long offset,
}
#endif
+static inline int drm_core_is_platform(struct drm_device *dev)
+{
+ return drm_core_check_feature(dev, DRIVER_IS_PLATFORM);
+}
+
/******************************************************************/
/** \name Internal function definitions */
/*@{*/