Searched refs:uc_fw (Results 1 – 4 of 4) sorted by relevance
/drivers/gpu/drm/i915/gt/uc/ |
D | intel_uc_fw.c | 30 ____uc_fw_to_gt(struct intel_uc_fw *uc_fw, enum intel_uc_fw_type type) in ____uc_fw_to_gt() argument 36 return container_of(uc_fw, struct intel_gt, uc.guc.fw); in ____uc_fw_to_gt() 38 return container_of(uc_fw, struct intel_gt, uc.huc.fw); in ____uc_fw_to_gt() 40 return container_of(uc_fw, struct intel_gt, uc.gsc.fw); in ____uc_fw_to_gt() 46 static inline struct intel_gt *__uc_fw_to_gt(struct intel_uc_fw *uc_fw) in __uc_fw_to_gt() argument 48 GEM_BUG_ON(uc_fw->status == INTEL_UC_FIRMWARE_UNINITIALIZED); in __uc_fw_to_gt() 49 return ____uc_fw_to_gt(uc_fw, uc_fw->type); in __uc_fw_to_gt() 53 void intel_uc_fw_change_status(struct intel_uc_fw *uc_fw, in intel_uc_fw_change_status() argument 56 uc_fw->__status = status; in intel_uc_fw_change_status() 57 gt_dbg(__uc_fw_to_gt(uc_fw), "%s firmware -> %s\n", in intel_uc_fw_change_status() [all …]
|
D | intel_uc_fw.h | 141 void intel_uc_fw_change_status(struct intel_uc_fw *uc_fw, 144 static inline void intel_uc_fw_change_status(struct intel_uc_fw *uc_fw, in intel_uc_fw_change_status() argument 147 uc_fw->__status = status; in intel_uc_fw_change_status() 224 __intel_uc_fw_status(struct intel_uc_fw *uc_fw) in __intel_uc_fw_status() argument 227 GEM_BUG_ON(uc_fw->status == INTEL_UC_FIRMWARE_UNINITIALIZED); in __intel_uc_fw_status() 228 return uc_fw->status; in __intel_uc_fw_status() 231 static inline bool intel_uc_fw_is_supported(struct intel_uc_fw *uc_fw) in intel_uc_fw_is_supported() argument 233 return __intel_uc_fw_status(uc_fw) != INTEL_UC_FIRMWARE_NOT_SUPPORTED; in intel_uc_fw_is_supported() 236 static inline bool intel_uc_fw_is_enabled(struct intel_uc_fw *uc_fw) in intel_uc_fw_is_enabled() argument 238 return __intel_uc_fw_status(uc_fw) > INTEL_UC_FIRMWARE_DISABLED; in intel_uc_fw_is_enabled() [all …]
|
/drivers/gpu/drm/i915/gt/ |
D | intel_ggtt.c | 555 ret = i915_gem_gtt_reserve(&ggtt->vm, NULL, &ggtt->uc_fw, in ggtt_reserve_guc_top() 567 if (drm_mm_node_allocated(&ggtt->uc_fw)) in ggtt_release_guc_top() 568 drm_mm_remove_node(&ggtt->uc_fw); in ggtt_release_guc_top()
|
D | intel_gtt.h | 395 struct drm_mm_node uc_fw; member
|