Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/gt/uc/
Dintel_uc_fw.c20 ____uc_fw_to_gt(struct intel_uc_fw *uc_fw, enum intel_uc_fw_type type) in ____uc_fw_to_gt() argument
23 return container_of(uc_fw, struct intel_gt, uc.guc.fw); in ____uc_fw_to_gt()
26 return container_of(uc_fw, struct intel_gt, uc.huc.fw); in ____uc_fw_to_gt()
29 static inline struct intel_gt *__uc_fw_to_gt(struct intel_uc_fw *uc_fw) in __uc_fw_to_gt() argument
31 GEM_BUG_ON(uc_fw->status == INTEL_UC_FIRMWARE_UNINITIALIZED); in __uc_fw_to_gt()
32 return ____uc_fw_to_gt(uc_fw, uc_fw->type); in __uc_fw_to_gt()
36 void intel_uc_fw_change_status(struct intel_uc_fw *uc_fw, in intel_uc_fw_change_status() argument
39 uc_fw->__status = status; in intel_uc_fw_change_status()
40 drm_dbg(&__uc_fw_to_gt(uc_fw)->i915->drm, in intel_uc_fw_change_status()
42 intel_uc_fw_type_repr(uc_fw->type), in intel_uc_fw_change_status()
[all …]
Dintel_uc_fw.h118 void intel_uc_fw_change_status(struct intel_uc_fw *uc_fw,
121 static inline void intel_uc_fw_change_status(struct intel_uc_fw *uc_fw, in intel_uc_fw_change_status() argument
124 uc_fw->__status = status; in intel_uc_fw_change_status()
199 __intel_uc_fw_status(struct intel_uc_fw *uc_fw) in __intel_uc_fw_status() argument
202 GEM_BUG_ON(uc_fw->status == INTEL_UC_FIRMWARE_UNINITIALIZED); in __intel_uc_fw_status()
203 return uc_fw->status; in __intel_uc_fw_status()
206 static inline bool intel_uc_fw_is_supported(struct intel_uc_fw *uc_fw) in intel_uc_fw_is_supported() argument
208 return __intel_uc_fw_status(uc_fw) != INTEL_UC_FIRMWARE_NOT_SUPPORTED; in intel_uc_fw_is_supported()
211 static inline bool intel_uc_fw_is_enabled(struct intel_uc_fw *uc_fw) in intel_uc_fw_is_enabled() argument
213 return __intel_uc_fw_status(uc_fw) > INTEL_UC_FIRMWARE_DISABLED; in intel_uc_fw_is_enabled()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_ggtt.c514 ret = i915_gem_gtt_reserve(&ggtt->vm, NULL, &ggtt->uc_fw, size, in ggtt_reserve_guc_top()
526 if (drm_mm_node_allocated(&ggtt->uc_fw)) in ggtt_release_guc_top()
527 drm_mm_remove_node(&ggtt->uc_fw); in ggtt_release_guc_top()
Dintel_gtt.h391 struct drm_mm_node uc_fw; member