Skip to contentSkip to conversation

gvt-next

GIT PULL Zhenyu Wang 3 participants 5 messages Nov 23, 2020 – Nov 27, 2020

lore
Share & tools
lore
#0 lore raw

Hi,

Here's gvt next pull for v5.11. Mostly it's for host suspend/resume fix with vGPU active and with some other enhancement as details below. Note that this includes some minor i915 driver change to add gvt hook in suspend/resume function which has been sent and reviewed on intel-gfx list.

I just generated against drm-intel-next-queued-2020-11-03 which this tree bases on now. Let me know if there's any issue in merge.

Thanks
--
The following changes since commit 139caf7ca2866cd0a45814ff938cb0c33920a266:

drm/i915: Update DRIVER_DATE to 20201103 (2020-11-03 14:21:25 +0200)

are available in the Git repository at:

https://github.com/intel/gvt-linux tags/gvt-next-2020-11-23

for you to fetch changes up to 9a3a238b3de97b4210c6de66aa88b2d7021ac086:

drm/i915/gvt: treat intel_gvt_mpt as const in gvt code (2020-11-23 17:14:20 +0800)

----------------------------------------------------------------
gvt-next-2020-11-23

- Fix host suspend/resume with vGPU (Colin)
- optimize idr init (Varma)
- Change intel_gvt_mpt as const (Julian)
- One comment error fix (Yan)

----------------------------------------------------------------
Colin Xu (3):
drm/i915/gvt: Save/restore HW status to support GVT suspend/resume drm/i915: Add GVT resume routine to i915
drm/i915/gvt: Fix virtual display setup for BXT/APL

Deepak R Varma (1):

      drm/i915/gvt: replace idr_init() by idr_init_base()

Julian Stecklina (1):
drm/i915/gvt: treat intel_gvt_mpt as const in gvt code

Yan Zhao (1):
drm/i915/gvt: correct a false comment of flag F_UNALIGN

 drivers/gpu/drm/i915/gvt/display.c  | 179 ++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/gvt/gtt.c      |  64 +++++++++++++
 drivers/gpu/drm/i915/gvt/gtt.h      |   4 +
 drivers/gpu/drm/i915/gvt/gvt.c      |  13 ++-
 drivers/gpu/drm/i915/gvt/gvt.h      |   7 +-
 drivers/gpu/drm/i915/gvt/handlers.c |  44 ++++++++-
 drivers/gpu/drm/i915/gvt/kvmgt.c    |   2 +-
 drivers/gpu/drm/i915/gvt/mmio.c     |   5 +
 drivers/gpu/drm/i915/gvt/mmio.h     |   4 +
 drivers/gpu/drm/i915/gvt/mpt.h      |   2 +-
 drivers/gpu/drm/i915/gvt/vgpu.c     |   2 +-
 drivers/gpu/drm/i915/i915_drv.c     |   2 +
 drivers/gpu/drm/i915/intel_gvt.c    |  15 +++
 drivers/gpu/drm/i915/intel_gvt.h    |   5 +
 14 files changed, 338 insertions(+), 10 deletions(-)
Signature · 1 line
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#1 lore raw

Quoting Zhenyu Wang (2020-11-23 11:05:17)

Quoted 11 lines

Hi,

Here's gvt next pull for v5.11. Mostly it's for host suspend/resume fix with vGPU active and with some other enhancement as details below. Note that this includes some minor i915 driver change to add gvt hook in suspend/resume function which has been sent and reviewed on intel-gfx list.

I just generated against drm-intel-next-queued-2020-11-03 which this tree bases on now. Let me know if there's any issue in merge.

Sometimes GVT changes are paired with changes related the i915 side to adjust the running virtual clients. The changes are more often related to GT side, but there's also been display related changes.

Going forward, would we want to continue to apply gvt-next to drm-intel-next (-queued is planned to be deprecated) or should we use drm-intel-gt-next?

Or should we always strictly apply the GVT changes to drm-intel-next, and then any related i915 changes to drm-intel-next or drm-intel-gt-next depending on which one they are related to?

