[PATCH v5] drm/i915/gvt: update CSB and CSB write pointer in virtual HWSP
Zhenyu Wang
zhenyuw at linux.intel.com
Fri Oct 20 08:38:56 UTC 2017
On 2017.10.20 15:16:46 +0800, Weinan Li wrote:
> The engine provides a mirror of the CSB and CSB write pointer in the HWSP.
> Read these status from virtual HWSP in VM can reduce CPU utilization while
> applications have much more short GPU workloads. Here we update the
> corresponding data in virtual HWSP as it in virtual MMIO.
>
> Before read these status from HWSP in GVT-g VM, please ensure the host
> support it by checking the BIT(3) of caps in PVINFO.
>
> Virtual HWSP only support GEN8+ platform, since the HWSP MMIO may change
> follow the platform update, please add the corresponding MMIO emulation
> when enable new platforms in GVT-g.
>
> v3 : Add address audit in HWSP address update.
>
> v4 :
> Separate this patch with enalbe virtual HWSP in VM.
> Use intel_gvt_render_mmio_to_ring_id() to determine ring_id by offset.
>
> v5 : Remove unnessary check about Gen8, GVT-g only support Gen8+.
>
> Signed-off-by: Weinan Li <weinan.z.li at intel.com>
> Cc: Zhenyu Wang <zhenyuw at linux.intel.com>
> ---
applied, thanks!
--
Open Source Technology Center, Intel ltd.
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20171020/f9274427/attachment-0001.sig>
More information about the intel-gvt-dev
mailing list