All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
To: Matthew Auld <matthew.william.auld@gmail.com>
Cc: Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Subject: Re: [Intel-gfx] [PATCH 2/3] drm/i915: Fix i915_vma_pin_iomap()
Date: Mon, 20 Jun 2022 12:38:48 +0300	[thread overview]
Message-ID: <8cbeb646-9052-6f05-201c-ba00f565691b@gmail.com> (raw)
In-Reply-To: <CAM0jSHPY8ehnuFe05QZEset1-10wfk_i0+63iYFEWXmwnugtaw@mail.gmail.com>

On 10.6.2022 20.43, Matthew Auld wrote:
> On Fri, 10 Jun 2022 at 15:53, Matthew Auld
> <matthew.william.auld@gmail.com> wrote:
>>
>> On Fri, 10 Jun 2022 at 13:12, Juha-Pekka Heikkila
>> <juhapekka.heikkila@gmail.com> wrote:
>>>
>>> From: CQ Tang <cq.tang@intel.com>
>>>
>>> Display might allocate a smem object and call
>>> i915_vma_pin_iomap(), the existing code will fail.
>>>
>>> This fix was suggested by Chris P Wilson, that we pin
>>> the smem with i915_gem_object_pin_map_unlocked().
>>>
>>> v2 (jheikkil): Change i915_gem_object_pin_map_unlocked to
>>>                 i915_gem_object_pin_map
>>>
>>> Signed-off-by: CQ Tang <cq.tang@intel.com>
>>> Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
>>> Cc: Chris Wilson <chris.p.wilson@intel.com>
>>> Cc: Jari Tahvanainen <jari.tahvanainen@intel.com>
>> Reviewed-by: Matthew Auld <matthew.auld@intel.com>
> 
> Although maybe consider putting this as patch 1, and then reword the
> commit title/message to be more like "drm/i915: extend
> i915_vma_iomap()" or so, which then becomes a prep patch for
> supporting the dpt fallback to smem. Otherwise it looks like this
> patch is basically just fixing the first patch to not trigger the
> WARN_ON(), which seems iffy IMO. Each patch by itself should ideally
> be functional.

Probably easiest is to put patch 1 in as last, it's the final customer 
for these two other patches. This way if someone will end up doing 
bisecting there would be nothing interesting to see with these.

I did finally get ci to look all green after last weeks outages. I'd 
guess these patches are ready to be pushed but I don't have commit 
rights to drm-tip. Are you able to help with these or I'll go bother 
Imre or Jani to get them into tip?

/Juha-Pekka

  reply	other threads:[~2022-06-20  9:38 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-10 12:12 [Intel-gfx] [PATCH 1/3] drm/i915/display: Add smem fallback allocation for dpt Juha-Pekka Heikkila
2022-06-10 12:12 ` [Intel-gfx] [PATCH 2/3] drm/i915: Fix i915_vma_pin_iomap() Juha-Pekka Heikkila
2022-06-10 14:53   ` Matthew Auld
2022-06-10 17:43     ` Matthew Auld
2022-06-20  9:38       ` Juha-Pekka Heikkila [this message]
2022-06-21 10:53         ` Matthew Auld
2022-06-21 18:38           ` Juha-Pekka Heikkila
2022-06-22 10:24             ` Matthew Auld
2022-06-10 12:12 ` [Intel-gfx] [PATCH 3/3] drm/i915: don't leak lmem mapping in vma_evict Juha-Pekka Heikkila
2022-06-10 14:42   ` Matthew Auld
2022-06-10 14:44 ` [Intel-gfx] [PATCH 1/3] drm/i915/display: Add smem fallback allocation for dpt Matthew Auld
2022-06-10 16:21 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/3] " Patchwork
2022-06-10 17:24 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-06-14  0:45 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/3] drm/i915/display: Add smem fallback allocation for dpt (rev2) Patchwork
2022-06-14  1:09 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-06-14 15:50 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/3] drm/i915/display: Add smem fallback allocation for dpt (rev3) Patchwork
2022-06-14 16:11 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-06-14 18:48 ` [Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [1/3] drm/i915/display: Add smem fallback allocation for dpt Patchwork
2022-06-14 23:58 ` [Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/3] drm/i915/display: Add smem fallback allocation for dpt (rev2) Patchwork
2022-06-15  5:27 ` [Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [1/3] drm/i915/display: Add smem fallback allocation for dpt (rev3) Patchwork
2022-06-16 16:09 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/3] drm/i915/display: Add smem fallback allocation for dpt (rev4) Patchwork
2022-06-16 16:31 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2022-06-16 17:40   ` Juha-Pekka Heikkilä
2022-06-17  0:21 ` [Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/3] drm/i915/display: Add smem fallback allocation for dpt (rev5) Patchwork
2022-06-17 10:19 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2022-06-17 11:35   ` Juha-Pekka Heikkila
2022-06-17 16:00     ` Vudum, Lakshminarayana
2022-06-17 15:32 ` [Intel-gfx] ✓ Fi.CI.IGT: success " 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=8cbeb646-9052-6f05-201c-ba00f565691b@gmail.com \
    --to=juhapekka.heikkila@gmail.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=matthew.william.auld@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.