Re: [Intel-gfx] [PATCH v3 3/6] drm/i915: Amalgamate flushing of display objects

2017-09-14 Thread Yaroslav Shabalin
On Thu, Sep 14, 2017 at 1:57 PM, Chris Wilson wrote: > Quoting Yaroslav Shabalin (2017-09-12 23:11:03) > > Hi! > > > > I would like to report a problem which I believe is connected to changes > > introduced in this patch (https://lists.freedesktop. > org/archives/intel-gfx/ > > 2017-February/1207

Re: [Intel-gfx] [PATCH v3 3/6] drm/i915: Amalgamate flushing of display objects

2017-09-14 Thread Chris Wilson
Quoting Yaroslav Shabalin (2017-09-12 23:11:03) > Hi! > > I would like to report a problem which I believe is connected to changes > introduced in this patch (https://lists.freedesktop.org/archives/intel-gfx/ > 2017-February/120777.html). Specifically the problem is: screen freezes for > 0.5 > -

Re: [Intel-gfx] [PATCH v3 3/6] drm/i915: Amalgamate flushing of display objects

2017-09-14 Thread Yaroslav Shabalin
Dear Chris, As you are the author of original patch, could you please take a look at my report below. On Wed, Sep 13, 2017 at 1:11 AM, Yaroslav Shabalin < yaroslav.shaba...@gmail.com> wrote: > Hi! > > I would like to report a problem which I believe is connected to changes > introduced in this p

[Intel-gfx] [PATCH v3 3/6] drm/i915: Amalgamate flushing of display objects

2017-09-12 Thread Yaroslav Shabalin
Hi! I would like to report a problem which I believe is connected to changes introduced in this patch ( https://lists.freedesktop.org/archives/intel-gfx/2017-February/120777.html). Specifically the problem is: screen freezes for 0.5 - 5 seconds (mostly for 2-3 seconds) when PSR is enabled (i915.en

Re: [Intel-gfx] [PATCH v3 3/6] drm/i915: Amalgamate flushing of display objects

2017-02-22 Thread Joonas Lahtinen
Add the message from your reply. On ke, 2017-02-22 at 09:41 +, Chris Wilson wrote: > Signed-off-by: Chris Wilson > @@ -1613,23 +1613,16 @@ i915_gem_sw_finish_ioctl(struct drm_device *dev, void > *data, >  { >   struct drm_i915_gem_sw_finish *args = data; >   struct drm_i915_gem_ob

Re: [Intel-gfx] [PATCH v3 3/6] drm/i915: Amalgamate flushing of display objects

2017-02-22 Thread Chris Wilson
On Wed, Feb 22, 2017 at 09:41:18AM +, Chris Wilson wrote: Reason goes here. We have three different paths by which userspace wants to flush the display plane (i.e. objects with obj->pin_display). Use a common helper to identify those paths and to simplify a later change. -Chris -- Chris Wil

[Intel-gfx] [PATCH v3 3/6] drm/i915: Amalgamate flushing of display objects

2017-02-22 Thread Chris Wilson
Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_gem.c| 41 +- drivers/gpu/drm/i915/i915_gem_object.h | 2 ++ drivers/gpu/drm/i915/intel_display.c | 9 ++-- 3 files changed, 30 insertions(+), 22 deletions(-) diff --git a/drivers/gpu/drm/i9