Lines Matching defs:uncore

438 	struct intel_uncore *uncore = gt->uncore;
447 intel_uncore_write(uncore,
451 intel_uncore_write(uncore,
455 intel_uncore_write(uncore,
459 intel_uncore_write(uncore,
476 intel_uncore_rmw(uncore,
494 intel_uncore_write(uncore,
498 intel_uncore_read(uncore,
503 static void xelpmp_setup_private_ppat(struct intel_uncore *uncore)
505 intel_uncore_write(uncore, XELPMP_PAT_INDEX(0),
507 intel_uncore_write(uncore, XELPMP_PAT_INDEX(1),
509 intel_uncore_write(uncore, XELPMP_PAT_INDEX(2),
511 intel_uncore_write(uncore, XELPMP_PAT_INDEX(3),
513 intel_uncore_write(uncore, XELPMP_PAT_INDEX(4),
541 static void tgl_setup_private_ppat(struct intel_uncore *uncore)
544 intel_uncore_write(uncore, GEN12_PAT_INDEX(0), GEN8_PPAT_WB);
545 intel_uncore_write(uncore, GEN12_PAT_INDEX(1), GEN8_PPAT_WC);
546 intel_uncore_write(uncore, GEN12_PAT_INDEX(2), GEN8_PPAT_WT);
547 intel_uncore_write(uncore, GEN12_PAT_INDEX(3), GEN8_PPAT_UC);
548 intel_uncore_write(uncore, GEN12_PAT_INDEX(4), GEN8_PPAT_WB);
549 intel_uncore_write(uncore, GEN12_PAT_INDEX(5), GEN8_PPAT_WB);
550 intel_uncore_write(uncore, GEN12_PAT_INDEX(6), GEN8_PPAT_WB);
551 intel_uncore_write(uncore, GEN12_PAT_INDEX(7), GEN8_PPAT_WB);
559 fw = intel_uncore_forcewake_for_reg(gt->uncore, _MMIO(XEHP_PAT_INDEX(0).reg),
561 intel_uncore_forcewake_get(gt->uncore, fw);
574 intel_uncore_forcewake_put(gt->uncore, fw);
577 static void icl_setup_private_ppat(struct intel_uncore *uncore)
579 intel_uncore_write(uncore,
582 intel_uncore_write(uncore,
585 intel_uncore_write(uncore,
588 intel_uncore_write(uncore,
591 intel_uncore_write(uncore,
594 intel_uncore_write(uncore,
597 intel_uncore_write(uncore,
600 intel_uncore_write(uncore,
610 static void bdw_setup_private_ppat(struct intel_uncore *uncore)
612 struct drm_i915_private *i915 = uncore->i915;
629 intel_uncore_write(uncore, GEN8_PRIVATE_PAT_LO, lower_32_bits(pat));
630 intel_uncore_write(uncore, GEN8_PRIVATE_PAT_HI, upper_32_bits(pat));
633 static void chv_setup_private_ppat(struct intel_uncore *uncore)
665 intel_uncore_write(uncore, GEN8_PRIVATE_PAT_LO, lower_32_bits(pat));
666 intel_uncore_write(uncore, GEN8_PRIVATE_PAT_HI, upper_32_bits(pat));
671 struct intel_uncore *uncore = gt->uncore;
677 xelpmp_setup_private_ppat(gt->uncore);
686 tgl_setup_private_ppat(uncore);
688 icl_setup_private_ppat(uncore);
690 chv_setup_private_ppat(uncore);
692 bdw_setup_private_ppat(uncore);