[igt-dev] [PATCH i-g-t] xe/xe_create: Modify massive test
Kamil Konieczny
kamil.konieczny at linux.intel.com
Wed Jul 12 15:57:59 UTC 2023
Hi Priyanka,
On 2023-07-11 at 15:06:02 +0530, priyanka.dandamudi at intel.com wrote:
> From: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
>
> Fix Modify invalid massive test issue.
- ^^^^^^^^^^
Fixed
Please also describe what/how you fixed that, for example:
Test used incorrect number 1GB-1 for allocating GPU mem
instead of around 2^32GB.
With that,
Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
Regards,
Kamil
>
> Cc: Janga Rahul Kumar <janga.rahul.kumar at intel.com
> Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
> ---
> tests/xe/xe_create.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/xe/xe_create.c b/tests/xe/xe_create.c
> index f893381d9..2e29efc90 100644
> --- a/tests/xe/xe_create.c
> +++ b/tests/xe/xe_create.c
> @@ -200,7 +200,7 @@ static void create_massive_size(int fd)
> vm = xe_vm_create(fd, DRM_XE_VM_CREATE_ASYNC_BIND_OPS, 0);
>
> xe_for_each_mem_region(fd, memreg, region) {
> - ret = __create_bo(fd, vm, -1ULL >> 32, region, &handle);
> + ret = __create_bo(fd, vm, -1ULL << 32, region, &handle);
> igt_assert_eq(ret, -ENOSPC);
> }
> }
> --
> 2.25.1
>
More information about the igt-dev
mailing list