File: intel_common.h

package info (click to toggle)
intel-gpu-tools 2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 63,368 kB
  • sloc: xml: 781,458; ansic: 360,567; python: 8,336; yacc: 2,781; perl: 1,196; sh: 1,177; lex: 487; asm: 227; lisp: 35; makefile: 30
file content (25 lines) | stat: -rw-r--r-- 521 bytes parent folder | download | duplicates (3)
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 © 2024 Intel Corporation
 */

#ifndef __INTEL_COMMON_H__
#define __INTEL_COMMON_H__

/**
 * SECTION:intel_common
 * @short_description: i915/xe common library code
 * @title: Intel library
 * @include: intel_common.h
 *
 */

#include <stdbool.h>
#include <stdint.h>

bool is_intel_dgfx(int fd);
bool is_intel_system_region(int fd, uint64_t region);
bool is_intel_vram_region(int fd, uint64_t region);
bool is_intel_region_compressible(int fd, uint64_t region);

#endif