Regards, Joonas

Quoted 37 lines

Thanks
--
The following changes since commit 139caf7ca2866cd0a45814ff938cb0c33920a266:

drm/i915: Update DRIVER_DATE to 20201103 (2020-11-03 14:21:25 +0200)

are available in the Git repository at:

https://github.com/intel/gvt-linux tags/gvt-next-2020-11-23

for you to fetch changes up to 9a3a238b3de97b4210c6de66aa88b2d7021ac086:

drm/i915/gvt: treat intel_gvt_mpt as const in gvt code (2020-11-23 17:14:20 +0800)

----------------------------------------------------------------
gvt-next-2020-11-23

- Fix host suspend/resume with vGPU (Colin)
- optimize idr init (Varma)
- Change intel_gvt_mpt as const (Julian)
- One comment error fix (Yan)

----------------------------------------------------------------
Colin Xu (3):
drm/i915/gvt: Save/restore HW status to support GVT suspend/resume drm/i915: Add GVT resume routine to i915
drm/i915/gvt: Fix virtual display setup for BXT/APL

Deepak R Varma (1):

      drm/i915/gvt: replace idr_init() by idr_init_base()

Julian Stecklina (1):
drm/i915/gvt: treat intel_gvt_mpt as const in gvt code

Yan Zhao (1):
drm/i915/gvt: correct a false comment of flag F_UNALIGN

Quoted 19 lines
 drivers/gpu/drm/i915/gvt/display.c  | 179 ++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/gvt/gtt.c      |  64 +++++++++++++
 drivers/gpu/drm/i915/gvt/gtt.h      |   4 +
 drivers/gpu/drm/i915/gvt/gvt.c      |  13 ++-
 drivers/gpu/drm/i915/gvt/gvt.h      |   7 +-
 drivers/gpu/drm/i915/gvt/handlers.c |  44 ++++++++-
 drivers/gpu/drm/i915/gvt/kvmgt.c    |   2 +-
 drivers/gpu/drm/i915/gvt/mmio.c     |   5 +
 drivers/gpu/drm/i915/gvt/mmio.h     |   4 +
 drivers/gpu/drm/i915/gvt/mpt.h      |   2 +-
 drivers/gpu/drm/i915/gvt/vgpu.c     |   2 +-
 drivers/gpu/drm/i915/i915_drv.c     |   2 +
 drivers/gpu/drm/i915/intel_gvt.c    |  15 +++
 drivers/gpu/drm/i915/intel_gvt.h    |   5 +
 14 files changed, 338 insertions(+), 10 deletions(-)
Signature · 1 line
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#2 lore raw
Quoted 13 lines · Joonas Lahtinen

Quoting Zhenyu Wang (2020-11-23 11:05:17)

Quoted 11 lines

Hi,

Here's gvt next pull for v5.11. Mostly it's for host suspend/resume fix with vGPU active and with some other enhancement as details below. Note that this includes some minor i915 driver change to add gvt hook in suspend/resume function which has been sent and reviewed on intel-gfx list.

I just generated against drm-intel-next-queued-2020-11-03 which this tree bases on now. Let me know if there's any issue in merge.

Quoted 8 lines

Sometimes GVT changes are paired with changes related the i915 side to adjust the running virtual clients. The changes are more often related to GT side, but there's also been display related changes.

Going forward, would we want to continue to apply gvt-next to drm-intel-next (-queued is planned to be deprecated) or should we use drm-intel-gt-next?

Is there any clear criteria on patches for -next or -gt-next now? Something might be only gvt specific, e.g we'll have some enhancement patches for guest context parse, this might be considered as 'gt' part? I'm not sure. But yes, I hope we just stick with one, currently thinking drm-intel-next.

Quoted 4 lines

Or should we always strictly apply the GVT changes to drm-intel-next, and then any related i915 changes to drm-intel-next or drm-intel-gt-next depending on which one they are related to?

