panfrost: Inline panfrost-misc.h into panfrost-job.h

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>
This commit is contained in:
Alyssa Rosenzweig 2020-08-05 16:05:12 -04:00 committed by Marge Bot
parent ebf7e87f2c
commit 64f3c9da87
5 changed files with 9 additions and 5 deletions

View file

@ -37,7 +37,6 @@
#include "util/bitset.h"
#include "util/set.h"
#include <panfrost-misc.h>
#include "pan_device.h"
#include "pan_pool.h"

View file

@ -26,7 +26,6 @@
#ifndef __PAN_BO_H__
#define __PAN_BO_H__
#include <panfrost-misc.h>
#include "util/list.h"
#include "pan_device.h"
#include <time.h>

View file

@ -37,7 +37,7 @@
#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

View file

@ -26,7 +26,7 @@
#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

View file

@ -30,7 +30,13 @@
#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,