Return error code when there is no space for scratch/private

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
Maciej Plewka
2022-10-28 13:58:31 +02:00
committed by Compute-Runtime-Automation
parent 1131a6a4c1
commit ff01b9361e
10 changed files with 90 additions and 6 deletions

View File

@ -457,6 +457,7 @@ HWTEST_F(ClDrmMemoryManagerTest, givenDrmMemoryManagerWhenTiledImageIsBeingCreat
mock->ioctl_expected.gemClose = 2;
mock->ioctl_expected.gemUserptr = 1;
mock->ioctl_expected.execbuffer2 = 0;
mock->ioctl_expected.contextGetParam = 5;
// builtins kernels
mock->ioctl_expected.gemUserptr += 5;