How about basically we just apply to drm-intel-next, but there might be gvt specific pull required for -gt-next e.g ww-lock fixes? I think we can do that way now to see if there'll be any real issue popup.

Thanks

Quoted 61 lines
Quoted 38 lines

Thanks
--
The following changes since commit 139caf7ca2866cd0a45814ff938cb0c33920a266:

drm/i915: Update DRIVER_DATE to 20201103 (2020-11-03 14:21:25 +0200)

are available in the Git repository at:

https://github.com/intel/gvt-linux tags/gvt-next-2020-11-23

for you to fetch changes up to 9a3a238b3de97b4210c6de66aa88b2d7021ac086:

drm/i915/gvt: treat intel_gvt_mpt as const in gvt code (2020-11-23 17:14:20 +0800)

----------------------------------------------------------------
gvt-next-2020-11-23

- Fix host suspend/resume with vGPU (Colin)
- optimize idr init (Varma)
- Change intel_gvt_mpt as const (Julian)
- One comment error fix (Yan)

----------------------------------------------------------------
Colin Xu (3):
drm/i915/gvt: Save/restore HW status to support GVT suspend/resume drm/i915: Add GVT resume routine to i915
drm/i915/gvt: Fix virtual display setup for BXT/APL

Deepak R Varma (1):

      drm/i915/gvt: replace idr_init() by idr_init_base()

Julian Stecklina (1):
drm/i915/gvt: treat intel_gvt_mpt as const in gvt code

Yan Zhao (1):
drm/i915/gvt: correct a false comment of flag F_UNALIGN

Quoted 19 lines
 drivers/gpu/drm/i915/gvt/display.c  | 179 ++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/gvt/gtt.c      |  64 +++++++++++++
 drivers/gpu/drm/i915/gvt/gtt.h      |   4 +
 drivers/gpu/drm/i915/gvt/gvt.c      |  13 ++-
 drivers/gpu/drm/i915/gvt/gvt.h      |   7 +-
 drivers/gpu/drm/i915/gvt/handlers.c |  44 ++++++++-
 drivers/gpu/drm/i915/gvt/kvmgt.c    |   2 +-
 drivers/gpu/drm/i915/gvt/mmio.c     |   5 +
 drivers/gpu/drm/i915/gvt/mmio.h     |   4 +
 drivers/gpu/drm/i915/gvt/mpt.h      |   2 +-
 drivers/gpu/drm/i915/gvt/vgpu.c     |   2 +-
 drivers/gpu/drm/i915/i915_drv.c     |   2 +
 drivers/gpu/drm/i915/intel_gvt.c    |  15 +++
 drivers/gpu/drm/i915/intel_gvt.h    |   5 +
 14 files changed, 338 insertions(+), 10 deletions(-)
Signature · 1 line
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827

_______________________________________________
intel-gvt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev

Signature · 1 line
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#3 lore raw
Quoted 28 lines · Zhenyu Wang
Quoted 13 lines · Joonas Lahtinen

Quoting Zhenyu Wang (2020-11-23 11:05:17)

Quoted 11 lines

Hi,

Here's gvt next pull for v5.11. Mostly it's for host suspend/resume fix with vGPU active and with some other enhancement as details below. Note that this includes some minor i915 driver change to add gvt hook in suspend/resume function which has been sent and reviewed on intel-gfx list.

I just generated against drm-intel-next-queued-2020-11-03 which this tree bases on now. Let me know if there's any issue in merge.

Quoted 8 lines

Sometimes GVT changes are paired with changes related the i915 side to adjust the running virtual clients. The changes are more often related to GT side, but there's also been display related changes.

Going forward, would we want to continue to apply gvt-next to drm-intel-next (-queued is planned to be deprecated) or should we use drm-intel-gt-next?

Is there any clear criteria on patches for -next or -gt-next now? Something might be only gvt specific, e.g we'll have some enhancement patches for guest context parse, this might be considered as 'gt' part? I'm not sure. But yes, I hope we just stick with one, currently thinking drm-intel-next.

