From: "Das, Nirmoy" <nirmoy.das@linux.intel.com>
To: Matthew Auld <matthew.auld@intel.com>, igt-dev@lists.freedesktop.org
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH i-g-t] tests/i915/gem_create: use 48b addressing
Date: Mon, 18 Jul 2022 11:04:14 +0200 [thread overview]
Message-ID: <b45b9801-fd41-a78f-e7fa-1c56f7557da0@linux.intel.com> (raw)
In-Reply-To: <20220715111937.1245586-1-matthew.auld@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
On 7/15/2022 1:19 PM, Matthew Auld wrote:
> The object here could be very large (8G+), so make sure we allow using
> the entire address space, to avoid sometimes hitting -ENOSPC.
>
> Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/6446
> Signed-off-by: Matthew Auld <matthew.auld@intel.com>
> Cc: Nirmoy Das <nirmoy.das@linux.intel.com>
> ---
> tests/i915/gem_create.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tests/i915/gem_create.c b/tests/i915/gem_create.c
> index 1b694c6a..ff022713 100644
> --- a/tests/i915/gem_create.c
> +++ b/tests/i915/gem_create.c
> @@ -538,7 +538,9 @@ static int upload(int fd, uint32_t handle)
> * for sure placed in one of requested regions.
> */
> exec[0].handle = handle;
> + exec[0].flags = EXEC_OBJECT_SUPPORTS_48B_ADDRESS;
> exec[1].handle = batch_create_size(fd, PAGE_SIZE);
> + exec[1].flags = EXEC_OBJECT_SUPPORTS_48B_ADDRESS;
>
> return __gem_execbuf(fd, &execbuf);
> }
prev parent reply other threads:[~2022-07-18 9:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-15 11:19 [Intel-gfx] [PATCH i-g-t] tests/i915/gem_create: use 48b addressing Matthew Auld
2022-07-18 7:17 ` Zbigniew Kempczyński
2022-07-18 9:04 ` Das, Nirmoy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b45b9801-fd41-a78f-e7fa-1c56f7557da0@linux.intel.com \
--to=nirmoy.das@linux.intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=matthew.auld@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox