Home
last modified time | relevance | path

Searched refs:subslice (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_sseu.h123 int subslice) in intel_sseu_has_subslice() argument
126 subslice >= sseu->max_subslices) in intel_sseu_has_subslice()
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()
H A Dintel_workarounds.c1102 unsigned int slice, subslice; in gen9_wa_init_mcr() local
1120 subslice = ffs(intel_sseu_get_hsw_subslices(sseu, slice)); in gen9_wa_init_mcr()
1121 GEM_BUG_ON(!subslice); in gen9_wa_init_mcr()
1122 subslice--; in gen9_wa_init_mcr()
1128 mcr = GEN8_MCR_SLICE(slice) | GEN8_MCR_SUBSLICE(subslice); in gen9_wa_init_mcr()
1131 drm_dbg(&i915->drm, "MCR slice:%d/subslice:%d = %x\n", slice, subslice, mcr); in gen9_wa_init_mcr()
1230 unsigned int slice, unsigned int subslice) in __set_mcr_steering() argument
1234 mcr = GEN11_MCR_SLICE(slice) | GEN11_MCR_SUBSLICE(subslice); in __set_mcr_steering()
1249 unsigned int slice, unsigned int subslice) in __add_mcr_wa() argument
1251 __set_mcr_steering(wal, GEN8_MCR_SELECTOR, slice, subslice); in __add_mcr_wa()
[all …]
H A Dintel_sseu.c48 int subslice) in sseu_get_eus() argument
52 return sseu->eu_mask.xehp[subslice]; in sseu_get_eus()
54 return sseu->eu_mask.hsw[slice][subslice]; in sseu_get_eus()
58 static void sseu_set_eus(struct sseu_dev_info *sseu, int slice, int subslice, in sseu_set_eus() argument
64 sseu->eu_mask.xehp[subslice] = eu_mask; in sseu_set_eus()
66 sseu->eu_mask.hsw[slice][subslice] = eu_mask; in sseu_set_eus()
H A Dintel_engine_cs.c1780 int subslice; in intel_engine_get_instdone() local
1801 for_each_ss_steering(iter, engine->gt, slice, subslice) { in intel_engine_get_instdone()
1802 instdone->sampler[slice][subslice] = in intel_engine_get_instdone()
1805 slice, subslice); in intel_engine_get_instdone()
1806 instdone->row[slice][subslice] = in intel_engine_get_instdone()
1809 slice, subslice); in intel_engine_get_instdone()
1813 for_each_ss_steering(iter, engine->gt, slice, subslice) in intel_engine_get_instdone()
1814 instdone->geom_svg[slice][subslice] = in intel_engine_get_instdone()
1817 slice, subslice); in intel_engine_get_instdone()
H A Dintel_gt_regs.h76 #define GEN8_MCR_SUBSLICE(subslice) (((subslice) & 3) << 24) argument
81 #define GEN11_MCR_SUBSLICE(subslice) (((subslice) & 0x7) << 24) argument
507 #define GEN9_PGCTL_SS_ACK(subslice) (1 << (2 + (subslice) * 2)) argument
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_gpu_error.c442 int subslice; in error_print_instdone() local
457 for_each_ss_steering(iter, ee->engine->gt, slice, subslice) in error_print_instdone()
459 slice, subslice, in error_print_instdone()
460 ee->instdone.sampler[slice][subslice]); in error_print_instdone()
462 for_each_ss_steering(iter, ee->engine->gt, slice, subslice) in error_print_instdone()
464 slice, subslice, in error_print_instdone()
465 ee->instdone.row[slice][subslice]); in error_print_instdone()
471 for_each_ss_steering(iter, ee->engine->gt, slice, subslice) in error_print_instdone()
473 slice, subslice, in error_print_instdone()
474 ee->instdone.geom_svg[slice][subslice]); in error_print_instdone()
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_capture.c300 int slice, subslice, iter, i, num_steer_regs, num_tot_regs = 0; in guc_capture_alloc_steered_lists() local
320 for_each_ss_steering(iter, gt, slice, subslice) in guc_capture_alloc_steered_lists()
337 for_each_ss_steering(iter, gt, slice, subslice) { in guc_capture_alloc_steered_lists()
339 __fill_ext_reg(extarray, &gen8_extregs[i], slice, subslice); in guc_capture_alloc_steered_lists()
345 __fill_ext_reg(extarray, &xehpg_extregs[i], slice, subslice); in guc_capture_alloc_steered_lists()