From 32e485c6002a07161b29778d07435536f72dec45 Mon Sep 17 00:00:00 2001 From: SolDev69 Date: Thu, 21 Dec 2023 15:10:36 -0500 Subject: [PATCH] move struct --- src/gallium/drivers/panfrost/pan_context.h | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/gallium/drivers/panfrost/pan_context.h b/src/gallium/drivers/panfrost/pan_context.h index d584345f552..804b6b10ebe 100644 --- a/src/gallium/drivers/panfrost/pan_context.h +++ b/src/gallium/drivers/panfrost/pan_context.h @@ -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); \ @@ -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;