From patchwork Thu Mar 21 03:50:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Wang X-Patchwork-Id: 10862943 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D72711515 for ; Thu, 21 Mar 2019 04:01:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B007E299D5 for ; Thu, 21 Mar 2019 04:01:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F57729FBB; Thu, 21 Mar 2019 04:01:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C3EE0299D5 for ; Thu, 21 Mar 2019 04:00:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8CAA189D2F; Thu, 21 Mar 2019 04:00:57 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id AFFA789D2F; Thu, 21 Mar 2019 04:00:55 +0000 (UTC) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Mar 2019 21:00:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,251,1549958400"; d="asc'?scan'208";a="153691020" Received: from zhen-hp.sh.intel.com (HELO zhen-hp) ([10.239.13.116]) by fmsmga002.fm.intel.com with ESMTP; 20 Mar 2019 21:00:52 -0700 Date: Thu, 21 Mar 2019 11:50:18 +0800 From: Zhenyu Wang To: "Vivi, Rodrigo" , Jani Nikula , Joonas Lahtinen Message-ID: <20190321035018.GF10798@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.23 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" X-Virus-Scanned: ClamAV using ClamSMTP Hi, Sorry that I might miss 5.1-rc1 window as I was in full day event during this week. Here's re-generated gvt-fixes against drm-intel-fixes. This contains fixes for newer version of Windows driver, e.g fixing parser for MI_FLUSH_DW command and fixed windows font render error, with other stable fix in error path, and fix unexpected workload submission when vGPU idle, etc. Details are below. Thanks! --- The following changes since commit 0f75551216091223efe1f18295f655aff6415385: drm/i915/gvt: release shadow batch buffer and wa_ctx before destroy one workload (2019-01-23 13:58:46 +0800) are available in the Git repository at: https://github.com/intel/gvt-linux.git tags/gvt-fixes-2019-03-21 for you to fetch changes up to 72aabfb862e40ee83c136c4f87877c207e6859b7: drm/i915/gvt: Add mutual lock for ppgtt mm LRU list (2019-03-04 14:45:28 +0800) ---------------------------------------------------------------- gvt-fixes-2019-03-21 - Fix MI_FLUSH_DW cmd parser on index check (Zhenyu) - Fix Windows guest font render error (Colin) - Fix unexpected workload submission for inactive vGPU (Weinan) - Fix incorrect workload submission in error path (Zhenyu) - Fix warning for shadow ppgtt mm reclaim list walk with locking (Zhenyu) ---------------------------------------------------------------- Colin Xu (1): drm/i915/gvt: Add in context mmio 0x20D8 to gen9 mmio list Weinan Li (1): drm/i915/gvt: stop scheduling workload when vgpu is inactive Zhenyu Wang (4): drm/i915/gvt: Fix MI_FLUSH_DW parsing with correct index check drm/i915/gvt: Don't submit request for error workload dispatch drm/i915/gvt: Only assign ppgtt root at dispatch time drm/i915/gvt: Add mutual lock for ppgtt mm LRU list drivers/gpu/drm/i915/gvt/cmd_parser.c | 2 +- drivers/gpu/drm/i915/gvt/gtt.c | 14 +++++++++++++- drivers/gpu/drm/i915/gvt/gtt.h | 1 + drivers/gpu/drm/i915/gvt/mmio_context.c | 1 + drivers/gpu/drm/i915/gvt/scheduler.c | 28 ++++++++++++++++++++-------- 5 files changed, 36 insertions(+), 10 deletions(-)