mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 14:15:10 +07:00
6176490e7e
Reduce clutter from i915_drv.h. Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/8222df3f559b056387b5c7e6e04a878cbf8b4e2e.1556809195.git.jani.nikula@intel.com
22 lines
654 B
C
22 lines
654 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2019 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_CSR_H__
|
|
#define __INTEL_CSR_H__
|
|
|
|
struct drm_i915_private;
|
|
|
|
#define CSR_VERSION(major, minor) ((major) << 16 | (minor))
|
|
#define CSR_VERSION_MAJOR(version) ((version) >> 16)
|
|
#define CSR_VERSION_MINOR(version) ((version) & 0xffff)
|
|
|
|
void intel_csr_ucode_init(struct drm_i915_private *i915);
|
|
void intel_csr_load_program(struct drm_i915_private *i915);
|
|
void intel_csr_ucode_fini(struct drm_i915_private *i915);
|
|
void intel_csr_ucode_suspend(struct drm_i915_private *i915);
|
|
void intel_csr_ucode_resume(struct drm_i915_private *i915);
|
|
|
|
#endif /* __INTEL_CSR_H__ */
|