public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
To: Daniel Vetter <daniel@ffwll.ch>,
	Chris Wilson <chris@chris-wilson.co.uk>,
	Intel-gfx@lists.freedesktop.org,
	Tvrtko Ursulin <tvrtko.ursulin@intel.com>,
	Daniel Vetter <daniel.vetter@ffwll.ch>,
	Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Subject: Re: [PATCH] drm/i915: Restore all GGTT VMAs on resume
Date: Wed, 08 Jul 2015 10:45:23 +0100	[thread overview]
Message-ID: <559CF133.9090609@linux.intel.com> (raw)
In-Reply-To: <20150708093207.GH7568@phenom.ffwll.local>


On 07/08/2015 10:32 AM, Daniel Vetter wrote:
> On Mon, Jul 06, 2015 at 04:19:01PM +0100, Chris Wilson wrote:
>> On Mon, Jul 06, 2015 at 03:15:01PM +0100, Tvrtko Ursulin wrote:
>>> From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>>>
>>> When rotated and partial views were added no one spotted the resume
>>> path which assumes only one GGTT VMA per object and hence is now
>>> skipping rebind of alternative views.
>>>
>>> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>>> Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
>>> Cc: Chris Wilson <chris@chris-wilson.co.uk>
>>> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
>>> ---
>>> Similarly to my recent debugfs patch, it would seem quicker path could
>>> be to walk GGTT active & inactive lists, but I assume we want to call
>>> i915_gem_clflush_object only once per object which would make that
>>> problematic.
>
> Patch is missing offending commit that introduce this issue and which
> platforms are affected (I guess all due to partial view?). Also should be
> cc: stable I presume?
>
> Can you please supply this so I can ammend the commit message? Applied to
> -fixes meanwhile, thanks.

Ha, "offending" commits. In the sense of that the bug only manifests
when they are present they are either of these two:

commit c5ad54cf7dd8922bd1cee2d5871aebf73dc9638e
Author: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Date:   Wed May 6 14:36:09 2015 +0300

     drm/i915: Use partial view in mmap fault handler

commit 3b7a5119b5d2def1161226a4c6a643db537dff7e
Author: Sonika Jindal <sonika.jindal@intel.com>
Date:   Fri Apr 10 14:37:29 2015 +0530

     drm/i915/skl: Support for 90/270 rotation

But they are just the tips of two longish streams of developments
so they should not necessarily be viewed as offending towards the 
respective authors. They are just final feature enablements.

All platforms are affected due to partial views I suppose, although I am 
not sure if they are actually used/triggered in the field. That's why I 
was not sure should stable be copied.

Regards,

Tvrtko
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2015-07-08  9:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-06 14:15 [PATCH] drm/i915: Restore all GGTT VMAs on resume Tvrtko Ursulin
2015-07-06 15:19 ` Chris Wilson
2015-07-06 15:29   ` Tvrtko Ursulin
2015-07-06 15:39     ` Chris Wilson
2015-07-08  9:32   ` Daniel Vetter
2015-07-08  9:45     ` Tvrtko Ursulin [this message]
2015-07-08  9:57       ` Daniel Vetter
2015-07-07 16:50 ` shuang.he

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=559CF133.9090609@linux.intel.com \
    --to=tvrtko.ursulin@linux.intel.com \
    --cc=Intel-gfx@lists.freedesktop.org \
    --cc=chris@chris-wilson.co.uk \
    --cc=daniel.vetter@ffwll.ch \
    --cc=daniel@ffwll.ch \
    --cc=joonas.lahtinen@linux.intel.com \
    --cc=tvrtko.ursulin@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