diff options
author | Ayaz A Siddiqui <ayaz.siddiqui@intel.com> | 2021-10-28 02:53:32 +0530 |
---|---|---|
committer | Ramalingam C <ramalingam.c@intel.com> | 2022-02-19 00:13:00 +0530 |
commit | ade375dfac154504f95763d41fe56b5c9374b102 (patch) | |
tree | e094d6d76f7cab3996c8027fbb9ddd5acc10527b /drivers/gpu/drm/r128 | |
parent | 6a3df937e2dd7ef2523bba6dae638ff1698fbacb (diff) |
drm/i915/gt: Clear compress metadata for Xe_HP platformsHEADmasterdg2_for_ci_ww8.5
Xe-HP and latest devices support Flat CCS which reserved a portion of
the device memory to store compression metadata, during the clearing of
device memory buffer object we also need to clear the associated
CCS buffer.
Flat CCS memory can not be directly accessed by S/W.
Address of CCS buffer associated main BO is automatically calculated
by device itself. KMD/UMD can only access this buffer indirectly using
XY_CTRL_SURF_COPY_BLT cmd via the address of device memory buffer.
v2: Fixed issues with platform naming [Lucas]
v3: Rebased [Ram]
Used the round_up funcs [Bob]
v4: Fixed ccs blk calculation [Ram]
Added Kdoc on flat-ccs.
Cc: CQ Tang <cq.tang@intel.com>
Signed-off-by: Ayaz A Siddiqui <ayaz.siddiqui@intel.com>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Diffstat (limited to 'drivers/gpu/drm/r128')
0 files changed, 0 insertions, 0 deletions