1 /* SPDX-License-Identifier: MIT */
3 * Copyright © 2019 Intel Corporation
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__ */