Lines Matching full:ccs

473  * DOC: Flat-CCS - Memory compression for Local memory
475 * On Xe-HP and later devices, we use dedicated compression control state (CCS)
479 * The memory required for the CCS of the entire local memory is 1/256 of the
481 * for the CCS data and a secure register will be programmed with the CCS base
484 * Flat CCS data needs to be cleared when a lmem object is allocated.
485 * And CCS data can be copied in and out of CCS region through
486 * XY_CTRL_SURF_COPY_BLT. CPU can't access the CCS data directly.
488 * I915 supports Flat-CCS on lmem only objects. When an objects has smem in
490 * content into smem. If the lmem object is Flat-CCS compressed by userspace,
492 * for such decompression. Hence I915 supports Flat-CCS only on lmem only objects.
494 * When we exhaust the lmem, Flat-CCS capable objects' lmem backing memory can
495 * be temporarily evicted to smem, along with the auxiliary CCS state, where
498 * the backing memory back to lmem, which includes restoring the saved CCS state,
502 * {lmem, smem}, objects are treated as non Flat-CCS capable objects.
533 * The XY_CTRL_SURF_COPY_BLT instruction is used to copy the CCS in emit_copy_ccs()
534 * data in and out of the CCS region. in emit_copy_ccs()
542 * 1024 blocks of 256 bytes of CCS represent a total 256KB of CCS. in emit_copy_ccs()
544 * 256 KB of CCS represents 256 * 256 KB = 64 MB of LMEM. in emit_copy_ccs()
631 * will be taken for the blt. in Flat-ccs supported in calculate_chunk_sz()
709 * When there is a eviction of ccs needed smem will have the in intel_context_migrate_copy()
710 * extra pages for the ccs data in intel_context_migrate_copy()
832 * While we can't always restore/manage the CCS state, in intel_context_migrate_copy()
833 * we still need to ensure we don't leak the CCS state in intel_context_migrate_copy()
1015 * ccs surface in intel_context_migrate_clear()