WIP FPC-III support
[linux/fpc-iii.git] / drivers / gpu / drm / i915 / display / intel_csr.h
blob03c64f8af7ab333836ba04f8f2064ea54f0e6b35
1 /* SPDX-License-Identifier: MIT */
2 /*
3 * Copyright © 2019 Intel Corporation
4 */
6 #ifndef __INTEL_CSR_H__
7 #define __INTEL_CSR_H__
9 struct drm_i915_private;
11 #define CSR_VERSION(major, minor) ((major) << 16 | (minor))
12 #define CSR_VERSION_MAJOR(version) ((version) >> 16)
13 #define CSR_VERSION_MINOR(version) ((version) & 0xffff)
15 void intel_csr_ucode_init(struct drm_i915_private *i915);
16 void intel_csr_load_program(struct drm_i915_private *i915);
17 void intel_csr_ucode_fini(struct drm_i915_private *i915);
18 void intel_csr_ucode_suspend(struct drm_i915_private *i915);
19 void intel_csr_ucode_resume(struct drm_i915_private *i915);
21 #endif /* __INTEL_CSR_H__ */