diff options
Diffstat (limited to 'src/panfrost/include')
-rw-r--r-- | src/panfrost/include/panfrost-job.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h index 51e9e78b8bd..77b9bc9c7af 100644 --- a/src/panfrost/include/panfrost-job.h +++ b/src/panfrost/include/panfrost-job.h @@ -652,6 +652,21 @@ struct mali_job_descriptor_header { }; } __attribute__((packed)); +/* These concern exception_status */ + +/* Access type causing a fault, paralleling AS_FAULTSTATUS_* entries in the + * kernel */ + +enum mali_exception_access { + /* Atomic in the kernel for MMU, but that doesn't make sense for a job + * fault so it's just unused */ + MALI_EXCEPTION_ACCESS_NONE = 0, + + MALI_EXCEPTION_ACCESS_EXECUTE = 1, + MALI_EXCEPTION_ACCESS_READ = 2, + MALI_EXCEPTION_ACCESS_WRITE = 3 +}; + struct mali_payload_set_value { u64 out; u64 unknown; |