diff options
author | Christoph Manszewski <christoph.manszewski@intel.com> | 2023-06-09 15:01:27 +0200 |
---|---|---|
committer | Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> | 2023-06-12 10:17:55 +0200 |
commit | 193b663772d92aa2333f3f5bce913843379a1b45 (patch) | |
tree | ae682dd5fd6ad6465b82c1ec117f094969efb4f7 /lib/intel_mocs.h | |
parent | 17fbab44f3ce578011e74a9de99884e32a133b25 (diff) |
lib/i915/mocs: Move mocs library to 'lib' folder
Since mocs are driver agnostic and are currently used in driver agnostic
code, move them to the 'lib' folder and get rid of i915 references.
Signed-off-by: Christoph Manszewski <christoph.manszewski@intel.com>
Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Diffstat (limited to 'lib/intel_mocs.h')
-rw-r--r-- | lib/intel_mocs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/intel_mocs.h b/lib/intel_mocs.h new file mode 100644 index 000000000..255eac0ff --- /dev/null +++ b/lib/intel_mocs.h @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: MIT */ +/* + * Copyright © 2022 Intel Corporation + */ + +#ifndef _INTEL_MOCS_H +#define _INTEL_MOCS_H + +uint8_t intel_get_wb_mocs(int fd); +uint8_t intel_get_uc_mocs(int fd); + +#endif /* _INTEL_MOCS_H */ |