From patchwork Thu Apr 11 06:49: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: 10895155 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 AB580139A for ; Thu, 11 Apr 2019 07:00:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8FE8C28ADE for ; Thu, 11 Apr 2019 07:00:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8E2CE28C9D; Thu, 11 Apr 2019 07:00:41 +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 A171128C9E for ; Thu, 11 Apr 2019 07:00:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 705BB897F6; Thu, 11 Apr 2019 07:00:35 +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 717B3897F5; Thu, 11 Apr 2019 07:00:33 +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 fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Apr 2019 00:00:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,336,1549958400"; d="asc'?scan'208";a="141794160" Received: from zhen-hp.sh.intel.com (HELO zhen-hp) ([10.239.13.116]) by orsmga003.jf.intel.com with ESMTP; 11 Apr 2019 00:00:30 -0700 Date: Thu, 11 Apr 2019 14:49:10 +0800 From: Zhenyu Wang To: "Vivi, Rodrigo" , Joonas Lahtinen , Jani Nikula Message-ID: <20190411064910.GF17995@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, This includes one vGPU display plane size regression fix, one for preventing use-after-free in ppgtt shadow free function and another warning fix for iomem access annotation. Thanks. --- The following changes since commit cf9ed66671ec5f6cacc7b6efbad9d7c9e5e31776: drm/i915/gvt: Fix kerneldoc typo for intel_vgpu_emulate_hotplug (2019-04-04 08:45:45 +0800) are available in the Git repository at: https://github.com/intel/gvt-linux.git tags/gvt-fixes-2019-04-11 for you to fetch changes up to cd7879f79f83aec4bb13f0f823f323911dc5397b: drm/i915/gvt: Roundup fb->height into tile's height at calucation fb->size (2019-04-11 11:09:53 +0800) ---------------------------------------------------------------- gvt-fixes-2019-04-11 - Fix sparse warning on iomem usage (Chris) - Prevent use-after-free for ppgtt shadow table free (Chris) - Fix display plane size regression for tiled surface (Xiong) ---------------------------------------------------------------- Chris Wilson (2): drm/i915/gvt: Annotate iomem usage drm/i915/gvt: Prevent use-after-free in ppgtt_free_all_spt() Xiong Zhang (1): drm/i915/gvt: Roundup fb->height into tile's height at calucation fb->size drivers/gpu/drm/i915/gvt/dmabuf.c | 9 ++++++--- drivers/gpu/drm/i915/gvt/gtt.c | 12 +++++++++--- drivers/gpu/drm/i915/gvt/kvmgt.c | 6 +++--- 3 files changed, 18 insertions(+), 9 deletions(-)