All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
To: Tina Zhang <tina.zhang@intel.com>, intel-gvt-dev@lists.freedesktop.org
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH v1 2/4] drm/i915: introduce vgt_caps to pvinfo
Date: Thu, 11 May 2017 11:58:59 +0300	[thread overview]
Message-ID: <1494493139.4542.1.camel@linux.intel.com> (raw)
In-Reply-To: <1494469984-3486-3-git-send-email-tina.zhang@intel.com>

On to, 2017-05-11 at 10:33 +0800, Tina Zhang wrote:
> vgt_caps is used for guest i915 driver to get the vgpu capabilities
> from the device model.
> 
> Signed-off-by: Tina Zhang <tina.zhang@intel.com>

<SNIP>

> +++ b/drivers/gpu/drm/i915/i915_pvinfo.h
> @@ -58,7 +58,8 @@ struct vgt_if {
>  	uint16_t version_major;
>  	uint16_t version_minor;
>  	u32 vgt_id;		/* ID of vGT instance */
> -	u32 rsv1[12];		/* pad to offset 0x40 */
> +	uint32_t  vgt_caps;     /* VGT capabilities */

This should really be u32 too.

Regards, Joonas

> +	u32 rsv1[11];		/* pad to offset 0x40 */
>  	/*
>  	 *  Data structure to describe the balooning info of resources.
>  	 *  Each VM can only have one portion of continuous area for now.
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2017-05-11  8:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-11  2:33 [PATCH v1 0/4] Enable guest linux i915 full ppgtt functionality Tina Zhang
2017-05-11  2:33 ` [PATCH v1 1/4] drm/i915/gvt: reorder the shadow ppgtt update process by adding entry first Tina Zhang
2017-05-11  2:33 ` [PATCH v1 2/4] drm/i915: introduce vgt_caps to pvinfo Tina Zhang
2017-05-11  8:58   ` Joonas Lahtinen [this message]
2017-05-11  2:33 ` [PATCH v1 3/4] drm/i915/gvt: provide full ppgtt capability for guest i915 driver Tina Zhang
2017-05-11  9:19   ` Joonas Lahtinen
2017-05-11  2:33 ` [PATCH v1 4/4] drm/i915: enable guest full ppgtt when device model supports Tina Zhang
2017-05-11  9:14   ` Joonas Lahtinen
2017-05-11  2:56 ` ✓ Fi.CI.BAT: success for Enable guest linux i915 full ppgtt functionality Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1494493139.4542.1.camel@linux.intel.com \
    --to=joonas.lahtinen@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-gvt-dev@lists.freedesktop.org \
    --cc=tina.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.