| /* SPDX-License-Identifier: MIT */ |
| * Copyright © 2019 Intel Corporation |
| #include "intel_wakeref.h" |
| #include <linux/workqueue.h> |
| #define DMC_VERSION(major, minor) ((major) << 16 | (minor)) |
| #define DMC_VERSION_MAJOR(version) ((version) >> 16) |
| #define DMC_VERSION_MINOR(version) ((version) & 0xffff) |
| u32 max_fw_size; /* bytes */ |
| u32 dmc_fw_size; /*dwords */ |
| void intel_dmc_ucode_init(struct drm_i915_private *i915); |
| void intel_dmc_load_program(struct drm_i915_private *i915); |
| void intel_dmc_ucode_fini(struct drm_i915_private *i915); |
| void intel_dmc_ucode_suspend(struct drm_i915_private *i915); |
| void intel_dmc_ucode_resume(struct drm_i915_private *i915); |
| bool intel_dmc_has_payload(struct drm_i915_private *i915); |
| #endif /* __INTEL_DMC_H__ */ |