We only need a small subset of the defines here.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6196>
#include "util/bitset.h"
#include "util/set.h"
-#include <panfrost-misc.h>
#include "pan_device.h"
#include "pan_pool.h"
#ifndef __PAN_BO_H__
#define __PAN_BO_H__
-#include <panfrost-misc.h>
#include "util/list.h"
#include "pan_device.h"
#include <time.h>
#include "util/list.h"
#include "util/sparse_array.h"
-#include <panfrost-misc.h>
+#include <panfrost-job.h>
/* Driver limits */
#define PAN_MAX_CONST_BUFFERS 16
#define __PAN_POOL_H__
#include <stddef.h>
-#include <panfrost-misc.h>
+#include <panfrost-job.h>
/* Represents a pool of memory that can only grow, used to allocate objects
* with the same lifetime as the pool itself. In OpenGL, a pool is owned by the
#include <stdint.h>
#include <stdbool.h>
-#include <panfrost-misc.h>
+#include <inttypes.h>
+
+typedef uint8_t u8;
+typedef uint16_t u16;
+typedef uint32_t u32;
+typedef uint64_t u64;
+typedef uint64_t mali_ptr;
enum mali_job_type {
JOB_NOT_STARTED = 0,