Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/
Dintel_uc_fw.c15 ____uc_fw_to_gt(struct intel_uc_fw *uc_fw, enum intel_uc_fw_type type) in ____uc_fw_to_gt() argument
18 return container_of(uc_fw, struct intel_gt, uc.guc.fw); in ____uc_fw_to_gt()
21 return container_of(uc_fw, struct intel_gt, uc.huc.fw); in ____uc_fw_to_gt()
24 static inline struct intel_gt *__uc_fw_to_gt(struct intel_uc_fw *uc_fw) in __uc_fw_to_gt() argument
26 GEM_BUG_ON(uc_fw->status == INTEL_UC_FIRMWARE_UNINITIALIZED); in __uc_fw_to_gt()
27 return ____uc_fw_to_gt(uc_fw, uc_fw->type); in __uc_fw_to_gt()
31 void intel_uc_fw_change_status(struct intel_uc_fw *uc_fw, in intel_uc_fw_change_status() argument
34 uc_fw->__status = status; in intel_uc_fw_change_status()
35 drm_dbg(&__uc_fw_to_gt(uc_fw)->i915->drm, in intel_uc_fw_change_status()
37 intel_uc_fw_type_repr(uc_fw->type), in intel_uc_fw_change_status()
[all …]
Dintel_uc_fw.h96 void intel_uc_fw_change_status(struct intel_uc_fw *uc_fw,
99 static inline void intel_uc_fw_change_status(struct intel_uc_fw *uc_fw, in intel_uc_fw_change_status() argument
102 uc_fw->__status = status; in intel_uc_fw_change_status()
174 __intel_uc_fw_status(struct intel_uc_fw *uc_fw) in __intel_uc_fw_status() argument
177 GEM_BUG_ON(uc_fw->status == INTEL_UC_FIRMWARE_UNINITIALIZED); in __intel_uc_fw_status()
178 return uc_fw->status; in __intel_uc_fw_status()
181 static inline bool intel_uc_fw_is_supported(struct intel_uc_fw *uc_fw) in intel_uc_fw_is_supported() argument
183 return __intel_uc_fw_status(uc_fw) != INTEL_UC_FIRMWARE_NOT_SUPPORTED; in intel_uc_fw_is_supported()
186 static inline bool intel_uc_fw_is_enabled(struct intel_uc_fw *uc_fw) in intel_uc_fw_is_enabled() argument
188 return __intel_uc_fw_status(uc_fw) > INTEL_UC_FIRMWARE_DISABLED; in intel_uc_fw_is_enabled()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_ggtt.c474 ret = i915_gem_gtt_reserve(&ggtt->vm, &ggtt->uc_fw, size, in ggtt_reserve_guc_top()
486 if (drm_mm_node_allocated(&ggtt->uc_fw)) in ggtt_release_guc_top()
487 drm_mm_remove_node(&ggtt->uc_fw); in ggtt_release_guc_top()
Dintel_gtt.h338 struct drm_mm_node uc_fw; member