Deleted Added
full compact
drmP.h (183833) drmP.h (186295)
1/* drmP.h -- Private header for Direct Rendering Manager -*- linux-c -*-
2 * Created: Mon Jan 4 10:05:05 1999 by faith@precisioninsight.com
3 */
4/*-
5 * Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
6 * Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California.
7 * All rights reserved.
8 *

--- 18 unchanged lines hidden (view full) ---

27 *
28 * Authors:
29 * Rickard E. (Rik) Faith <faith@valinux.com>
30 * Gareth Hughes <gareth@valinux.com>
31 *
32 */
33
34#include <sys/cdefs.h>
1/* drmP.h -- Private header for Direct Rendering Manager -*- linux-c -*-
2 * Created: Mon Jan 4 10:05:05 1999 by faith@precisioninsight.com
3 */
4/*-
5 * Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
6 * Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California.
7 * All rights reserved.
8 *

--- 18 unchanged lines hidden (view full) ---

27 *
28 * Authors:
29 * Rickard E. (Rik) Faith <faith@valinux.com>
30 * Gareth Hughes <gareth@valinux.com>
31 *
32 */
33
34#include <sys/cdefs.h>
35__FBSDID("$FreeBSD: head/sys/dev/drm/drmP.h 183833 2008-10-13 18:03:27Z rnoland $");
35__FBSDID("$FreeBSD: head/sys/dev/drm/drmP.h 186295 2008-12-18 21:04:50Z rnoland $");
36
37#ifndef _DRM_P_H_
38#define _DRM_P_H_
39
40#if defined(_KERNEL) || defined(__KERNEL__)
41
42struct drm_device;
43struct drm_file;

--- 424 unchanged lines hidden (view full) ---

468 int acquired;
469 unsigned long base;
470 int mtrr;
471 int cant_use_aperture;
472 unsigned long page_mask;
473} drm_agp_head_t;
474
475typedef struct drm_sg_mem {
36
37#ifndef _DRM_P_H_
38#define _DRM_P_H_
39
40#if defined(_KERNEL) || defined(__KERNEL__)
41
42struct drm_device;
43struct drm_file;

--- 424 unchanged lines hidden (view full) ---

468 int acquired;
469 unsigned long base;
470 int mtrr;
471 int cant_use_aperture;
472 unsigned long page_mask;
473} drm_agp_head_t;
474
475typedef struct drm_sg_mem {
476 unsigned long handle;
477 void *virtual;
478 int pages;
479 dma_addr_t *busaddr;
480 drm_dma_handle_t *dmah; /* Handle to PCI memory for ATI PCIGART table */
476 unsigned long handle;
477 void *virtual;
478 int pages;
479 dma_addr_t *busaddr;
480 struct drm_dma_handle *sg_dmah; /* Handle for sg_pages */
481 struct drm_dma_handle *dmah; /* Handle to PCI memory */
482 /* for ATI PCIGART table */
481} drm_sg_mem_t;
482
483typedef TAILQ_HEAD(drm_map_list, drm_local_map) drm_map_list_t;
484
485typedef struct drm_local_map {
486 unsigned long offset; /* Physical address (0 for SAREA)*/
487 unsigned long size; /* Physical size (bytes) */
488 enum drm_map_type type; /* Type of memory mapped */

--- 533 unchanged lines hidden ---
483} drm_sg_mem_t;
484
485typedef TAILQ_HEAD(drm_map_list, drm_local_map) drm_map_list_t;
486
487typedef struct drm_local_map {
488 unsigned long offset; /* Physical address (0 for SAREA)*/
489 unsigned long size; /* Physical size (bytes) */
490 enum drm_map_type type; /* Type of memory mapped */

--- 533 unchanged lines hidden ---