Re: [Intel-gfx] [PATCH v2] drm/i915/psr: HW tracking for cursor moves to fix lags.

2018-02-13 Thread Pandiyan, Dhinakaran
On Tue, 2018-02-13 at 22:59 +, Chris Wilson wrote: > Quoting Pandiyan, Dhinakaran (2018-02-13 22:45:55) > > > > > > > > On Tue, 2018-02-13 at 22:15 +, Chris Wilson wrote: > > > Quoting Pandiyan, Dhinakaran (2018-02-13 22:10:48) > > > > > > > > > > > > > > > > On Tue, 2018-02-13 at

Re: [Intel-gfx] [PATCH v2] drm/i915/psr: HW tracking for cursor moves to fix lags.

2018-02-13 Thread Chris Wilson
Quoting Pandiyan, Dhinakaran (2018-02-13 22:45:55) > > > > On Tue, 2018-02-13 at 22:15 +, Chris Wilson wrote: > > Quoting Pandiyan, Dhinakaran (2018-02-13 22:10:48) > > > > > > > > > > > > On Tue, 2018-02-13 at 21:54 +, Chris Wilson wrote: > > > > Quoting Dhinakaran Pandiyan

Re: [Intel-gfx] [PATCH v2] drm/i915/psr: HW tracking for cursor moves to fix lags.

2018-02-13 Thread Pandiyan, Dhinakaran
On Tue, 2018-02-13 at 22:15 +, Chris Wilson wrote: > Quoting Pandiyan, Dhinakaran (2018-02-13 22:10:48) > > > > > > > > On Tue, 2018-02-13 at 21:54 +, Chris Wilson wrote: > > > Quoting Dhinakaran Pandiyan (2018-02-13 21:46:13) > > > > DRM_IOCTL_MODE_CURSOR results in a frontbuffer

Re: [Intel-gfx] [PATCH v2] drm/i915/psr: HW tracking for cursor moves to fix lags.

2018-02-13 Thread Chris Wilson
Quoting Pandiyan, Dhinakaran (2018-02-13 22:10:48) > > > > On Tue, 2018-02-13 at 21:54 +, Chris Wilson wrote: > > Quoting Dhinakaran Pandiyan (2018-02-13 21:46:13) > > > DRM_IOCTL_MODE_CURSOR results in a frontbuffer flush before the cursor > > > plane MMIOs are written to. But this flush

Re: [Intel-gfx] [PATCH v2] drm/i915/psr: HW tracking for cursor moves to fix lags.

2018-02-13 Thread Pandiyan, Dhinakaran
On Tue, 2018-02-13 at 21:54 +, Chris Wilson wrote: > Quoting Dhinakaran Pandiyan (2018-02-13 21:46:13) > > DRM_IOCTL_MODE_CURSOR results in a frontbuffer flush before the cursor > > plane MMIOs are written to. But this flush is not necessary for PSR as > > hardware tracking takes care of

Re: [Intel-gfx] [PATCH v2] drm/i915/psr: HW tracking for cursor moves to fix lags.

2018-02-13 Thread Chris Wilson
Quoting Dhinakaran Pandiyan (2018-02-13 21:46:13) > DRM_IOCTL_MODE_CURSOR results in a frontbuffer flush before the cursor > plane MMIOs are written to. But this flush is not necessary for PSR as > hardware tracking takes care of exiting PSR when the MMIO's are written. > > Introduce a new

[Intel-gfx] [PATCH v2] drm/i915/psr: HW tracking for cursor moves to fix lags.

2018-02-13 Thread Dhinakaran Pandiyan
DRM_IOCTL_MODE_CURSOR results in a frontbuffer flush before the cursor plane MMIOs are written to. But this flush is not necessary for PSR as hardware tracking takes care of exiting PSR when the MMIO's are written. Introduce a new fb_op_origin enum to differentiate flushes due to a BO being