From patchwork Wed Dec 18 05:16:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Wang X-Patchwork-Id: 11299539 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 26B4E14B7 for ; Wed, 18 Dec 2019 05:18:55 +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 0DC90206D7 for ; Wed, 18 Dec 2019 05:18:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0DC90206D7 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 8D4996E132; Wed, 18 Dec 2019 05:18:51 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id 873B36E132; Wed, 18 Dec 2019 05:18:50 +0000 (UTC) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Dec 2019 21:18:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,328,1571727600"; d="asc'?scan'208";a="218029698" Received: from zhen-hp.sh.intel.com (HELO zhen-hp) ([10.239.13.116]) by orsmga003.jf.intel.com with ESMTP; 17 Dec 2019 21:18:47 -0800 Date: Wed, 18 Dec 2019 13:16:57 +0800 From: Zhenyu Wang To: Joonas Lahtinen , "Vivi, Rodrigo" , Jani Nikula Message-ID: <20191218051657.GA21662@zhen-hp.sh.intel.com> MIME-Version: 1.0 User-Agent: Mutt/1.10.0 (2018-05-17) Subject: [Intel-gfx] [PULL] gvt-fixes 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 fixes which has fix for vGPU display dmabuf, one guest reset warning and one locking issue. Details below. Thanks --- The following changes since commit f26a9e959a7b1588c59f7a919b41b67175b211d8: drm/i915/gt: Detect if we miss WaIdleLiteRestore (2019-12-10 12:37:53 +0200) are available in the Git repository at: https://github.com/intel/gvt-linux tags/gvt-fixes-2019-12-18 for you to fetch changes up to 5e822e44cecec1ea48925630aa31dfac827fd202: drm/i915/gvt: Fix guest boot warning (2019-12-17 11:19:58 +0800) ---------------------------------------------------------------- gvt-fixes-2019-12-18 - vGPU state setting locking fix (Zhenyu) - Fix vGPU display dmabuf as read-only (Zhenyu) - Properly handle vGPU display dmabuf page pin when rendering (Tina) - Fix one guest boot warning to handle guc reset state (Fred) ---------------------------------------------------------------- Gao Fred (1): drm/i915/gvt: Fix guest boot warning Tina Zhang (1): drm/i915/gvt: Pin vgpu dma address before using Zhenyu Wang (2): drm/i915/gvt: use vgpu lock for active state setting drm/i915/gvt: set guest display buffer as readonly drivers/gpu/drm/i915/gvt/dmabuf.c | 64 +++++++++++++++++++++++++++++++++--- drivers/gpu/drm/i915/gvt/handlers.c | 16 +++++++++ drivers/gpu/drm/i915/gvt/hypercall.h | 2 ++ drivers/gpu/drm/i915/gvt/kvmgt.c | 23 +++++++++++++ drivers/gpu/drm/i915/gvt/mpt.h | 15 +++++++++ drivers/gpu/drm/i915/gvt/vgpu.c | 4 +-- 6 files changed, 118 insertions(+), 6 deletions(-)