Quoted 8 lines
Quoted 4 lines

Or should we always strictly apply the GVT changes to drm-intel-next, and then any related i915 changes to drm-intel-next or drm-intel-gt-next depending on which one they are related to?

How about basically we just apply to drm-intel-next, but there might be gvt specific pull required for -gt-next e.g ww-lock fixes? I think we can do that way now to see if there'll be any real issue popup.

Pulled to drm-intel-next-queued now.

Thanks,
Jani.

Quoted 64 lines

Thanks

Quoted 61 lines
Quoted 38 lines

Thanks
--
The following changes since commit 139caf7ca2866cd0a45814ff938cb0c33920a266:

drm/i915: Update DRIVER_DATE to 20201103 (2020-11-03 14:21:25 +0200)

are available in the Git repository at:

https://github.com/intel/gvt-linux tags/gvt-next-2020-11-23

for you to fetch changes up to 9a3a238b3de97b4210c6de66aa88b2d7021ac086:

drm/i915/gvt: treat intel_gvt_mpt as const in gvt code (2020-11-23 17:14:20 +0800)

----------------------------------------------------------------
gvt-next-2020-11-23

- Fix host suspend/resume with vGPU (Colin)
- optimize idr init (Varma)
- Change intel_gvt_mpt as const (Julian)
- One comment error fix (Yan)

----------------------------------------------------------------
Colin Xu (3):
drm/i915/gvt: Save/restore HW status to support GVT suspend/resume drm/i915: Add GVT resume routine to i915
drm/i915/gvt: Fix virtual display setup for BXT/APL

Deepak R Varma (1):

      drm/i915/gvt: replace idr_init() by idr_init_base()

Julian Stecklina (1):
drm/i915/gvt: treat intel_gvt_mpt as const in gvt code

Yan Zhao (1):
drm/i915/gvt: correct a false comment of flag F_UNALIGN

Quoted 19 lines
 drivers/gpu/drm/i915/gvt/display.c  | 179 ++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/gvt/gtt.c      |  64 +++++++++++++
 drivers/gpu/drm/i915/gvt/gtt.h      |   4 +
 drivers/gpu/drm/i915/gvt/gvt.c      |  13 ++-
 drivers/gpu/drm/i915/gvt/gvt.h      |   7 +-
 drivers/gpu/drm/i915/gvt/handlers.c |  44 ++++++++-
 drivers/gpu/drm/i915/gvt/kvmgt.c    |   2 +-
 drivers/gpu/drm/i915/gvt/mmio.c     |   5 +
 drivers/gpu/drm/i915/gvt/mmio.h     |   4 +
 drivers/gpu/drm/i915/gvt/mpt.h      |   2 +-
 drivers/gpu/drm/i915/gvt/vgpu.c     |   2 +-
 drivers/gpu/drm/i915/i915_drv.c     |   2 +
 drivers/gpu/drm/i915/intel_gvt.c    |  15 +++
 drivers/gpu/drm/i915/intel_gvt.h    |   5 +
 14 files changed, 338 insertions(+), 10 deletions(-)
Signature · 1 line
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827

_______________________________________________
intel-gvt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev

Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#4 lore raw
In reply to Zhenyu Wang

Quoting Zhenyu Wang (2020-11-24 05:13:59)

Quoted 23 lines · Joonas Lahtinen
Quoted 13 lines

Quoting Zhenyu Wang (2020-11-23 11:05:17)

Quoted 11 lines

Hi,

Here's gvt next pull for v5.11. Mostly it's for host suspend/resume fix with vGPU active and with some other enhancement as details below. Note that this includes some minor i915 driver change to add gvt hook in suspend/resume function which has been sent and reviewed on intel-gfx list.

I just generated against drm-intel-next-queued-2020-11-03 which this tree bases on now. Let me know if there's any issue in merge.

Quoted 8 lines

Sometimes GVT changes are paired with changes related the i915 side to adjust the running virtual clients. The changes are more often related to GT side, but there's also been display related changes.

