W/A for disabling RCC RHWO for compressed media surfaces on gen12lp

Whenever media compressed surface is used, the RCC Read-Hit-Write optimization
disable bit (14) has to be set in Common Slice Chicken1 register (7010h).

Related-To: NEO-4982

Change-Id: I71b91b52692252459da05b737838eb4854575974
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
This commit is contained in:
Pawel Wilma
2020-10-09 12:27:32 +02:00
committed by sys_ocldev
parent ca023fa532
commit 0c3d430f50
17 changed files with 285 additions and 3 deletions

View File

@@ -421,6 +421,7 @@ class Kernel : public BaseObject<_cl_kernel> {
int32_t setAdditionalKernelExecInfoWithParam(uint32_t paramName);
void setAdditionalKernelExecInfo(uint32_t additionalKernelExecInfo);
uint32_t getAdditionalKernelExecInfo() const;
MOCKABLE_VIRTUAL bool requiresWaDisableRccRhwoOptimization() const;
protected:
struct ObjectCounts {