From patchwork Wed Apr 22 05:12:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Wang X-Patchwork-Id: 11502933 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6827B14DD for ; Wed, 22 Apr 2020 05:28:36 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 49738206EC for ; Wed, 22 Apr 2020 05:28:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 49738206EC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 77B656E0F9; Wed, 22 Apr 2020 05:28:33 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 38E256E0EB; Wed, 22 Apr 2020 05:28:32 +0000 (UTC) IronPort-SDR: p/muaZwacvlFhZjM8x3TRmcSXiWgQCE8G1teGf3GafHSq0RcXnm1HZAYQuIk3pTfM1kTVyE7Qp pMX5rRvO4RdQ== X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2020 22:26:31 -0700 IronPort-SDR: owKBpUx4zSsstgwgkvvKcUsAkZwcpKggtmms7p0570IaNRm1ewejILBeK5smLSHMczUj2op4N6 V6abFp3o05oQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,412,1580803200"; d="asc'?scan'208";a="244403989" Received: from zhen-hp.sh.intel.com (HELO zhen-hp) ([10.239.160.147]) by orsmga007.jf.intel.com with ESMTP; 21 Apr 2020 22:26:29 -0700 Date: Wed, 22 Apr 2020 13:12:30 +0800 From: Zhenyu Wang To: Joonas Lahtinen , "Vivi, Rodrigo" , Jani Nikula Message-ID: <20200422051230.GH11247@zhen-hp.sh.intel.com> MIME-Version: 1.0 User-Agent: Mutt/1.10.0 (2018-05-17) Subject: [Intel-gfx] [PULL] gvt-next X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Zhenyu Wang Cc: intel-gfx , intel-gvt-dev , "Lv, Zhiyuan" , "Yuan, Hang" Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi, Here's current gvt-next. This removes left non-upstream xen support bits which will be kept out of tree instead. And several guest context shadow optimizations from Yan. Thanks --- The following changes since commit a61ac1e75105a077ec1efd6923ae3c619f862304: drm/i915/gvt: Wean gvt off using dev_priv (2020-03-06 10:08:10 +0800) are available in the Git repository at: https://github.com/intel/gvt-linux tags/gvt-next-2020-04-22 for you to fetch changes up to fb55c735522352704c35d899d0b253453cf0e799: drm/i915/gvt: skip populate shadow context if guest context not changed (2020-04-17 17:31:22 +0800) ---------------------------------------------------------------- gvt-next-2020-04-22 - remove non-upstream xen support bits (Christoph) - guest context shadow copy optimization (Yan) - guest context tracking for shadow skip optimization (Yan) ---------------------------------------------------------------- Christoph Hellwig (1): i915/gvt: remove unused xen bits Yan Zhao (3): drm/i915/gvt: access shadow ctx via its virtual address directly drm/i915/gvt: combine access to consecutive guest context pages drm/i915/gvt: skip populate shadow context if guest context not changed drivers/gpu/drm/i915/gvt/gtt.c | 15 +++++ drivers/gpu/drm/i915/gvt/gvt.c | 1 - drivers/gpu/drm/i915/gvt/gvt.h | 5 ++ drivers/gpu/drm/i915/gvt/hypercall.h | 2 - drivers/gpu/drm/i915/gvt/scheduler.c | 127 ++++++++++++++++++++++++++--------- 5 files changed, 114 insertions(+), 36 deletions(-)