Going forward, would we want to continue to apply gvt-next to drm-intel-next (-queued is planned to be deprecated) or should we use drm-intel-gt-next?

Quoted 4 lines

Is there any clear criteria on patches for -next or -gt-next now? Something might be only gvt specific, e.g we'll have some enhancement patches for guest context parse, this might be considered as 'gt' part? I'm not sure. But yes, I hope we just stick with one, currently thinking drm-intel-next.

For anything self-contained in gvt directory only, we can make a choice.

I think the patches that concern vgpu, have most often been around the GT related code (opposed to display and PM).

That kind of makes me think we would get away with least amount of topic branches and backmerges in the future if we also merged gvt-next to drm-intel-gt-next. Thoughts?

That'd just mean a shift in timeline to send gvt-next latest early in -rc4 week.

Regards, Joonas

Quoted 65 lines
Quoted 4 lines

Or should we always strictly apply the GVT changes to drm-intel-next, and then any related i915 changes to drm-intel-next or drm-intel-gt-next depending on which one they are related to?

How about basically we just apply to drm-intel-next, but there might be gvt specific pull required for -gt-next e.g ww-lock fixes? I think we can do that way now to see if there'll be any real issue popup.

Thanks

Quoted 54 lines
Quoted 54 lines

Thanks
--
The following changes since commit 139caf7ca2866cd0a45814ff938cb0c33920a266:

drm/i915: Update DRIVER_DATE to 20201103 (2020-11-03 14:21:25 +0200)

are available in the Git repository at:

https://github.com/intel/gvt-linux tags/gvt-next-2020-11-23

for you to fetch changes up to 9a3a238b3de97b4210c6de66aa88b2d7021ac086:

drm/i915/gvt: treat intel_gvt_mpt as const in gvt code (2020-11-23 17:14:20 +0800)

----------------------------------------------------------------
gvt-next-2020-11-23

- Fix host suspend/resume with vGPU (Colin)
- optimize idr init (Varma)
- Change intel_gvt_mpt as const (Julian)
- One comment error fix (Yan)

----------------------------------------------------------------
Colin Xu (3):
drm/i915/gvt: Save/restore HW status to support GVT suspend/resume drm/i915: Add GVT resume routine to i915
drm/i915/gvt: Fix virtual display setup for BXT/APL

Deepak R Varma (1):

      drm/i915/gvt: replace idr_init() by idr_init_base()

Julian Stecklina (1):
drm/i915/gvt: treat intel_gvt_mpt as const in gvt code

Yan Zhao (1):
drm/i915/gvt: correct a false comment of flag F_UNALIGN

 drivers/gpu/drm/i915/gvt/display.c  | 179 ++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/gvt/gtt.c      |  64 +++++++++++++
 drivers/gpu/drm/i915/gvt/gtt.h      |   4 +
 drivers/gpu/drm/i915/gvt/gvt.c      |  13 ++-
 drivers/gpu/drm/i915/gvt/gvt.h      |   7 +-
 drivers/gpu/drm/i915/gvt/handlers.c |  44 ++++++++-
 drivers/gpu/drm/i915/gvt/kvmgt.c    |   2 +-
 drivers/gpu/drm/i915/gvt/mmio.c     |   5 +
 drivers/gpu/drm/i915/gvt/mmio.h     |   4 +
 drivers/gpu/drm/i915/gvt/mpt.h      |   2 +-
 drivers/gpu/drm/i915/gvt/vgpu.c     |   2 +-
 drivers/gpu/drm/i915/i915_drv.c     |   2 +
 drivers/gpu/drm/i915/intel_gvt.c    |  15 +++
 drivers/gpu/drm/i915/intel_gvt.h    |   5 +
 14 files changed, 338 insertions(+), 10 deletions(-)
Quoted 11 lines
Quoted 7 lines
Quoted 3 lines
Signature · 1 line
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827

_______________________________________________
intel-gvt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev

Signature · 1 line
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx