mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-13 02:35:54 +00:00
Changes included (and more): 1. Dynamic RAM merge 2. Real-time page scan and allocation 3. Cache compression 4. Real-time IRQ checks 5. Dynamic I/O allocation for Java heap 6. Java page migration 7. Contiguous memory allocation 8. Idle pages tracking 9. Per CPU RAM usage tracking 10. ARM NEON scalar multiplication library 11. NEON/ARMv8 crypto extensions 12. NEON SHA, Blake, RIPEMD crypto extensions 13. Parallel NEON crypto engine for multi-algo based CPU stress reduction
25 lines
710 B
C
25 lines
710 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2013-2021 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _INTEL_PCODE_H_
|
|
#define _INTEL_PCODE_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct drm_i915_private;
|
|
|
|
int snb_pcode_read(struct drm_i915_private *i915, u32 mbox, u32 *val, u32 *val1);
|
|
int snb_pcode_write_timeout(struct drm_i915_private *i915, u32 mbox, u32 val,
|
|
int fast_timeout_us, int slow_timeout_ms);
|
|
#define snb_pcode_write(i915, mbox, val) \
|
|
snb_pcode_write_timeout(i915, mbox, val, 500, 0)
|
|
|
|
int skl_pcode_request(struct drm_i915_private *i915, u32 mbox, u32 request,
|
|
u32 reply_mask, u32 reply, int timeout_base_ms);
|
|
|
|
int intel_pcode_init(struct drm_i915_private *i915);
|
|
|
|
#endif /* _INTEL_PCODE_H */
|