Home
last modified time | relevance | path

Searched refs:uc_fw (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/i915/gt/uc/
Dintel_uc_fw.c15 static inline struct intel_gt *__uc_fw_to_gt(struct intel_uc_fw *uc_fw) in __uc_fw_to_gt() argument
17 GEM_BUG_ON(uc_fw->status == INTEL_UC_FIRMWARE_UNINITIALIZED); in __uc_fw_to_gt()
18 if (uc_fw->type == INTEL_UC_FW_TYPE_GUC) in __uc_fw_to_gt()
19 return container_of(uc_fw, struct intel_gt, uc.guc.fw); in __uc_fw_to_gt()
21 GEM_BUG_ON(uc_fw->type != INTEL_UC_FW_TYPE_HUC); in __uc_fw_to_gt()
22 return container_of(uc_fw, struct intel_gt, uc.huc.fw); in __uc_fw_to_gt()
25 void intel_uc_fw_change_status(struct intel_uc_fw *uc_fw, in intel_uc_fw_change_status() argument
28 uc_fw->__status = status; in intel_uc_fw_change_status()
29 DRM_DEV_DEBUG_DRIVER(__uc_fw_to_gt(uc_fw)->i915->drm.dev, in intel_uc_fw_change_status()
31 intel_uc_fw_type_repr(uc_fw->type), in intel_uc_fw_change_status()
[all …]
Dintel_uc_fw.h90 void intel_uc_fw_change_status(struct intel_uc_fw *uc_fw,
93 static inline void intel_uc_fw_change_status(struct intel_uc_fw *uc_fw, in intel_uc_fw_change_status() argument
96 uc_fw->__status = status; in intel_uc_fw_change_status()
165 __intel_uc_fw_status(struct intel_uc_fw *uc_fw) in __intel_uc_fw_status() argument
168 GEM_BUG_ON(uc_fw->status == INTEL_UC_FIRMWARE_UNINITIALIZED); in __intel_uc_fw_status()
169 return uc_fw->status; in __intel_uc_fw_status()
172 static inline bool intel_uc_fw_is_supported(struct intel_uc_fw *uc_fw) in intel_uc_fw_is_supported() argument
174 return __intel_uc_fw_status(uc_fw) != INTEL_UC_FIRMWARE_NOT_SUPPORTED; in intel_uc_fw_is_supported()
177 static inline bool intel_uc_fw_is_enabled(struct intel_uc_fw *uc_fw) in intel_uc_fw_is_enabled() argument
179 return __intel_uc_fw_status(uc_fw) > INTEL_UC_FIRMWARE_DISABLED; in intel_uc_fw_is_enabled()
[all …]
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_gem_gtt.h419 struct drm_mm_node uc_fw; member
Di915_gem_gtt.c2646 ret = i915_gem_gtt_reserve(&ggtt->vm, &ggtt->uc_fw, size, in ggtt_reserve_guc_top()
2657 if (drm_mm_node_allocated(&ggtt->uc_fw)) in ggtt_release_guc_top()
2658 drm_mm_remove_node(&ggtt->uc_fw); in ggtt_release_guc_top()