Skip to content

Commit

Permalink
move struct
Browse files Browse the repository at this point in the history
  • Loading branch information
SolDev69 committed Dec 21, 2023
1 parent d9f47d7 commit 32e485c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/gallium/drivers/panfrost/pan_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,6 @@
#include "compiler/shader_enums.h"
#include "midgard/midgard_compile.h"

struct panfrost_cs {
struct kbase_cs base;
struct panfrost_bo *bo;
pan_command_stream cs;
mali_ptr event_ptr;
uint64_t seqnum;
mali_ptr kcpu_event_ptr;
uint64_t kcpu_seqnum;
uint64_t offset;
unsigned hw_resources;
};

#define SET_BIT(lval, bit, cond) \
if (cond) \
lval |= (bit); \
Expand Down Expand Up @@ -244,6 +232,18 @@ struct panfrost_context {
uint32_t in_sync_obj;
};

struct panfrost_cs {
struct kbase_cs base;
struct panfrost_bo *bo;
pan_command_stream cs;
mali_ptr event_ptr;
uint64_t seqnum;
mali_ptr kcpu_event_ptr;
uint64_t kcpu_seqnum;
uint64_t offset;
unsigned hw_resources;
};

/* Corresponds to the CSO */

struct panfrost_rasterizer;
Expand Down

0 comments on commit 32e485c

Please sign in to comment.