Home
last modified time | relevance | path

Searched refs:uc_fw (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/
H A 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) in intel_uc_fw_change_status()
114 __uc_fw_auto_select(struct drm_i915_private *i915, struct intel_uc_fw *uc_fw) __uc_fw_auto_select() argument
174 __uc_fw_user_override(struct drm_i915_private *i915, struct intel_uc_fw *uc_fw) __uc_fw_user_override() argument
201 intel_uc_fw_init_early(struct intel_uc_fw *uc_fw, enum intel_uc_fw_type type) intel_uc_fw_init_early() argument
227 __force_fw_fetch_failures(struct intel_uc_fw *uc_fw, int e) __force_fw_fetch_failures() argument
272 intel_uc_fw_fetch(struct intel_uc_fw *uc_fw) intel_uc_fw_fetch() argument
400 uc_fw_ggtt_offset(struct intel_uc_fw *uc_fw) uc_fw_ggtt_offset() argument
412 uc_fw_bind_ggtt(struct intel_uc_fw *uc_fw) uc_fw_bind_ggtt() argument
432 uc_fw_unbind_ggtt(struct intel_uc_fw *uc_fw) uc_fw_unbind_ggtt() argument
441 uc_fw_xfer(struct intel_uc_fw *uc_fw, u32 dst_offset, u32 dma_flags) uc_fw_xfer() argument
500 intel_uc_fw_upload(struct intel_uc_fw *uc_fw, u32 dst_offset, u32 dma_flags) intel_uc_fw_upload() argument
533 intel_uc_fw_init(struct intel_uc_fw *uc_fw) intel_uc_fw_init() argument
553 intel_uc_fw_fini(struct intel_uc_fw *uc_fw) intel_uc_fw_fini() argument
567 intel_uc_fw_cleanup_fetch(struct intel_uc_fw *uc_fw) intel_uc_fw_cleanup_fetch() argument
586 intel_uc_fw_copy_rsa(struct intel_uc_fw *uc_fw, void *dst, u32 max_len) intel_uc_fw_copy_rsa() argument
604 intel_uc_fw_dump(const struct intel_uc_fw *uc_fw, struct drm_printer *p) intel_uc_fw_dump() argument
[all...]
H A 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_DISABLE in intel_uc_fw_is_enabled()
191 intel_uc_fw_is_available(struct intel_uc_fw *uc_fw) intel_uc_fw_is_available() argument
196 intel_uc_fw_is_loadable(struct intel_uc_fw *uc_fw) intel_uc_fw_is_loadable() argument
201 intel_uc_fw_is_loaded(struct intel_uc_fw *uc_fw) intel_uc_fw_is_loaded() argument
206 intel_uc_fw_is_running(struct intel_uc_fw *uc_fw) intel_uc_fw_is_running() argument
211 intel_uc_fw_is_overridden(const struct intel_uc_fw *uc_fw) intel_uc_fw_is_overridden() argument
216 intel_uc_fw_sanitize(struct intel_uc_fw *uc_fw) intel_uc_fw_sanitize() argument
222 __intel_uc_fw_get_upload_size(struct intel_uc_fw *uc_fw) __intel_uc_fw_get_upload_size() argument
235 intel_uc_fw_get_upload_size(struct intel_uc_fw *uc_fw) intel_uc_fw_get_upload_size() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/
H A Dintel_uc_fw.c30 ____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 in intel_uc_fw_change_status()
260 __uc_fw_auto_select(struct drm_i915_private *i915, struct intel_uc_fw *uc_fw) __uc_fw_auto_select() argument
452 __uc_fw_user_override(struct drm_i915_private *i915, struct intel_uc_fw *uc_fw) __uc_fw_user_override() argument
494 intel_uc_fw_init_early(struct intel_uc_fw *uc_fw, enum intel_uc_fw_type type, bool needs_ggtt_mapping) intel_uc_fw_init_early() argument
529 __force_fw_fetch_failures(struct intel_uc_fw *uc_fw, int e) __force_fw_fetch_failures() argument
574 guc_read_css_info(struct intel_uc_fw *uc_fw, struct uc_css_header *css) guc_read_css_info() argument
622 __check_ccs_header(struct intel_gt *gt, const void *fw_data, size_t fw_size, struct intel_uc_fw *uc_fw) __check_ccs_header() argument
681 check_gsc_manifest(struct intel_gt *gt, const struct firmware *fw, struct intel_uc_fw *uc_fw) check_gsc_manifest() argument
706 check_ccs_header(struct intel_gt *gt, const struct firmware *fw, struct intel_uc_fw *uc_fw) check_ccs_header() argument
718 guc_check_version_range(struct intel_uc_fw *uc_fw) guc_check_version_range() argument
750 check_fw_header(struct intel_gt *gt, const struct firmware *fw, struct intel_uc_fw *uc_fw) check_fw_header() argument
766 try_firmware_load(struct intel_uc_fw *uc_fw, const struct firmware **fw) try_firmware_load() argument
825 intel_uc_check_file_version(struct intel_uc_fw *uc_fw, bool *old_ver) intel_uc_check_file_version() argument
873 intel_uc_fw_fetch(struct intel_uc_fw *uc_fw) intel_uc_fw_fetch() argument
988 uc_fw_ggtt_offset(struct intel_uc_fw *uc_fw) uc_fw_ggtt_offset() argument
1016 uc_fw_bind_ggtt(struct intel_uc_fw *uc_fw) uc_fw_bind_ggtt() argument
1051 uc_fw_unbind_ggtt(struct intel_uc_fw *uc_fw) uc_fw_unbind_ggtt() argument
1062 uc_fw_xfer(struct intel_uc_fw *uc_fw, u32 dst_offset, u32 dma_flags) uc_fw_xfer() argument
1111 intel_uc_fw_mark_load_failed(struct intel_uc_fw *uc_fw, int err) intel_uc_fw_mark_load_failed() argument
1134 intel_uc_fw_upload(struct intel_uc_fw *uc_fw, u32 dst_offset, u32 dma_flags) intel_uc_fw_upload() argument
1161 uc_fw_need_rsa_in_memory(struct intel_uc_fw *uc_fw) uc_fw_need_rsa_in_memory() argument
1171 uc_fw_rsa_data_create(struct intel_uc_fw *uc_fw) uc_fw_rsa_data_create() argument
1225 uc_fw_rsa_data_destroy(struct intel_uc_fw *uc_fw) uc_fw_rsa_data_destroy() argument
1230 intel_uc_fw_init(struct intel_uc_fw *uc_fw) intel_uc_fw_init() argument
1264 intel_uc_fw_fini(struct intel_uc_fw *uc_fw) intel_uc_fw_fini() argument
1275 intel_uc_fw_resume_mapping(struct intel_uc_fw *uc_fw) intel_uc_fw_resume_mapping() argument
1292 intel_uc_fw_cleanup_fetch(struct intel_uc_fw *uc_fw) intel_uc_fw_cleanup_fetch() argument
1311 intel_uc_fw_copy_rsa(struct intel_uc_fw *uc_fw, void *dst, u32 max_len) intel_uc_fw_copy_rsa() argument
1384 intel_uc_fw_dump(const struct intel_uc_fw *uc_fw, struct drm_printer *p) intel_uc_fw_dump() argument
[all...]
H A Dintel_uc_fw.h141 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_DISABLE in intel_uc_fw_is_enabled()
241 intel_uc_fw_is_available(struct intel_uc_fw *uc_fw) intel_uc_fw_is_available() argument
246 intel_uc_fw_is_loadable(struct intel_uc_fw *uc_fw) intel_uc_fw_is_loadable() argument
251 intel_uc_fw_is_loaded(struct intel_uc_fw *uc_fw) intel_uc_fw_is_loaded() argument
256 intel_uc_fw_is_running(struct intel_uc_fw *uc_fw) intel_uc_fw_is_running() argument
261 intel_uc_fw_is_overridden(const struct intel_uc_fw *uc_fw) intel_uc_fw_is_overridden() argument
266 intel_uc_fw_sanitize(struct intel_uc_fw *uc_fw) intel_uc_fw_sanitize() argument
272 __intel_uc_fw_get_upload_size(struct intel_uc_fw *uc_fw) __intel_uc_fw_get_upload_size() argument
285 intel_uc_fw_get_upload_size(struct intel_uc_fw *uc_fw) intel_uc_fw_get_upload_size() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
H A 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()
H A Dintel_gtt.h338 struct drm_mm_node uc_fw; member
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dintel_ggtt.c555 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()
H A Dintel_gtt.h395 struct drm_mm_node uc_fw; member

Completed in 9 milliseconds