Home
last modified time | relevance | path

Searched refs:subslice_mask (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_sseu.c28 return bitmap_weight(sseu->subslice_mask.xehp, in intel_sseu_subslice_total()
29 XEHP_BITMAP_BITS(sseu->subslice_mask)); in intel_sseu_subslice_total()
31 for (i = 0; i < ARRAY_SIZE(sseu->subslice_mask.hsw); i++) in intel_sseu_subslice_total()
32 total += hweight8(sseu->subslice_mask.hsw[i]); in intel_sseu_subslice_total()
44 return sseu->subslice_mask.hsw[slice]; in intel_sseu_get_hsw_subslices()
157 sseu->subslice_mask.hsw[0] = ss_en & valid_ss_mask; in gen11_compute_sseu_info()
174 bitmap_or(sseu->subslice_mask.xehp, in xehp_compute_sseu_info()
177 XEHP_BITMAP_BITS(sseu->subslice_mask)); in xehp_compute_sseu_info()
348 sseu->subslice_mask.hsw[0] |= BIT(0); in cherryview_sseu_info_init()
359 sseu->subslice_mask.hsw[0] |= BIT(1); in cherryview_sseu_info_init()
[all …]
Dintel_sseu.h70 intel_sseu_ss_mask_t subslice_mask; member
103 u8 subslice_mask; member
113 .subslice_mask = sseu->subslice_mask.hsw[0], in intel_sseu_from_device_info()
130 return test_bit(subslice, sseu->subslice_mask.xehp); in intel_sseu_has_subslice()
132 return sseu->subslice_mask.hsw[slice] & BIT(subslice); in intel_sseu_has_subslice()
144 return find_next_bit(sseu->subslice_mask.xehp, in intel_sseu_find_first_xehp_dss()
145 XEHP_BITMAP_BITS(sseu->subslice_mask), in intel_sseu_find_first_xehp_dss()
Dintel_sseu_debugfs.c37 sseu->subslice_mask.hsw[0] |= BIT(ss); in cherryview_sseu_device_status()
88 sseu->subslice_mask.hsw[s] = info->sseu.subslice_mask.hsw[s]; in gen11_sseu_device_status()
143 sseu->subslice_mask.hsw[s] = info->sseu.subslice_mask.hsw[s]; in gen9_sseu_device_status()
153 sseu->subslice_mask.hsw[s] |= BIT(ss); in gen9_sseu_device_status()
180 sseu->subslice_mask.hsw[s] = info->sseu.subslice_mask.hsw[s]; in bdw_sseu_device_status()
Dintel_gt_mcr.c155 intel_slicemask_from_xehp_dssmask(gt->info.sseu.subslice_mask, in intel_gt_mcr_init()
Dintel_workarounds.c1136 GEM_BUG_ON(slice >= ARRAY_SIZE(sseu->subslice_mask.hsw)); in gen9_wa_init_mcr()
1342 slice_mask = intel_slicemask_from_xehp_dssmask(sseu->subslice_mask, in xehp_init_mcr()
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_context.c1899 if (!user->slice_mask || !user->subslice_mask || in i915_gem_user_to_context_sseu()
1912 overflows_type(user->subslice_mask, context->subslice_mask) || in i915_gem_user_to_context_sseu()
1923 if (user->subslice_mask & ~dev_subslice_mask) in i915_gem_user_to_context_sseu()
1930 context->subslice_mask = user->subslice_mask; in i915_gem_user_to_context_sseu()
1939 unsigned int req_ss = hweight8(context->subslice_mask); in i915_gem_user_to_context_sseu()
2406 user_sseu.subslice_mask = ce->sseu.subslice_mask; in get_sseu()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_query.c34 intel_sseu_ss_mask_t subslice_mask) in fill_topology_info() argument
98 return fill_topology_info(sseu, query_item, sseu->subslice_mask); in query_topology_info()
Di915_perf.c3233 out_sseu->subslice_mask = in get_default_sseu_config()
3234 ~(~0 << (hweight8(out_sseu->subslice_mask) / 2)); in get_default_sseu_config()
/linux-6.6.21/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_context.c1283 pg_sseu.subslice_mask = in __igt_ctx_sseu()
1284 ~(~0 << (hweight32(engine->sseu.subslice_mask) / 2)); in __igt_ctx_sseu()
/linux-6.6.21/tools/include/uapi/drm/
Di915_drm.h2200 __u64 subslice_mask; member
/linux-6.6.21/include/uapi/drm/
Di915_drm.h2200 __u64 subslice_mask; member