mirror of
https://github.com/torvalds/linux.git
synced 2026-04-21 16:23:59 -04:00
The Battlemage (BMG) discrete graphics card supports the Platform, Monitoring Technology (PMT) feature directly on the primary PCI device. Utilize the PMT callback API to add support for the BMG devices. Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241203153639.2982162-1-michael.j.ruhl@intel.com Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
20 lines
466 B
C
20 lines
466 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2024 Intel Corporation
|
|
*/
|
|
#ifndef _XE_PMT_H_
|
|
#define _XE_PMT_H_
|
|
|
|
#define SOC_BASE 0x280000
|
|
|
|
#define BMG_PMT_BASE_OFFSET 0xDB000
|
|
#define BMG_DISCOVERY_OFFSET (SOC_BASE + BMG_PMT_BASE_OFFSET)
|
|
|
|
#define BMG_TELEMETRY_BASE_OFFSET 0xE0000
|
|
#define BMG_TELEMETRY_OFFSET (SOC_BASE + BMG_TELEMETRY_BASE_OFFSET)
|
|
|
|
#define SG_REMAP_INDEX1 XE_REG(SOC_BASE + 0x08)
|
|
#define SG_REMAP_BITS REG_GENMASK(31, 24)
|
|
|
|
#endif
|