panfrost: Move checksum routines to root panfrost
[mesa.git] / src / gallium / drivers / panfrost / pan_resource.h
index f3ba339add775c154930dff1b0e613d2928c6b96..2af06208f2c697225151ca0002e70dea9ecac5f9 100644 (file)
 #include <panfrost-job.h>
 #include "pan_screen.h"
 #include "pan_allocate.h"
+#include "pan_texture.h"
 #include "drm-uapi/drm.h"
 #include "util/u_range.h"
 
-struct panfrost_slice {
-        unsigned offset;
-        unsigned stride;
-        unsigned size0;
-
-        /* If there is a header preceding each slice, how big is
-         * that header?  Used for AFBC */
-        unsigned header_size;
-
-        /* If checksumming is enabled following the slice, what
-         * is its offset/stride? */
-        unsigned checksum_offset;
-        unsigned checksum_stride;
-
-        /* Has anything been written to this slice? */
-        bool initialized;
-};
-
 struct panfrost_resource {
         struct pipe_resource base;
         struct {