summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_mmio_range.h
blob: f1c7086d3e3c97cd81f3a1579222c379b19ba884 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2025 Intel Corporation
 */

#ifndef __I915_MMIO_RANGE_H__
#define __I915_MMIO_RANGE_H__

#include <linux/types.h>

/* Other register ranges (e.g., shadow tables, MCR tables, etc.) */
struct i915_mmio_range {
	u32 start;
	u32 end;
};

bool i915_mmio_range_table_contains(u32 addr, const struct i915_mmio_range *table);

#endif /* __I915_MMIO_RANGE_H__ */