From patchwork Thu Mar 7 06:08:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Wang X-Patchwork-Id: 10842235 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 724D31575 for ; Thu, 7 Mar 2019 06:18:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5C7CF2E869 for ; Thu, 7 Mar 2019 06:18:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 504D92E86C; Thu, 7 Mar 2019 06:18:22 +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 A8A222E86D for ; Thu, 7 Mar 2019 06:18:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EAEE089D4B; Thu, 7 Mar 2019 06:18:17 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id F0AFE89D4B; Thu, 7 Mar 2019 06:18:16 +0000 (UTC) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Mar 2019 22:18:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,450,1544515200"; d="asc'?scan'208";a="280482405" Received: from zhen-hp.sh.intel.com (HELO zhen-hp) ([10.239.13.116]) by orsmga004.jf.intel.com with ESMTP; 06 Mar 2019 22:18:14 -0800 Date: Thu, 7 Mar 2019 14:08:10 +0800 From: Zhenyu Wang To: Jani Nikula , Joonas Lahtinen , "Vivi, Rodrigo" Message-ID: <20190307060810.GT12380@zhen-hp.sh.intel.com> MIME-Version: 1.0 User-Agent: Mutt/1.10.0 (2018-05-17) Subject: [Intel-gfx] [PULL] gvt-fixes for 5.1-rc1 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, Here's gvt-fixes for 5.1-rc1. This contains fixes for newer version of Windows driver, e.g fix parser for MI_FLUSH_DW and font render error. And with other stable fix in error path, 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-07 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-07 - 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(-)