mirror of
https://github.com/torvalds/linux.git
synced 2026-12-05 12:54:27 +00:00
The DMC firmware is about display. Move the handling under display. No functional changes. Cc: Ville Syrjälä <[email protected]> Acked-by: Ville Syrjälä <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
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__ */
|