File: intel_mocs.h

package info (click to toggle)
intel-gpu-tools 2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 64,504 kB
  • sloc: xml: 781,458; ansic: 378,272; python: 8,407; yacc: 2,781; perl: 1,196; sh: 1,177; lex: 487; asm: 227; lisp: 35; makefile: 30
file content (19 lines) | stat: -rw-r--r-- 446 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2022 Intel Corporation
 */

#ifndef _INTEL_MOCS_H
#define _INTEL_MOCS_H

#include <stdint.h>

#define DEFAULT_MOCS_INDEX ((uint8_t)-1)
#define DISPLAYABLE_MOCS_INDEX ((uint8_t)-2)

uint8_t intel_get_wb_mocs_index(int fd);
uint8_t intel_get_uc_mocs_index(int fd);
uint8_t intel_get_displayable_mocs_index(int fd);
uint8_t intel_get_defer_to_pat_mocs_index(int fd);

#endif /* _INTEL_MOCS_H */