diff options
author | Mikael Olsson <mikael.olsson@arm.com> | 2024-02-20 15:48:47 +0100 |
---|---|---|
committer | Mikael Olsson <mikael.olsson@arm.com> | 2024-02-21 17:05:33 +0100 |
commit | e43c8c26e6ebad3cadabda9d5d4fecba84333078 (patch) | |
tree | c23697ff2b85253561403b1f0d7991c1c19528e3 /driver_library/include | |
parent | 8a687ed4a249e4a9d82e88f6bc0d93e13917687c (diff) | |
download | ethos-u-linux-driver-stack-e43c8c26e6ebad3cadabda9d5d4fecba84333078.tar.gz |
Fix UAPI device type naming and validation
The device types in the UAPI have been renamed to follow the UAPI
namespacing and driver library validation has been added to ensure the
driver library and UAPI device enum values match.
The kernel and driver library version have been given a major bump for
the introduction of the device type in the capabilities.
Change-Id: Ib782b0bd7a8641db88521f8be399f709d2d73816
Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
Diffstat (limited to 'driver_library/include')
-rw-r--r-- | driver_library/include/ethosu.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/driver_library/include/ethosu.hpp b/driver_library/include/ethosu.hpp index d0e391c..fe43689 100644 --- a/driver_library/include/ethosu.hpp +++ b/driver_library/include/ethosu.hpp @@ -39,12 +39,12 @@ namespace EthosU { -constexpr uint32_t DRIVER_LIBRARY_VERSION_MAJOR = 3; +constexpr uint32_t DRIVER_LIBRARY_VERSION_MAJOR = 4; constexpr uint32_t DRIVER_LIBRARY_VERSION_MINOR = 0; constexpr uint32_t DRIVER_LIBRARY_VERSION_PATCH = 0; -constexpr uint32_t MAX_SUPPORTED_KERNEL_DRIVER_MAJOR_VERSION = 3; -constexpr uint32_t MIN_SUPPORTED_KERNEL_DRIVER_MAJOR_VERSION = 3; +constexpr uint32_t MAX_SUPPORTED_KERNEL_DRIVER_MAJOR_VERSION = 4; +constexpr uint32_t MIN_SUPPORTED_KERNEL_DRIVER_MAJOR_VERSION = 4; class Exception : public std::exception { public: |