Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/i915/gt/
Dintel_sseu.c27 return bitmap_weight(sseu->subslice_mask.xehp, in intel_sseu_subslice_total()
28 XEHP_BITMAP_BITS(sseu->subslice_mask)); in intel_sseu_subslice_total()
30 for (i = 0; i < ARRAY_SIZE(sseu->subslice_mask.hsw); i++) in intel_sseu_subslice_total()
31 total += hweight8(sseu->subslice_mask.hsw[i]); in intel_sseu_subslice_total()
43 return sseu->subslice_mask.hsw[slice]; in intel_sseu_get_hsw_subslices()
156 sseu->subslice_mask.hsw[0] = ss_en & valid_ss_mask; in gen11_compute_sseu_info()
173 bitmap_or(sseu->subslice_mask.xehp, in xehp_compute_sseu_info()
176 XEHP_BITMAP_BITS(sseu->subslice_mask)); in xehp_compute_sseu_info()
347 sseu->subslice_mask.hsw[0] |= BIT(0); in cherryview_sseu_info_init()
358 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.c102 intel_slicemask_from_xehp_dssmask(gt->info.sseu.subslice_mask, in intel_gt_mcr_init()
Dintel_workarounds.c958 GEM_BUG_ON(slice >= ARRAY_SIZE(sseu->subslice_mask.hsw)); in gen9_wa_init_mcr()
1159 slice_mask = intel_slicemask_from_xehp_dssmask(sseu->subslice_mask, in xehp_init_mcr()
/Linux-v6.1/drivers/gpu/drm/i915/gem/
Di915_gem_context.c1883 if (!user->slice_mask || !user->subslice_mask || in i915_gem_user_to_context_sseu()
1896 overflows_type(user->subslice_mask, context->subslice_mask) || in i915_gem_user_to_context_sseu()
1907 if (user->subslice_mask & ~dev_subslice_mask) in i915_gem_user_to_context_sseu()
1914 context->subslice_mask = user->subslice_mask; in i915_gem_user_to_context_sseu()
1923 unsigned int req_ss = hweight8(context->subslice_mask); in i915_gem_user_to_context_sseu()
2383 user_sseu.subslice_mask = ce->sseu.subslice_mask; in get_sseu()
/Linux-v6.1/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.c2823 out_sseu->subslice_mask = in get_default_sseu_config()
2824 ~(~0 << (hweight8(out_sseu->subslice_mask) / 2)); in get_default_sseu_config()
/Linux-v6.1/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_context.c1262 pg_sseu.subslice_mask = in __igt_ctx_sseu()
1263 ~(~0 << (hweight32(engine->sseu.subslice_mask) / 2)); in __igt_ctx_sseu()
/Linux-v6.1/include/uapi/drm/
Di915_drm.h2128 __u64 subslice_mask; member
/Linux-v6.1/tools/include/uapi/drm/
Di915_drm.h2128 __u64 subslice_mask; member