From: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
To: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
Cc: igt-dev@lists.freedesktop.org, Petri Latvala <petri.latvala@intel.com>
Subject: Re: [igt-dev] [PATCH i-g-t 2/2] lib/intel_allocator: Fix invalid strategy on allocator helper code
Date: Wed, 29 Dec 2021 13:05:22 -0800 [thread overview]
Message-ID: <87ilv79l65.wl-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <20211229114806.24218-3-zbigniew.kempczynski@intel.com>
On Wed, 29 Dec 2021 03:48:06 -0800, Zbigniew Kempczyński wrote:
>
> During write likely it was copy-pasted and was never changed to
> valid HIGH_TO_LOW strategy. Fix this overlook.
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
> Cc: Petri Latvala <petri.latvala@intel.com>
> Cc: Ashutosh Dixit <ashutosh.dixit@intel.com>
> ---
> lib/intel_allocator.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/intel_allocator.h b/lib/intel_allocator.h
> index e8d807f9a..068985637 100644
> --- a/lib/intel_allocator.h
> +++ b/lib/intel_allocator.h
> @@ -251,7 +251,7 @@ static inline uint64_t get_simple_h2l_ahnd(int fd, uint32_t ctx)
>
> return do_relocs ? 0 : intel_allocator_open_full(fd, ctx, 0, 0,
> INTEL_ALLOCATOR_SIMPLE,
> - ALLOC_STRATEGY_LOW_TO_HIGH);
> + ALLOC_STRATEGY_HIGH_TO_LOW);
> }
>
> static inline uint64_t get_reloc_ahnd(int fd, uint32_t ctx)
> --
> 2.32.0
>
next prev parent reply other threads:[~2021-12-29 21:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-29 11:48 [igt-dev] [PATCH i-g-t 0/2] Bugfix series in bufops and allocator Zbigniew Kempczyński
2021-12-29 11:48 ` [igt-dev] [PATCH i-g-t 1/2] lib/intel_bufops: Add fixed mapping for reading ccs data Zbigniew Kempczyński
2021-12-29 21:39 ` Dixit, Ashutosh
2021-12-29 11:48 ` [igt-dev] [PATCH i-g-t 2/2] lib/intel_allocator: Fix invalid strategy on allocator helper code Zbigniew Kempczyński
2021-12-29 21:05 ` Dixit, Ashutosh [this message]
2021-12-29 12:43 ` [igt-dev] ✗ Fi.CI.BAT: failure for Bugfix series in bufops and allocator Patchwork
2021-12-29 15:12 ` [igt-dev] ✓ Fi.CI.BAT: success for Bugfix series in bufops and allocator (rev2) Patchwork
2021-12-29 16:44 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
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=87ilv79l65.wl-ashutosh.dixit@intel.com \
--to=ashutosh.dixit@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=petri.latvala@intel.com \
--cc=zbigniew.kempczynski@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