X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fpanfrost%2Finclude%2Fpanfrost-job.h;h=2dbda7e813509e5df367d0f044788d7810d17a83;hb=6c6372770ca110dc7c1933d14225a75cf37efa6d;hp=796be2372ac270cdf8b6392bb267aec61a65fd88;hpb=71dd52e0560e3d32dd040301ae99e0ae2da4384e;p=mesa.git diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h index 796be2372ac..2dbda7e8135 100644 --- a/src/panfrost/include/panfrost-job.h +++ b/src/panfrost/include/panfrost-job.h @@ -34,7 +34,7 @@ enum mali_job_type { JOB_NOT_STARTED = 0, JOB_TYPE_NULL = 1, - JOB_TYPE_SET_VALUE = 2, + JOB_TYPE_WRITE_VALUE = 2, JOB_TYPE_CACHE_FLUSH = 3, JOB_TYPE_COMPUTE = 4, JOB_TYPE_VERTEX = 5, @@ -657,9 +657,16 @@ enum mali_exception_access { MALI_EXCEPTION_ACCESS_WRITE = 3 }; -struct mali_payload_set_value { - u64 out; - u64 unknown; +/* Details about write_value from panfrost igt tests which use it as a generic + * dword write primitive */ + +#define MALI_WRITE_VALUE_ZERO 3 + +struct mali_payload_write_value { + u64 address; + u32 value_descriptor; + u32 reserved; + u64 immediate; } __attribute__((packed)); /* Special attributes have a fixed index */ @@ -1463,7 +1470,8 @@ struct mali_sfbd_format { struct mali_single_framebuffer { u32 unknown1; u32 unknown2; - u64 unknown_address_0; + mali_ptr scratchpad; + u64 zero1; u64 zero0;