<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>Reviewed-by: <code style="padding: 0px; tab-size: 8;" class="hljs diff language-diff">Nirmoy Das
        <a class="moz-txt-link-rfc2396E" href="mailto:nirmoy.das@intel.com"><nirmoy.das@intel.com></a></code></p>
    <div class="moz-cite-prefix">On 10/31/2022 1:17 PM, Matthew Auld
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:20221031121730.32056-1-matthew.auld@intel.com">
      <pre class="moz-quote-pre" wrap="">Our working set could be larger than 4G here.

Closes: <a class="moz-txt-link-freetext" href="https://gitlab.freedesktop.org/drm/intel/-/issues/6671">https://gitlab.freedesktop.org/drm/intel/-/issues/6671</a>
Signed-off-by: Matthew Auld <a class="moz-txt-link-rfc2396E" href="mailto:matthew.auld@intel.com"><matthew.auld@intel.com></a>
Cc: Nirmoy Das <a class="moz-txt-link-rfc2396E" href="mailto:nirmoy.das@intel.com"><nirmoy.das@intel.com></a>
---
 tests/i915/i915_query.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/tests/i915/i915_query.c b/tests/i915/i915_query.c
index 4e43c7cd..e725e04e 100644
--- a/tests/i915/i915_query.c
+++ b/tests/i915/i915_query.c
@@ -625,10 +625,14 @@ static void upload(int fd, struct igt_list_head *handles, uint32_t num_handles)
                      sizeof(struct drm_i915_gem_exec_object2));
 
        i = 0;
-       igt_list_for_each_entry(iter, handles, link)
-               exec[i++].handle = iter->handle;
+       igt_list_for_each_entry(iter, handles, link) {
+               exec[i].handle = iter->handle;
+               exec[i].flags = EXEC_OBJECT_SUPPORTS_48B_ADDRESS;
+               i++;
+       }
 
        exec[i].handle = batch_create_size(fd, 4096);
+       exec[i].flags = EXEC_OBJECT_SUPPORTS_48B_ADDRESS;
 
        execbuf.buffers_ptr = to_user_pointer(exec);
        execbuf.buffer_count = num_handles + 1;
</pre>
    </blockquote>
  </body>
</html>