Re: [Intel-gfx] [RFCv2 10/14] drm/i915: update PDPs by condition when submit the LRC context

2016-02-26 Thread Joonas Lahtinen
Hi, On to, 2016-02-25 at 15:02 +, Wang, Zhi A wrote: > > -Original Message- > From: Tian, KevinĀ  > Sent: Wednesday, February 24, 2016 4:50 PM > To: Wang, Zhi A; intel-gfx@lists.freedesktop.org; igv...@lists.01.org > Cc: Lv, Zhiyuan; Niu, Bing; Song, Jike; daniel.vet...@ffwll.ch; >

Re: [Intel-gfx] [RFCv2 10/14] drm/i915: update PDPs by condition when submit the LRC context

2016-02-25 Thread Wang, Zhi A
-Original Message- From: Tian, Kevin Sent: Wednesday, February 24, 2016 4:50 PM To: Wang, Zhi A; intel-gfx@lists.freedesktop.org; igv...@lists.01.org Cc: Lv, Zhiyuan; Niu, Bing; Song, Jike; daniel.vet...@ffwll.ch; Cowperthwaite, David J; ch...@chris-wilson.co.uk;

Re: [Intel-gfx] [RFCv2 10/14] drm/i915: update PDPs by condition when submit the LRC context

2016-02-24 Thread Tian, Kevin
> From: Wang, Zhi A > Sent: Thursday, February 18, 2016 7:42 PM > > Previously the PDPs inside the ring context are updated at: > > - When populate a LRC context > - Before submitting a LRC context (only for 32 bit PPGTT, as the amount > of used PDPs may change) > > This patch postpones the

[Intel-gfx] [RFCv2 10/14] drm/i915: update PDPs by condition when submit the LRC context

2016-02-18 Thread Zhi Wang
Previously the PDPs inside the ring context are updated at: - When populate a LRC context - Before submitting a LRC context (only for 32 bit PPGTT, as the amount of used PDPs may change) This patch postpones the PDPs upgrade to submission time, and will update it by condition if the PPGTT is