aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drmP.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-11 05:34:40 -0500
committerDave Airlie <airlied@redhat.com>2013-12-17 20:32:55 -0500
commitd2e546b855646f251046098ddaccef50bf3d4302 (patch)
tree2fbb465e003fe0fbcc2283d69ce5e747c6a13329 /include/drm/drmP.h
parent8a5a80081a1cc8b4f7bdf777fde3d955a020481c (diff)
drm: rip out DRM_AGP_MEM and DRM_AGP_KERN
The <linux/agp_backend.h> header provides dummy functions and fallbacks, so no need for screaming macros. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r--include/drm/drmP.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 8e05ff81428d..90a99807e48d 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -527,7 +527,7 @@ struct drm_device_dma {
527 */ 527 */
528struct drm_agp_mem { 528struct drm_agp_mem {
529 unsigned long handle; /**< handle */ 529 unsigned long handle; /**< handle */
530 DRM_AGP_MEM *memory; 530 struct agp_memory *memory;
531 unsigned long bound; /**< address */ 531 unsigned long bound; /**< address */
532 int pages; 532 int pages;
533 struct list_head head; 533 struct list_head head;
@@ -539,7 +539,7 @@ struct drm_agp_mem {
539 * \sa drm_agp_init() and drm_device::agp. 539 * \sa drm_agp_init() and drm_device::agp.
540 */ 540 */
541struct drm_agp_head { 541struct drm_agp_head {
542 DRM_AGP_KERN agp_info; /**< AGP device information */ 542 struct agp_kern_info agp_info; /**< AGP device information */
543 struct list_head memory; 543 struct list_head memory;
544 unsigned long mode; /**< AGP mode */ 544 unsigned long mode; /**< AGP mode */
545 struct agp_bridge_data *bridge; 545 struct agp_bridge_data *bridge;
@@ -1280,6 +1280,7 @@ extern unsigned int drm_poll(struct file *filp, struct poll_table_struct *wait);
1280 /* Memory management support (drm_memory.h) */ 1280 /* Memory management support (drm_memory.h) */
1281#include <drm/drm_memory.h> 1281#include <drm/drm_memory.h>
1282 1282
1283
1283 /* Misc. IOCTL support (drm_ioctl.h) */ 1284 /* Misc. IOCTL support (drm_ioctl.h) */
1284extern int drm_irq_by_busid(struct drm_device *dev, void *data, 1285extern int drm_irq_by_busid(struct drm_device *dev, void *data,
1285 struct drm_file *file_priv); 1286 struct drm_file *file_priv);