fix: add empty functions to set and get gemTiling in xeIoctlHelper

it is needed until there is no support in xe kmd for image tiling

Related-To: NEO-8325
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
This commit is contained in:
Cencelewska, Katarzyna
2023-09-12 14:57:55 +00:00
committed by Compute-Runtime-Automation
parent df961b3dc0
commit a6ea67bd09
7 changed files with 51 additions and 4 deletions

View File

@@ -159,10 +159,9 @@ bool BufferObject::setTiling(uint32_t mode, uint32_t stride) {
setTiling.stride = stride;
auto ioctlHelper = this->drm->getIoctlHelper();
if (ioctlHelper->ioctl(DrmIoctl::GemSetTiling, &setTiling) != 0) {
if (!ioctlHelper->setGemTiling(&setTiling)) {
return false;
}
this->tilingMode = setTiling.tilingMode;
return setTiling.tilingMode == mode;