Home
last modified time | relevance | path

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

/openbsd/sys/dev/pci/drm/i915/gt/
H A Dintel_sseu.c156 sseu->slice_mask |= BIT(0); in gen11_compute_sseu_info()
172 sseu->slice_mask |= BIT(0); in xehp_compute_sseu_info()
338 sseu->slice_mask = BIT(0); in cherryview_sseu_info_init()
412 if (!(sseu->slice_mask & BIT(s))) in gen9_sseu_info_init()
591 sseu->slice_mask = BIT(0); in hsw_sseu_info_init()
595 sseu->slice_mask = BIT(0); in hsw_sseu_info_init()
791 hweight8(sseu->slice_mask), sseu->slice_mask); in intel_sseu_dump()
888 unsigned long slice_mask = 0; in intel_slicemask_from_xehp_dssmask() local
892 8 * sizeof(slice_mask)); in intel_slicemask_from_xehp_dssmask()
897 slice_mask |= BIT(i); in intel_slicemask_from_xehp_dssmask()
[all …]
H A Dintel_sseu_debugfs.c36 sseu->slice_mask = BIT(0); in cherryview_sseu_device_status()
87 sseu->slice_mask |= BIT(s); in gen11_sseu_device_status()
140 sseu->slice_mask |= BIT(s); in gen9_sseu_device_status()
175 sseu->slice_mask = slice_info & GEN8_LSLICESTAT_MASK; in bdw_sseu_device_status()
177 if (sseu->slice_mask) { in bdw_sseu_device_status()
179 for (s = 0; s < fls(sseu->slice_mask); s++) in bdw_sseu_device_status()
185 for (s = 0; s < fls(sseu->slice_mask); s++) { in bdw_sseu_device_status()
201 sseu->slice_mask); in i915_print_sseu_info()
203 hweight8(sseu->slice_mask)); in i915_print_sseu_info()
H A Dintel_sseu.h69 u8 slice_mask; member
102 u8 slice_mask; member
112 .slice_mask = sseu->slice_mask, in intel_sseu_from_device_info()
H A Dintel_workarounds.c1124 slice = ffs(sseu->slice_mask) - 1; in gen9_wa_init_mcr()
1272 GEM_BUG_ON(hweight8(sseu->slice_mask) > 1); in icl_wa_init_mcr()
1300 unsigned long slice, subslice = 0, slice_mask = 0; in xehp_init_mcr() local
1331 slice_mask = intel_slicemask_from_xehp_dssmask(sseu->subslice_mask, in xehp_init_mcr()
1345 if (slice_mask & lncf_mask) { in xehp_init_mcr()
1346 slice_mask &= lncf_mask; in xehp_init_mcr()
1351 if (slice_mask & gt->info.mslice_mask) { in xehp_init_mcr()
1352 slice_mask &= gt->info.mslice_mask; in xehp_init_mcr()
1356 if (IS_XEHPSDV(gt->i915) && slice_mask & BIT(0)) in xehp_init_mcr()
1359 slice = __ffs(slice_mask); in xehp_init_mcr()
/openbsd/sys/dev/pci/drm/i915/gem/
H A Di915_gem_context.c998 if (sseu.slice_mask && !WARN_ON(ce->engine->class != RENDER_CLASS)) in intel_context_set_gem()
1928 if (!user->slice_mask || !user->subslice_mask || in i915_gem_user_to_context_sseu()
1940 if (overflows_type(user->slice_mask, context->slice_mask) || in i915_gem_user_to_context_sseu()
1949 if (user->slice_mask & ~device->slice_mask) in i915_gem_user_to_context_sseu()
1958 context->slice_mask = user->slice_mask; in i915_gem_user_to_context_sseu()
1965 unsigned int hw_s = hweight8(device->slice_mask); in i915_gem_user_to_context_sseu()
1967 unsigned int req_s = hweight8(context->slice_mask); in i915_gem_user_to_context_sseu()
2440 user_sseu.slice_mask = ce->sseu.slice_mask; in get_sseu()
/openbsd/sys/dev/pci/drm/i915/
H A Di915_query.c42 BUILD_BUG_ON(sizeof(u8) != sizeof(sseu->slice_mask)); in fill_topology_info()
47 slice_length = sizeof(sseu->slice_mask); in fill_topology_info()
73 &sseu->slice_mask, slice_length)) in fill_topology_info()
H A Di915_getparam.c166 value = sseu->slice_mask; in i915_getparam_ioctl()
H A Di915_perf.c3230 out_sseu->slice_mask = 0x1; in get_default_sseu_config()
/openbsd/sys/dev/pci/drm/i915/display/
H A Dintel_display_device.c449 .dbuf.slice_mask = BIT(DBUF_S1),
473 .dbuf.slice_mask = BIT(DBUF_S1), \
513 .dbuf.slice_mask = BIT(DBUF_S1) | BIT(DBUF_S2), \
566 .dbuf.slice_mask = BIT(DBUF_S1) | BIT(DBUF_S2), \
654 .dbuf.slice_mask = BIT(DBUF_S1) | BIT(DBUF_S2) | BIT(DBUF_S3) | \
H A Dskl_watermark.c511 hweight8(DISPLAY_INFO(i915)->dbuf.slice_mask); in intel_dbuf_slice_size()
520 if (!slice_mask) { in skl_ddb_entry_for_slices()
526 ddb->start = (ffs(slice_mask) - 1) * slice_size; in skl_ddb_entry_for_slices()
527 ddb->end = fls(slice_mask) * slice_size; in skl_ddb_entry_for_slices()
537 if (slice_mask & (BIT(DBUF_S1) | BIT(DBUF_S2))) in mbus_ddb_offset()
538 slice_mask = BIT(DBUF_S1); in mbus_ddb_offset()
540 slice_mask = BIT(DBUF_S3); in mbus_ddb_offset()
552 u8 slice_mask = 0; in skl_ddb_dbuf_slice_mask() local
565 slice_mask |= BIT(start_slice); in skl_ddb_dbuf_slice_mask()
569 return slice_mask; in skl_ddb_dbuf_slice_mask()
[all …]
H A Dintel_display_device.h105 u8 slice_mask; member
H A Dintel_display_power.c1083 u8 slice_mask = DISPLAY_INFO(dev_priv)->dbuf.slice_mask; in gen9_dbuf_slices_update() local
1086 drm_WARN(&dev_priv->drm, req_slices & ~slice_mask, in gen9_dbuf_slices_update()
1088 req_slices, slice_mask); in gen9_dbuf_slices_update()
H A Dintel_display.h118 for_each_if(DISPLAY_INFO(__dev_priv)->dbuf.slice_mask & BIT(__slice))
/openbsd/sys/dev/pci/drm/i915/gem/selftests/
H A Di915_gem_context.c1169 unsigned int slices = hweight32(ce->engine->sseu.slice_mask); in __sseu_finish()
1226 hweight32(sseu.slice_mask), spin); in __sseu_test()
1271 if (hweight32(engine->sseu.slice_mask) < 2) in __igt_ctx_sseu()
1282 pg_sseu.slice_mask = 1; in __igt_ctx_sseu()
1288 hweight32(engine->sseu.slice_mask), in __igt_ctx_sseu()
1289 hweight32(pg_sseu.slice_mask)); in __igt_ctx_sseu()
/openbsd/sys/dev/pci/drm/include/uapi/drm/
H A Di915_drm.h2194 __u64 slice_mask; member
/openbsd/sys/dev/pci/drm/i915/gt/uc/
H A Dintel_guc_ads.c821 hweight8(gt->info.sseu.slice_mask)); in __guc_ads_init()