Age | Commit message (Collapse) | Author |
|
Verify flatccs data won't be corrupted when device will be put
to S0 (s2idle) state.
v2: addressing review comments (Kamil)
v3: fix memory leak (Kamil)
Signed-off-by: Apoorva Singh <apoorva1.singh@intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
|
|
Verify ccs data is binded to physical memory by using
XY_CTRL_SURF_COPY_BLT command in separate context.
v2: add separate allocator handle for new context (Zbigniew)
Signed-off-by: Apoorva Singh <apoorva1.singh@intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
|
|
DG2 and above supports flat-ccs what means object compression lays in
dedicated part of memory and is directly correlated with object location
in physical memory. As no mapping is possible from CPU side to this area
dedicated blitter command (XY_CTRL_SURF_COPY_BLT) was created to copy
from/to ccs data.
Test exercises scenarios:
1. block-copy without compression (TGL/DG1)
2. block-copy with flat-ccs compression (DG2+) + inplace decompression
3. ctrl-surf-copy which verifies copying ccs data to/from flat-ccs area
v2: set mip tail lod to 0xf to avoid overlap with lod
v3-v4: address review comments (Kamil) + setting uc_mocs (Ayaz)
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
|