mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 17:29:14 +08:00
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:
committed by
Compute-Runtime-Automation
parent
df961b3dc0
commit
a6ea67bd09
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user