mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 13:23:02 +00:00
lib: remove support for deprecated drm_open_any*() calls
Signed-off-by: Micah Fedke <micah.fedke@collabora.co.uk> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
@@ -41,13 +41,6 @@
|
|||||||
#define DRIVER_ANY 0x1
|
#define DRIVER_ANY 0x1
|
||||||
#define DRIVER_INTEL (0x1 << 1)
|
#define DRIVER_INTEL (0x1 << 1)
|
||||||
|
|
||||||
/* provide the deprecated drm_open_any*() calls */
|
|
||||||
#define drm_open_any() drm_open_driver(DRIVER_ANY)
|
|
||||||
#define drm_open_any_master() drm_open_driver_master(DRIVER_ANY)
|
|
||||||
#define drm_open_any_render() drm_open_driver_render(DRIVER_ANY)
|
|
||||||
#define __drm_open_any() __drm_open_driver(DRIVER_ANY)
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef ANDROID
|
#ifdef ANDROID
|
||||||
#if (!(defined HAVE_MMAP64)) && (!(defined __x86_64__))
|
#if (!(defined HAVE_MMAP64)) && (!(defined __x86_64__))
|
||||||
extern void* __mmap2(void *, size_t, int, int, int, off_t);
|
extern void* __mmap2(void *, size_t, int, int, int, off_t);
|
||||||
|
|||||||
Reference in New Issue
Block a user