Commit 1fdeef5e authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜
Browse files

panfrost: Move scoreboarding routines to common


Signed-off-by: Alyssa Rosenzweig's avatarAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <mesa/mesa!5827>
parent 7ec6ee40
......@@ -22,7 +22,6 @@ C_SOURCES := \
pan_public.h \
pan_resource.c \
pan_resource.h \
pan_scoreboard.c \
pan_screen.c \
pan_screen.h \
pan_sfbd.c \
......@@ -38,7 +38,6 @@ files_panfrost = files(
'pan_cmdstream.c',
'pan_compute.c',
'pan_fragment.c',
'pan_scoreboard.c',
'pan_sfbd.c',
'pan_mfbd.c',
)
......
......@@ -33,6 +33,8 @@ encoder_FILES := \
encoder/pan_pool.h \
encoder/pan_props.c \
encoder/pan_sampler.c \
encoder/pan_scoreboard.c \
encoder/pan_scoreboard.h \
encoder/pan_tiler.c \
encoder/pan_texture.c \
encoder/pan_scratch.c \
......
......@@ -30,6 +30,7 @@ libpanfrost_encoder_files = files(
'pan_sampler.c',
'pan_tiler.c',
'pan_texture.c',
'pan_scoreboard.c',
'pan_scratch.c',
'pan_pool.c',
'pan_props.c',
......
......@@ -22,11 +22,10 @@
*
*/
#include "pan_context.h"
#include "pan_job.h"
#include "pan_pool.h"
#include <string.h>
#include "pan_scoreboard.h"
#include "pan_device.h"
#include "panfrost-quirks.h"
#include "util/bitset.h"
/*
* There are various types of Mali jobs:
......
......@@ -27,6 +27,9 @@
#ifndef __PAN_SCOREBOARD_H__
#define __PAN_SCOREBOARD_H__
#include "panfrost-job.h"
#include "pan_pool.h"
struct pan_scoreboard {
/* The first job in the batch */
mali_ptr first_job;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment