xref: /dflybsd-src/sys/dev/drm/i915/intel_uc.h (revision 3f2dd94a569761201b5b0a18b2f697f97fe1b9dc)
1a85cb24fSFrançois Tigeot /*
2a85cb24fSFrançois Tigeot  * Copyright © 2014 Intel Corporation
3a85cb24fSFrançois Tigeot  *
4a85cb24fSFrançois Tigeot  * Permission is hereby granted, free of charge, to any person obtaining a
5a85cb24fSFrançois Tigeot  * copy of this software and associated documentation files (the "Software"),
6a85cb24fSFrançois Tigeot  * to deal in the Software without restriction, including without limitation
7a85cb24fSFrançois Tigeot  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8a85cb24fSFrançois Tigeot  * and/or sell copies of the Software, and to permit persons to whom the
9a85cb24fSFrançois Tigeot  * Software is furnished to do so, subject to the following conditions:
10a85cb24fSFrançois Tigeot  *
11a85cb24fSFrançois Tigeot  * The above copyright notice and this permission notice (including the next
12a85cb24fSFrançois Tigeot  * paragraph) shall be included in all copies or substantial portions of the
13a85cb24fSFrançois Tigeot  * Software.
14a85cb24fSFrançois Tigeot  *
15a85cb24fSFrançois Tigeot  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16a85cb24fSFrançois Tigeot  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17a85cb24fSFrançois Tigeot  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
18a85cb24fSFrançois Tigeot  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19a85cb24fSFrançois Tigeot  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20a85cb24fSFrançois Tigeot  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21a85cb24fSFrançois Tigeot  * IN THE SOFTWARE.
22a85cb24fSFrançois Tigeot  *
23a85cb24fSFrançois Tigeot  */
24a85cb24fSFrançois Tigeot #ifndef _INTEL_UC_H_
25a85cb24fSFrançois Tigeot #define _INTEL_UC_H_
26a85cb24fSFrançois Tigeot 
27*3f2dd94aSFrançois Tigeot #include "intel_guc.h"
28*3f2dd94aSFrançois Tigeot #include "intel_huc.h"
29a85cb24fSFrançois Tigeot 
30a85cb24fSFrançois Tigeot void intel_uc_sanitize_options(struct drm_i915_private *dev_priv);
31a85cb24fSFrançois Tigeot void intel_uc_init_early(struct drm_i915_private *dev_priv);
32*3f2dd94aSFrançois Tigeot void intel_uc_init_mmio(struct drm_i915_private *dev_priv);
33a85cb24fSFrançois Tigeot void intel_uc_init_fw(struct drm_i915_private *dev_priv);
34a85cb24fSFrançois Tigeot void intel_uc_fini_fw(struct drm_i915_private *dev_priv);
35a85cb24fSFrançois Tigeot int intel_uc_init_hw(struct drm_i915_private *dev_priv);
36a85cb24fSFrançois Tigeot void intel_uc_fini_hw(struct drm_i915_private *dev_priv);
37a85cb24fSFrançois Tigeot 
38a85cb24fSFrançois Tigeot #endif
39