summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_mocs.h
blob: d6fa4485a6e988cc09605e82f6ee91e9865110e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2022 Intel Corporation
 */

#ifndef _XE_MOCS_H_
#define _XE_MOCS_H_

#include <linux/types.h>

struct xe_exec_queue;
struct xe_gt;
struct drm_printer;

void xe_mocs_init_early(struct xe_gt *gt);
void xe_mocs_init(struct xe_gt *gt);

/**
 * xe_mocs_dump - Dump mocs table
 * @gt: GT structure
 * @p: Printer to dump info to
 */
void xe_mocs_dump(struct xe_gt *gt, struct drm_printer *p);

#endif