mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 08:10:11 +01:00
intel: remove the drm_mm* symbol workarounds
Added with commit 57b4c4c32d3(Move the renaming of mm.c symbols to symbol duplication/collision with ones that are available elsewhere. As the public/private symbols of libdrm are properly annotated neither one of the symbols will end up in the global name-space, thus should no longer be required. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
7c7d1f3c9c
commit
8e76f63cc4
1 changed files with 0 additions and 10 deletions
10
intel/mm.h
10
intel/mm.h
|
|
@ -38,16 +38,6 @@ struct mem_block {
|
||||||
unsigned int reserved:1;
|
unsigned int reserved:1;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Rename the variables in the drm copy of this code so that it doesn't
|
|
||||||
* conflict with mesa or whoever else has copied it around.
|
|
||||||
*/
|
|
||||||
#define mmInit drm_mmInit
|
|
||||||
#define mmAllocMem drm_mmAllocMem
|
|
||||||
#define mmFreeMem drm_mmFreeMem
|
|
||||||
#define mmFindBlock drm_mmFindBlock
|
|
||||||
#define mmDestroy drm_mmDestroy
|
|
||||||
#define mmDumpMemInfo drm_mmDumpMemInfo
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* input: total size in bytes
|
* input: total size in bytes
|
||||||
* return: a heap pointer if OK, NULL if error
|
* return: a heap pointer if OK, NULL if error
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue