summaryrefslogtreecommitdiff
path: root/libdrm/intel/mm.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-10-06 12:40:42 -0700
committerEric Anholt <eric@anholt.net>2009-10-06 15:45:06 -0700
commitd70d60529f77ec73322be7b887fd6a3faf133bce (patch)
treea11417216d5dad111c6f43908baa44d78034e596 /libdrm/intel/mm.h
parent3c9bd068e0aa8069f71e8193b82b231d6513ce35 (diff)
intel: Reformat to the kernel coding style. Welcome to the 8-space future.
This is done with: Lindent *.[ch] perl -pi -e 's|drm_intel_bo \* |drm_intel_bo *|g' *.[ch] perl -pi -e 's|drm_intel_bufmgr \* |drm_intel_bufmgr *|g' *.[ch] perl -pi -e 's|drm_intel_bo_gem \* |drm_intel_bo_gem *|g' *.[ch] perl -pi -e 's|drm_intel_bufmgr_gem \* |drm_intel_bufmgr_gem *|g' *.[ch] perl -pi -e 's|_fake \* |_fake *|g' *.[ch] hand-editing to whack indented comments into line and other touchups.
Diffstat (limited to 'libdrm/intel/mm.h')
-rw-r--r--libdrm/intel/mm.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/libdrm/intel/mm.h b/libdrm/intel/mm.h
index 49e3eecc..8a5235b0 100644
--- a/libdrm/intel/mm.h
+++ b/libdrm/intel/mm.h
@@ -21,23 +21,21 @@
* OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-
/**
* Memory manager code. Primarily used by device drivers to manage texture
* heaps, etc.
*/
-
#ifndef MM_H
#define MM_H
struct mem_block {
- struct mem_block *next, *prev;
- struct mem_block *next_free, *prev_free;
- struct mem_block *heap;
- int ofs,size;
- unsigned int free:1;
- unsigned int reserved:1;
+ struct mem_block *next, *prev;
+ struct mem_block *next_free, *prev_free;
+ struct mem_block *heap;
+ int ofs, size;
+ unsigned int free:1;
+ unsigned int reserved:1;
};
/* Rename the variables in the drm copy of this code so that it doesn't
@@ -67,7 +65,7 @@ extern struct mem_block *mmInit(int ofs, int size);
* return: pointer to the allocated block, 0 if error
*/
extern struct mem_block *mmAllocMem(struct mem_block *heap, int size,
- int align2, int startSearch);
+ int align2, int startSearch);
/**
* Free block starts at offset