Re: [Intel-gfx] [PULL] gvt-next for 4.17

2018-04-19 Thread Zhi Wang
Weird. I try to apply the patches one by one on 
drm-intel-next-2018-04-13. I didn't get any conflicts... Let me dig more..


On 04/19/18 17:50, Zhi Wang wrote:
Thanks, Let me discuss with Zhenyu about how to deal with this. It must 
be the git rebase I've done which causes the commiter change without new 
signoff-by.


Thanks,
Zhi.

On 04/19/18 17:34, Jani Nikula wrote:

On Thu, 19 Apr 2018, Zhi Wang  wrote:

Hi:

Here is the pull request of gvt-next for 4.17 with some new features and
optimizations.

Thanks,
Zhi.

--
The following changes since commit 
fadec6eefe232696c5c471b40df33e6db616e854:


drm/i915: Update DRIVER_DATE to 20180413 (2018-04-13 12:20:58 +0300)

are available in the git repository at:

https://github.com/intel/gvt-linux.git tags/gvt-next-2018-04-19

for you to fetch changes up to c0fb4098fc47dcaeb47085c08d8fafa42fa8e471:

drm/i915/gvt: Mark expected switch fall-through in
handle_g2v_notification (2018-04-19 16:35:55 +0800)


- Minor condition check improvment (Gustavo A. R. Silva)
- Reverting GVT context priority hack (Weinan Li)
- Non-priviliged batch buffer scan (Yan Zhao)
- Scheduling optimizations (Zhipeng Gong)


Gustavo A. R. Silva (2):
drm/i915/gvt/scheduler: Remove unnecessary NULL checks in 
sr_oa_regs

drm/i915/gvt: Mark expected switch fall-through in
handle_g2v_notification

Weinan Li (1):
Revert "drm/i915/gvt: set max priority for gvt context"


This reverts a commit in v4.15. Why is it in a -next pull and not a
-fixes pull?

It also conflicts, please advise how to resolve:

