Home
last modified time | relevance | path

Searched refs:slice_mask (Results 1 – 13 of 13) sorted by relevance

/netbsd/sys/external/bsd/drm2/dist/drm/i915/gt/
H A Dintel_sseu.h27 u8 slice_mask; member
52 u8 slice_mask; member
62 .slice_mask = sseu->slice_mask, in intel_sseu_from_device_info()
H A Dintel_sseu.c105 ctx_sseu.slice_mask = 0x1; in intel_sseu_make_rpcs()
109 slices = hweight8(ctx_sseu.slice_mask); in intel_sseu_make_rpcs()
H A Dintel_engine_types.h610 ((IS_GEN(dev_priv___, 7) ? 1 : ((sseu___)->slice_mask)) & BIT(slice___))
H A Dintel_workarounds.c820 if (INTEL_GEN(i915) >= 10 && is_power_of_2(sseu->slice_mask)) { in wa_init_mcr()
831 slice = fls(sseu->slice_mask) - 1; in wa_init_mcr()
/netbsd/sys/external/bsd/drm2/dist/drm/i915/
H A Dintel_device_info.c119 hweight8(sseu->slice_mask), sseu->slice_mask); in sseu_dump()
224 sseu->slice_mask |= BIT(s); in gen11_compute_sseu_info()
302 sseu->slice_mask = (fuse2 & GEN10_F2_S_ENA_MASK) >> in gen10_sseu_info_init()
376 sseu->slice_mask = BIT(0); in cherryview_sseu_info_init()
451 if (!(sseu->slice_mask & BIT(s))) in gen9_sseu_info_init()
558 if (!(sseu->slice_mask & BIT(s))) in bdw_sseu_info_init()
603 sseu->has_slice_pg = hweight8(sseu->slice_mask) > 1; in bdw_sseu_info_init()
624 sseu->slice_mask = BIT(0); in hsw_sseu_info_init()
628 sseu->slice_mask = BIT(0); in hsw_sseu_info_init()
632 sseu->slice_mask = BIT(0) | BIT(1); in hsw_sseu_info_init()
[all …]
H A Di915_query.c54 BUILD_BUG_ON(sizeof(u8) != sizeof(sseu->slice_mask)); in query_topology_info()
56 slice_length = sizeof(sseu->slice_mask); in query_topology_info()
85 &sseu->slice_mask, slice_length)) in query_topology_info()
H A Di915_getparam.c155 value = sseu->slice_mask; in i915_getparam_ioctl()
H A Di915_debugfs.c3696 sseu->slice_mask = BIT(0); in cherryview_sseu_device_status()
3744 sseu->slice_mask |= BIT(s); in gen10_sseu_device_status()
3794 sseu->slice_mask |= BIT(s); in gen9_sseu_device_status()
3832 sseu->slice_mask = slice_info & GEN8_LSLICESTAT_MASK; in bdw_sseu_device_status()
3834 if (sseu->slice_mask) { in bdw_sseu_device_status()
3836 for (s = 0; s < fls(sseu->slice_mask); s++) in bdw_sseu_device_status()
3843 for (s = 0; s < fls(sseu->slice_mask); s++) { in bdw_sseu_device_status()
3859 sseu->slice_mask); in i915_print_sseu_info()
3861 hweight8(sseu->slice_mask)); in i915_print_sseu_info()
3864 for (s = 0; s < fls(sseu->slice_mask); s++) { in i915_print_sseu_info()
/netbsd/sys/external/bsd/drm2/dist/drm/i915/gem/
H A Di915_gem_context.c1335 if (!user->slice_mask || !user->subslice_mask || in user_to_context_sseu()
1347 if (overflows_type(user->slice_mask, context->slice_mask) || in user_to_context_sseu()
1356 if (user->slice_mask & ~device->slice_mask) in user_to_context_sseu()
1365 context->slice_mask = user->slice_mask; in user_to_context_sseu()
1372 unsigned int hw_s = hweight8(device->slice_mask); in user_to_context_sseu()
1374 unsigned int req_s = hweight8(context->slice_mask); in user_to_context_sseu()
2339 user_sseu.slice_mask = ce->sseu.slice_mask; in get_sseu()
/netbsd/sys/external/bsd/drm2/dist/drm/i915/gem/selftests/
H A Di915_gem_context.c1153 unsigned int slices = hweight32(ce->engine->sseu.slice_mask); in __sseu_finish()
1210 hweight32(sseu.slice_mask), spin); in __sseu_test()
1255 if (hweight32(engine->sseu.slice_mask) < 2) in __igt_ctx_sseu()
1263 pg_sseu.slice_mask = 1; in __igt_ctx_sseu()
1269 hweight32(engine->sseu.slice_mask), in __igt_ctx_sseu()
1270 hweight32(pg_sseu.slice_mask)); in __igt_ctx_sseu()
/netbsd/sys/external/bsd/drm2/dist/drm/i915/gt/uc/
H A Dintel_guc_ads.c107 blob->system_info.slice_enabled = hweight8(RUNTIME_INFO(dev_priv)->sseu.slice_mask); in __guc_ads_init()
/netbsd/sys/dev/pci/qat/
H A Dqat_hw15.c262 qat_adm_ring_build_slice_mask(uint16_t *slice_mask, uint32_t srv_mask, in qat_adm_ring_build_slice_mask() argument
275 *slice_mask = comn_req; in qat_adm_ring_build_slice_mask()
/netbsd/sys/external/bsd/drm2/dist/include/uapi/drm/
H A Di915_drm.h1666 __u64 slice_mask; member