mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 23:34:00 -04:00
We should keep all hardware definitions separated from the driver code. Move LMEM_BAR definition to new regs/xe_bars.h file and also add there GTTMMADR_BAR definition to avoid using magic 0 resource. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240530133527.1328-3-michal.wajdeczko@intel.com
12 lines
204 B
C
12 lines
204 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2024 Intel Corporation
|
|
*/
|
|
#ifndef _XE_BARS_H_
|
|
#define _XE_BARS_H_
|
|
|
|
#define GTTMMADR_BAR 0 /* MMIO + GTT */
|
|
#define LMEM_BAR 2 /* VRAM */
|
|
|
|
#endif
|