diff --cc drivers/gpu/drm/i915/gvt/scheduler.c
index f3d21849b0cb,080fb5027d9c..
--- a/drivers/gpu/drm/i915/gvt/scheduler.c
+++ b/drivers/gpu/drm/i915/gvt/scheduler.c
@@@ -1134,9 -1156,6 +1156,12 @@@ int intel_vgpu_setup_submission(struct
 if (IS_ERR(s->shadow_ctx))
 return PTR_ERR(s->shadow_ctx);
++<<< HEAD
  +  if (HAS_LOGICAL_RING_PREEMPTION(vgpu->gvt->dev_priv))
  +  s->shadow_ctx->sched.priority = INT_MAX;
  +
++===
++>>> c2f6410ef67740ebcbf5d92dffc2679d4a0e288c
 bitmap_zero(s->shadow_ctx_desc_updated, I915_NUM_ENGINES);
 s->workloads = kmem_cache_create_usercopy("gvt-g_vgpu_workload",

Finally, it's committed by Zhi Wang  but without
his Signed-off-by.


BR,
Jani.




Zhao Yan (1):
drm/i915/gvt: scan non-privileged batch buffer for debug purpose

Zhipeng Gong (2):
drm/i915/gvt: Use real time to do timer check
drm/i915/gvt: Update time slice more frequently

   drivers/gpu/drm/i915/gvt/cmd_parser.c   | 55 
+++---

   drivers/gpu/drm/i915/gvt/debugfs.c  | 67

   drivers/gpu/drm/i915/gvt/gvt.h  |  1 +
   drivers/gpu/drm/i915/gvt/handlers.c |  1 +
   drivers/gpu/drm/i915/gvt/sched_policy.c | 31 ---
   drivers/gpu/drm/i915/gvt/scheduler.c| 69
+
   drivers/gpu/drm/i915/gvt/scheduler.h|  1 +
   drivers/gpu/drm/i915/gvt/trace.h| 24 +---
   8 files changed, 193 insertions(+), 56 deletions(-)



___
intel-gvt-dev mailing list
intel-gvt-...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev

___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PULL] gvt-next for 4.17

2018-04-19 Thread Zhenyu Wang
On 2018.04.19 12:34:16 +0300, Jani Nikula wrote:
> On Thu, 19 Apr 2018, Zhi Wang  wrote:
> > Hi:
> >
> > Here is the pull request of gvt-next for 4.17 with some new features and 
> > optimizations.
> >
> > Thanks,
> > Zhi.
> >
> > --
> > The following changes since commit fadec6eefe232696c5c471b40df33e6db616e854:
> >
> >drm/i915: Update DRIVER_DATE to 20180413 (2018-04-13 12:20:58 +0300)
> >
> > are available in the git repository at:
> >
> >https://github.com/intel/gvt-linux.git tags/gvt-next-2018-04-19
> >
> > for you to fetch changes up to c0fb4098fc47dcaeb47085c08d8fafa42fa8e471:
> >
> >drm/i915/gvt: Mark expected switch fall-through in 
> > handle_g2v_notification (2018-04-19 16:35:55 +0800)
> >
> > 
> > - Minor condition check improvment (Gustavo A. R. Silva)
> > - Reverting GVT context priority hack (Weinan Li)
> > - Non-priviliged batch buffer scan (Yan Zhao)
> > - Scheduling optimizations (Zhipeng Gong)
> >
> > 
> > Gustavo A. R. Silva (2):
> >drm/i915/gvt/scheduler: Remove unnecessary NULL checks in sr_oa_regs
> >drm/i915/gvt: Mark expected switch fall-through in 
> > handle_g2v_notification
> >
> > Weinan Li (1):
> >Revert "drm/i915/gvt: set max priority for gvt context"
> 
> This reverts a commit in v4.15. Why is it in a -next pull and not a
> -fixes pull?

This one was originally queued for 4.17 in gvt-next-fixes, but declined as
Joonas thought this is new feature as enabling vGPU priority scheduling,
https://lists.freedesktop.org/archives/intel-gfx/2018-March/160431.html

> 
> It also conflicts, please advise how to resolve:
> 
> diff --cc drivers/gpu/drm/i915/gvt/scheduler.c
> index f3d21849b0cb,080fb5027d9c..
> --- a/drivers/gpu/drm/i915/gvt/scheduler.c
> +++ b/drivers/gpu/drm/i915/gvt/scheduler.c
> @@@ -1134,9 -1156,6 +1156,12 @@@ int intel_vgpu_setup_submission(struct 
> if (IS_ERR(s->shadow_ctx))
> return PTR_ERR(s->shadow_ctx);
>   
> ++<<< HEAD
>  +  if (HAS_LOGICAL_RING_PREEMPTION(vgpu->gvt->dev_priv))
>  +  s->shadow_ctx->sched.priority = INT_MAX;
>  +
> ++===
> ++>>> c2f6410ef67740ebcbf5d92dffc2679d4a0e288c
> bitmap_zero(s->shadow_ctx_desc_updated, I915_NUM_ENGINES);
>   
> s->workloads = kmem_cache_create_usercopy("gvt-g_vgpu_workload",
> 
> Finally, it's committed by Zhi Wang  but without
> his Signed-off-by.
> 
> 
> BR,
> Jani.
> 
> 
> >
> > Zhao Yan (1):
> >drm/i915/gvt: scan non-privileged batch buffer for debug purpose
> >
> > Zhipeng Gong (2):
> >drm/i915/gvt: Use real time to do timer check
> >drm/i915/gvt: Update time slice more frequently
> >
> >   drivers/gpu/drm/i915/gvt/cmd_parser.c   | 55 +++---
> >   drivers/gpu/drm/i915/gvt/debugfs.c  | 67 
> > 
> >   drivers/gpu/drm/i915/gvt/gvt.h  |  1 +
> >   drivers/gpu/drm/i915/gvt/handlers.c |  1 +
> >   drivers/gpu/drm/i915/gvt/sched_policy.c | 31 ---
> >   drivers/gpu/drm/i915/gvt/scheduler.c| 69 
> > +
> >   drivers/gpu/drm/i915/gvt/scheduler.h|  1 +
> >   drivers/gpu/drm/i915/gvt/trace.h| 24 +---
> >   8 files changed, 193 insertions(+), 56 deletions(-)
> 
> -- 
> Jani Nikula, Intel Open Source Technology Center

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827


signature.asc
Description: PGP signature
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PULL] gvt-next for 4.17

2018-04-19 Thread Zhi Wang
Thanks, Let me discuss with Zhenyu about how to deal with this. It must 
be the git rebase I've done which causes the commiter change without new 
signoff-by.


Thanks,
Zhi.

On 04/19/18 17:34, Jani Nikula wrote:

On Thu, 19 Apr 2018, Zhi Wang  wrote:

Hi:

Here is the pull request of gvt-next for 4.17 with some new features and
optimizations.

Thanks,
Zhi.

--
The following changes since commit fadec6eefe232696c5c471b40df33e6db616e854:

drm/i915: Update DRIVER_DATE to 20180413 (2018-04-13 12:20:58 +0300)

are available in the git repository at:

https://github.com/intel/gvt-linux.git tags/gvt-next-2018-04-19

for you to fetch changes up to c0fb4098fc47dcaeb47085c08d8fafa42fa8e471:

drm/i915/gvt: Mark expected switch fall-through in
handle_g2v_notification (2018-04-19 16:35:55 +0800)


- Minor condition check improvment (Gustavo A. R. Silva)
- Reverting GVT context priority hack (Weinan Li)
- Non-priviliged batch buffer scan (Yan Zhao)
- Scheduling optimizations (Zhipeng Gong)


Gustavo A. R. Silva (2):
drm/i915/gvt/scheduler: Remove unnecessary NULL checks in sr_oa_regs
drm/i915/gvt: Mark expected switch fall-through in
handle_g2v_notification

Weinan Li (1):
Revert "drm/i915/gvt: set max priority for gvt context"


This reverts a commit in v4.15. Why is it in a -next pull and not a
-fixes pull?

It also conflicts, please advise how to resolve:

diff --cc drivers/gpu/drm/i915/gvt/scheduler.c
index f3d21849b0cb,080fb5027d9c..
--- a/drivers/gpu/drm/i915/gvt/scheduler.c
+++ b/drivers/gpu/drm/i915/gvt/scheduler.c
@@@ -1134,9 -1156,6 +1156,12 @@@ int intel_vgpu_setup_submission(struct
 if (IS_ERR(s->shadow_ctx))
 return PTR_ERR(s->shadow_ctx);
   
++<<< HEAD

  +  if (HAS_LOGICAL_RING_PREEMPTION(vgpu->gvt->dev_priv))
  +  s->shadow_ctx->sched.priority = INT_MAX;
  +
++===
++>>> c2f6410ef67740ebcbf5d92dffc2679d4a0e288c
 bitmap_zero(s->shadow_ctx_desc_updated, I915_NUM_ENGINES);
   
 s->workloads = kmem_cache_create_usercopy("gvt-g_vgpu_workload",


Finally, it's committed by Zhi Wang  but without
his Signed-off-by.


BR,
Jani.




Zhao Yan (1):
drm/i915/gvt: scan non-privileged batch buffer for debug purpose

Zhipeng Gong (2):
drm/i915/gvt: Use real time to do timer check
drm/i915/gvt: Update time slice more frequently

   drivers/gpu/drm/i915/gvt/cmd_parser.c   | 55 +++---
   drivers/gpu/drm/i915/gvt/debugfs.c  | 67

   drivers/gpu/drm/i915/gvt/gvt.h  |  1 +
   drivers/gpu/drm/i915/gvt/handlers.c |  1 +
   drivers/gpu/drm/i915/gvt/sched_policy.c | 31 ---
   drivers/gpu/drm/i915/gvt/scheduler.c| 69
+
   drivers/gpu/drm/i915/gvt/scheduler.h|  1 +
   drivers/gpu/drm/i915/gvt/trace.h| 24 +---
   8 files changed, 193 insertions(+), 56 deletions(-)



___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PULL] gvt-next for 4.17

2018-04-19 Thread Jani Nikula
On Thu, 19 Apr 2018, Zhi Wang  wrote:
> Hi:
>
> Here is the pull request of gvt-next for 4.17 with some new features and 
> optimizations.
>
> Thanks,
> Zhi.
>
> --
> The following changes since commit fadec6eefe232696c5c471b40df33e6db616e854:
>
>drm/i915: Update DRIVER_DATE to 20180413 (2018-04-13 12:20:58 +0300)
>
> are available in the git repository at:
>
>https://github.com/intel/gvt-linux.git tags/gvt-next-2018-04-19
>
> for you to fetch changes up to c0fb4098fc47dcaeb47085c08d8fafa42fa8e471:
>
>drm/i915/gvt: Mark expected switch fall-through in 
> handle_g2v_notification (2018-04-19 16:35:55 +0800)
>
> 
> - Minor condition check improvment (Gustavo A. R. Silva)
> - Reverting GVT context priority hack (Weinan Li)
> - Non-priviliged batch buffer scan (Yan Zhao)
> - Scheduling optimizations (Zhipeng Gong)
>
> 
> Gustavo A. R. Silva (2):
>drm/i915/gvt/scheduler: Remove unnecessary NULL checks in sr_oa_regs
>drm/i915/gvt: Mark expected switch fall-through in 
> handle_g2v_notification
>
> Weinan Li (1):
>Revert "drm/i915/gvt: set max priority for gvt context"

This reverts a commit in v4.15. Why is it in a -next pull and not a
-fixes pull?

It also conflicts, please advise how to resolve:

diff --cc drivers/gpu/drm/i915/gvt/scheduler.c
index f3d21849b0cb,080fb5027d9c..
--- a/drivers/gpu/drm/i915/gvt/scheduler.c
+++ b/drivers/gpu/drm/i915/gvt/scheduler.c
@@@ -1134,9 -1156,6 +1156,12 @@@ int intel_vgpu_setup_submission(struct 
if (IS_ERR(s->shadow_ctx))
return PTR_ERR(s->shadow_ctx);
  
++<<< HEAD
 +  if (HAS_LOGICAL_RING_PREEMPTION(vgpu->gvt->dev_priv))
 +  s->shadow_ctx->sched.priority = INT_MAX;
 +
++===
++>>> c2f6410ef67740ebcbf5d92dffc2679d4a0e288c
bitmap_zero(s->shadow_ctx_desc_updated, I915_NUM_ENGINES);
  
s->workloads = kmem_cache_create_usercopy("gvt-g_vgpu_workload",

Finally, it's committed by Zhi Wang  but without
his Signed-off-by.


BR,
Jani.


>
> Zhao Yan (1):
>drm/i915/gvt: scan non-privileged batch buffer for debug purpose
>
> Zhipeng Gong (2):
>drm/i915/gvt: Use real time to do timer check
>drm/i915/gvt: Update time slice more frequently
>
>   drivers/gpu/drm/i915/gvt/cmd_parser.c   | 55 +++---
>   drivers/gpu/drm/i915/gvt/debugfs.c  | 67 
> 
>   drivers/gpu/drm/i915/gvt/gvt.h  |  1 +
>   drivers/gpu/drm/i915/gvt/handlers.c |  1 +
>   drivers/gpu/drm/i915/gvt/sched_policy.c | 31 ---
>   drivers/gpu/drm/i915/gvt/scheduler.c| 69 
> +
>   drivers/gpu/drm/i915/gvt/scheduler.h|  1 +
>   drivers/gpu/drm/i915/gvt/trace.h| 24 +---
>   8 files changed, 193 insertions(+), 56 deletions(-)

-- 
Jani Nikula, Intel Open Source Technology Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PULL] gvt-next for 4.17

2018-04-19 Thread Zhi Wang

Sorry it's gvt-next, so it should be for 4.18.

Thanks,
Zhi.

On 04/19/18 17:17, Zhi Wang wrote:

Hi:

Here is the pull request of gvt-next for 4.17 with some new features and 
optimizations.


Thanks,
Zhi.

--
The following changes since commit 
fadec6eefe232696c5c471b40df33e6db616e854:


   drm/i915: Update DRIVER_DATE to 20180413 (2018-04-13 12:20:58 +0300)

are available in the git repository at:

   https://github.com/intel/gvt-linux.git tags/gvt-next-2018-04-19

for you to fetch changes up to c0fb4098fc47dcaeb47085c08d8fafa42fa8e471:

   drm/i915/gvt: Mark expected switch fall-through in 
handle_g2v_notification (2018-04-19 16:35:55 +0800)



- Minor condition check improvment (Gustavo A. R. Silva)
- Reverting GVT context priority hack (Weinan Li)
- Non-priviliged batch buffer scan (Yan Zhao)
- Scheduling optimizations (Zhipeng Gong)


Gustavo A. R. Silva (2):
   drm/i915/gvt/scheduler: Remove unnecessary NULL checks in sr_oa_regs
   drm/i915/gvt: Mark expected switch fall-through in 
handle_g2v_notification


Weinan Li (1):
   Revert "drm/i915/gvt: set max priority for gvt context"

Zhao Yan (1):
   drm/i915/gvt: scan non-privileged batch buffer for debug purpose

Zhipeng Gong (2):
   drm/i915/gvt: Use real time to do timer check
   drm/i915/gvt: Update time slice more frequently

  drivers/gpu/drm/i915/gvt/cmd_parser.c   | 55 +++---
  drivers/gpu/drm/i915/gvt/debugfs.c  | 67 


  drivers/gpu/drm/i915/gvt/gvt.h  |  1 +
  drivers/gpu/drm/i915/gvt/handlers.c |  1 +
  drivers/gpu/drm/i915/gvt/sched_policy.c | 31 ---
  drivers/gpu/drm/i915/gvt/scheduler.c| 69 
+

  drivers/gpu/drm/i915/gvt/scheduler.h|  1 +
  drivers/gpu/drm/i915/gvt/trace.h| 24 +---
  8 files changed, 193 insertions(+), 56 deletions(-)
___
intel-gvt-dev mailing list
intel-gvt-...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev

___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PULL] gvt-next for 4.17

2018-03-12 Thread Joonas Lahtinen
Quoting Jani Nikula (2018-03-09 12:30:13)
> 
> Joonas, so did this miss the deadline for v4.17? You're not making
> another pull request?

As discussed in the IRC, it got merged. Only in the final pull request
generation I'll summarize all the intermediate tags.

Regards, Joonas

> 
> BR,
> Jani.
> 
> On Thu, 08 Mar 2018, Joonas Lahtinen  wrote:
> > Pulled.
> >
> > Regards, Joonas
> >
> > Quoting Zhenyu Wang (2018-03-08 04:31:52)
> >> 
> >> Hi,
> >> 
> >> Here's gvt-next update for 4.17. Biggest update is for huge code
> >> refactor of shadow ppgtt from Changbin which is the most obscured
> >> part, and with KBL context save/restore improvement from Weinan,
> >> with other fixes.
> >> 
> >> Thanks.
> >> --
> >> The following changes since commit 
> >> 1f267a572b573b0b155022750cba93001f4367a8:
> >> 
> >>   drm/i915: Update DRIVER_DATE to 20180305 (2018-03-05 11:56:15 +0200)
> >> 
> >> are available in the Git repository at:
> >> 
> >>   https://github.com/intel/gvt-linux.git tags/gvt-next-2018-03-08
> >> 
> >> for you to fetch changes up to 991ecefbdd4b81719597d6c406df8d26ef5c1546:
> >> 
> >>   drm/i915/gvt: Return error at the failure of finding page_track 
> >> (2018-03-06 14:49:38 +0800)
> >> 
> >> 
> >> gvt-next-2018-03-08
> >> 
> >> - big refactor for shadow ppgtt (Changbin)
> >> - KBL context save/restore via LRI cmd (Weinan)
> >> - misc smatch fixes (Zhenyu)
> >> - Properly unmap dma for guest page (Changbin)
> >> - other misc fixes (Xiong, etc.)
> >> 
> >> 
> >> Changbin Du (18):
> >>   drm/i915/gvt: Rework shadow graphic memory management code
> >>   drm/i915/gvt: Refine the intel_vgpu_mm reference management
> >>   drm/i915/gvt: Refine ggtt and ppgtt root entry ops
> >>   drm/i915/gvt: Refine ggtt_set_shadow_entry
> >>   drm/i915/gvt: Add verbose gtt shadow logs
> >>   drm/i915/gvt: Rename ggtt related functions to be more specific
> >>   drm/i915/gvt: Factor out intel_vgpu_{get, put}_ppgtt_mm interface
> >>   drm/i915/gvt: Use standard pte bit definition
> >>   drm/i915/gvt: Refine pte shadowing process
> >>   drm/i915/gvt: Rework shadow page management code
> >>   drm/i915/gvt: Rename shadow_page to short name spt
> >>   drm/i915/gvt: Rename mpt api {set, unset}_wp_page to {enable, 
> >> disable}_page_track
> >>   drm/i915/gvt: Don't extend page_track to mpt layer
> >>   drm/i915/gvt: Provide generic page_track infrastructure for 
> >> write-protected page
> >>   drm/i915/gvt: Manage shadow pages with radix tree
> >>   drm/i915/gvt: Define PTE addr mask with GENMASK_ULL
> >>   drm/i915/gvt: Fix guest vGPU hang caused by very high dma setup 
> >> overhead
> >>   drm/i915/kvmgt: Add kvmgt debugfs entry nr_cache_entries under vgpu
> >> 
> >> Weinan Li (3):
> >>   drm/i915/gvt: add define GEN9_MOCS_SIZE
> >>   drm/i915/gvt: add interface to check if context is inhibit
> >>   drm/i915/gvt: init mmio by lri command in vgpu inhibit context
> >> 
> >> Xiong Zhang (2):
> >>   drm/i915/gvt: Release gvt->lock at the failure of finding page track
> >>   drm/i915/gvt: Return error at the failure of finding page_track
> >> 
> >> Zhenyu Wang (7):
> >>   drm/i915/gvt: Fix one gvt_vgpu_error() use in dmabuf.c
> >>   drm/i915/gvt: remove gvt max port definition
> >>   drm/i915/gvt: Fix vGPU sched timeslice calculation warning
> >>   drm/i915/gvt: Fix check error of vgpu create failure message
> >>   drm/i915/gvt: Fix check error on fence mmio handler
> >>   drm/i915/gvt: Fix one indent error
> >>   drm/i915/gvt: Fix check error on hws_pga_write() fail message
> >> 
> >>  drivers/gpu/drm/i915/gvt/Makefile   |2 +-
> >>  drivers/gpu/drm/i915/gvt/dmabuf.c   |2 +-
> >>  drivers/gpu/drm/i915/gvt/gtt.c  | 1457 
> >> ++-
> >>  drivers/gpu/drm/i915/gvt/gtt.h  |  189 ++--
> >>  drivers/gpu/drm/i915/gvt/gvt.c  |2 +-
> >>  drivers/gpu/drm/i915/gvt/gvt.h  |   21 +-
> >>  drivers/gpu/drm/i915/gvt/handlers.c |   38 +-
> >>  drivers/gpu/drm/i915/gvt/hypercall.h|9 +-
> >>  drivers/gpu/drm/i915/gvt/kvmgt.c|  313 ---
> >>  drivers/gpu/drm/i915/gvt/mmio.c |9 +-
> >>  drivers/gpu/drm/i915/gvt/mmio_context.c |  210 -
> >>  drivers/gpu/drm/i915/gvt/mmio_context.h |5 +
> >>  drivers/gpu/drm/i915/gvt/mpt.h  |   67 +-
> >>  drivers/gpu/drm/i915/gvt/page_track.c   |  184 
> >>  drivers/gpu/drm/i915/gvt/page_track.h   |   56 ++
> >>  drivers/gpu/drm/i915/gvt/sched_policy.c |5 +-
> >>  drivers/gpu/drm/i915/gvt/scheduler.c|   44 +-
> >>  drivers/gpu/drm/i915/gvt/trace.h|   10 +-
> >>  drivers/gpu/drm/i915/gvt/vgpu.c |1 +
> >>  19 files changed, 1468 insertions(+), 1156 deletions(-)
> >>  create mode 100644 drivers/gpu/drm/i915/gvt/page_tr

Re: [Intel-gfx] [PULL] gvt-next for 4.17

2018-03-09 Thread Jani Nikula

Joonas, so did this miss the deadline for v4.17? You're not making
another pull request?

BR,
Jani.

On Thu, 08 Mar 2018, Joonas Lahtinen  wrote:
> Pulled.
>
> Regards, Joonas
>
> Quoting Zhenyu Wang (2018-03-08 04:31:52)
>> 
>> Hi,
>> 
>> Here's gvt-next update for 4.17. Biggest update is for huge code
>> refactor of shadow ppgtt from Changbin which is the most obscured
>> part, and with KBL context save/restore improvement from Weinan,
>> with other fixes.
>> 
>> Thanks.
>> --
>> The following changes since commit 1f267a572b573b0b155022750cba93001f4367a8:
>> 
>>   drm/i915: Update DRIVER_DATE to 20180305 (2018-03-05 11:56:15 +0200)
>> 
>> are available in the Git repository at:
>> 
>>   https://github.com/intel/gvt-linux.git tags/gvt-next-2018-03-08
>> 
>> for you to fetch changes up to 991ecefbdd4b81719597d6c406df8d26ef5c1546:
>> 
>>   drm/i915/gvt: Return error at the failure of finding page_track 
>> (2018-03-06 14:49:38 +0800)
>> 
>> 
>> gvt-next-2018-03-08
>> 
>> - big refactor for shadow ppgtt (Changbin)
>> - KBL context save/restore via LRI cmd (Weinan)
>> - misc smatch fixes (Zhenyu)
>> - Properly unmap dma for guest page (Changbin)
>> - other misc fixes (Xiong, etc.)
>> 
>> 
>> Changbin Du (18):
>>   drm/i915/gvt: Rework shadow graphic memory management code
>>   drm/i915/gvt: Refine the intel_vgpu_mm reference management
>>   drm/i915/gvt: Refine ggtt and ppgtt root entry ops
>>   drm/i915/gvt: Refine ggtt_set_shadow_entry
>>   drm/i915/gvt: Add verbose gtt shadow logs
>>   drm/i915/gvt: Rename ggtt related functions to be more specific
>>   drm/i915/gvt: Factor out intel_vgpu_{get, put}_ppgtt_mm interface
>>   drm/i915/gvt: Use standard pte bit definition
>>   drm/i915/gvt: Refine pte shadowing process
>>   drm/i915/gvt: Rework shadow page management code
>>   drm/i915/gvt: Rename shadow_page to short name spt
>>   drm/i915/gvt: Rename mpt api {set, unset}_wp_page to {enable, 
>> disable}_page_track
>>   drm/i915/gvt: Don't extend page_track to mpt layer
>>   drm/i915/gvt: Provide generic page_track infrastructure for 
>> write-protected page
>>   drm/i915/gvt: Manage shadow pages with radix tree
>>   drm/i915/gvt: Define PTE addr mask with GENMASK_ULL
>>   drm/i915/gvt: Fix guest vGPU hang caused by very high dma setup 
>> overhead
>>   drm/i915/kvmgt: Add kvmgt debugfs entry nr_cache_entries under vgpu
>> 
>> Weinan Li (3):
>>   drm/i915/gvt: add define GEN9_MOCS_SIZE
>>   drm/i915/gvt: add interface to check if context is inhibit
>>   drm/i915/gvt: init mmio by lri command in vgpu inhibit context
>> 
>> Xiong Zhang (2):
>>   drm/i915/gvt: Release gvt->lock at the failure of finding page track
>>   drm/i915/gvt: Return error at the failure of finding page_track
>> 
>> Zhenyu Wang (7):
>>   drm/i915/gvt: Fix one gvt_vgpu_error() use in dmabuf.c
>>   drm/i915/gvt: remove gvt max port definition
>>   drm/i915/gvt: Fix vGPU sched timeslice calculation warning
>>   drm/i915/gvt: Fix check error of vgpu create failure message
>>   drm/i915/gvt: Fix check error on fence mmio handler
>>   drm/i915/gvt: Fix one indent error
>>   drm/i915/gvt: Fix check error on hws_pga_write() fail message
>> 
>>  drivers/gpu/drm/i915/gvt/Makefile   |2 +-
>>  drivers/gpu/drm/i915/gvt/dmabuf.c   |2 +-
>>  drivers/gpu/drm/i915/gvt/gtt.c  | 1457 
>> ++-
>>  drivers/gpu/drm/i915/gvt/gtt.h  |  189 ++--
>>  drivers/gpu/drm/i915/gvt/gvt.c  |2 +-
>>  drivers/gpu/drm/i915/gvt/gvt.h  |   21 +-
>>  drivers/gpu/drm/i915/gvt/handlers.c |   38 +-
>>  drivers/gpu/drm/i915/gvt/hypercall.h|9 +-
>>  drivers/gpu/drm/i915/gvt/kvmgt.c|  313 ---
>>  drivers/gpu/drm/i915/gvt/mmio.c |9 +-
>>  drivers/gpu/drm/i915/gvt/mmio_context.c |  210 -
>>  drivers/gpu/drm/i915/gvt/mmio_context.h |5 +
>>  drivers/gpu/drm/i915/gvt/mpt.h  |   67 +-
>>  drivers/gpu/drm/i915/gvt/page_track.c   |  184 
>>  drivers/gpu/drm/i915/gvt/page_track.h   |   56 ++
>>  drivers/gpu/drm/i915/gvt/sched_policy.c |5 +-
>>  drivers/gpu/drm/i915/gvt/scheduler.c|   44 +-
>>  drivers/gpu/drm/i915/gvt/trace.h|   10 +-
>>  drivers/gpu/drm/i915/gvt/vgpu.c |1 +
>>  19 files changed, 1468 insertions(+), 1156 deletions(-)
>>  create mode 100644 drivers/gpu/drm/i915/gvt/page_track.c
>>  create mode 100644 drivers/gpu/drm/i915/gvt/page_track.h
>> 
>> 
>> -- 
>> Open Source Technology Center, Intel ltd.
>> 
>> $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827

-- 
Jani Nikula, Intel Open Source Technology Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PULL] gvt-next for 4.17

2018-03-08 Thread Joonas Lahtinen
Pulled.

Regards, Joonas

Quoting Zhenyu Wang (2018-03-08 04:31:52)
> 
> Hi,
> 
> Here's gvt-next update for 4.17. Biggest update is for huge code
> refactor of shadow ppgtt from Changbin which is the most obscured
> part, and with KBL context save/restore improvement from Weinan,
> with other fixes.
> 
> Thanks.
> --
> The following changes since commit 1f267a572b573b0b155022750cba93001f4367a8:
> 
>   drm/i915: Update DRIVER_DATE to 20180305 (2018-03-05 11:56:15 +0200)
> 
> are available in the Git repository at:
> 
>   https://github.com/intel/gvt-linux.git tags/gvt-next-2018-03-08
> 
> for you to fetch changes up to 991ecefbdd4b81719597d6c406df8d26ef5c1546:
> 
>   drm/i915/gvt: Return error at the failure of finding page_track (2018-03-06 
> 14:49:38 +0800)
> 
> 
> gvt-next-2018-03-08
> 
> - big refactor for shadow ppgtt (Changbin)
> - KBL context save/restore via LRI cmd (Weinan)
> - misc smatch fixes (Zhenyu)
> - Properly unmap dma for guest page (Changbin)
> - other misc fixes (Xiong, etc.)
> 
> 
> Changbin Du (18):
>   drm/i915/gvt: Rework shadow graphic memory management code
>   drm/i915/gvt: Refine the intel_vgpu_mm reference management
>   drm/i915/gvt: Refine ggtt and ppgtt root entry ops
>   drm/i915/gvt: Refine ggtt_set_shadow_entry
>   drm/i915/gvt: Add verbose gtt shadow logs
>   drm/i915/gvt: Rename ggtt related functions to be more specific
>   drm/i915/gvt: Factor out intel_vgpu_{get, put}_ppgtt_mm interface
>   drm/i915/gvt: Use standard pte bit definition
>   drm/i915/gvt: Refine pte shadowing process
>   drm/i915/gvt: Rework shadow page management code
>   drm/i915/gvt: Rename shadow_page to short name spt
>   drm/i915/gvt: Rename mpt api {set, unset}_wp_page to {enable, 
> disable}_page_track
>   drm/i915/gvt: Don't extend page_track to mpt layer
>   drm/i915/gvt: Provide generic page_track infrastructure for 
> write-protected page
>   drm/i915/gvt: Manage shadow pages with radix tree
>   drm/i915/gvt: Define PTE addr mask with GENMASK_ULL
>   drm/i915/gvt: Fix guest vGPU hang caused by very high dma setup overhead
>   drm/i915/kvmgt: Add kvmgt debugfs entry nr_cache_entries under vgpu
> 
> Weinan Li (3):
>   drm/i915/gvt: add define GEN9_MOCS_SIZE
>   drm/i915/gvt: add interface to check if context is inhibit
>   drm/i915/gvt: init mmio by lri command in vgpu inhibit context
> 
> Xiong Zhang (2):
>   drm/i915/gvt: Release gvt->lock at the failure of finding page track
>   drm/i915/gvt: Return error at the failure of finding page_track
> 
> Zhenyu Wang (7):
>   drm/i915/gvt: Fix one gvt_vgpu_error() use in dmabuf.c
>   drm/i915/gvt: remove gvt max port definition
>   drm/i915/gvt: Fix vGPU sched timeslice calculation warning
>   drm/i915/gvt: Fix check error of vgpu create failure message
>   drm/i915/gvt: Fix check error on fence mmio handler
>   drm/i915/gvt: Fix one indent error
>   drm/i915/gvt: Fix check error on hws_pga_write() fail message
> 
>  drivers/gpu/drm/i915/gvt/Makefile   |2 +-
>  drivers/gpu/drm/i915/gvt/dmabuf.c   |2 +-
>  drivers/gpu/drm/i915/gvt/gtt.c  | 1457 
> ++-
>  drivers/gpu/drm/i915/gvt/gtt.h  |  189 ++--
>  drivers/gpu/drm/i915/gvt/gvt.c  |2 +-
>  drivers/gpu/drm/i915/gvt/gvt.h  |   21 +-
>  drivers/gpu/drm/i915/gvt/handlers.c |   38 +-
>  drivers/gpu/drm/i915/gvt/hypercall.h|9 +-
>  drivers/gpu/drm/i915/gvt/kvmgt.c|  313 ---
>  drivers/gpu/drm/i915/gvt/mmio.c |9 +-
>  drivers/gpu/drm/i915/gvt/mmio_context.c |  210 -
>  drivers/gpu/drm/i915/gvt/mmio_context.h |5 +
>  drivers/gpu/drm/i915/gvt/mpt.h  |   67 +-
>  drivers/gpu/drm/i915/gvt/page_track.c   |  184 
>  drivers/gpu/drm/i915/gvt/page_track.h   |   56 ++
>  drivers/gpu/drm/i915/gvt/sched_policy.c |5 +-
>  drivers/gpu/drm/i915/gvt/scheduler.c|   44 +-
>  drivers/gpu/drm/i915/gvt/trace.h|   10 +-
>  drivers/gpu/drm/i915/gvt/vgpu.c |1 +
>  19 files changed, 1468 insertions(+), 1156 deletions(-)
>  create mode 100644 drivers/gpu/drm/i915/gvt/page_track.c
>  create mode 100644 drivers/gpu/drm/i915/gvt/page_track.h
> 
> 
> -- 
> Open Source Technology Center, Intel ltd.
> 
> $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx