summaryrefslogtreecommitdiff
path: root/lib/intel_pat.h
blob: eb48cbc652b18d4989054070352e6ec379ec4cdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2023 Intel Corporation
 */

#ifndef INTEL_PAT_H
#define INTEL_PAT_H

#include <stdint.h>

#define DEFAULT_PAT_INDEX ((uint8_t)-1) /* igt-core can pick 1way or better */

uint8_t intel_get_max_pat_index(int fd);

uint8_t intel_get_pat_idx_uc(int fd);
uint8_t intel_get_pat_idx_wt(int fd);
uint8_t intel_get_pat_idx_wb(int fd);

uint8_t intel_get_pat_idx_uc_comp(int fd);

#endif /* INTEL_PAT_H */