From patchwork Tue May 7 09:05:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Wang X-Patchwork-Id: 10932573 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 69B8214B6 for ; Tue, 7 May 2019 09:06:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 55F32288BE for ; Tue, 7 May 2019 09:06:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 47409288C3; Tue, 7 May 2019 09:06:33 +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 C5E3A288BE for ; Tue, 7 May 2019 09:06:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7D7BD89F85; Tue, 7 May 2019 09:06:31 +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 B041B89E98; Tue, 7 May 2019 09:06:30 +0000 (UTC) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 May 2019 02:06:30 -0700 X-ExtLoop1: 1 Received: from zhen-hp.sh.intel.com (HELO zhen-hp) ([10.239.13.116]) by fmsmga006.fm.intel.com with ESMTP; 07 May 2019 02:06:28 -0700 Date: Tue, 7 May 2019 17:05:58 +0800 From: Zhenyu Wang To: Joonas Lahtinen , "Vivi, Rodrigo" , Jani Nikula Message-ID: <20190507090558.GE12913@zhen-hp.sh.intel.com> MIME-Version: 1.0 User-Agent: Mutt/1.10.0 (2018-05-17) Subject: [Intel-gfx] [PULL] gvt-next-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, Here's gvt-next-fixes for 5.2-rc, which includes one revert for BXT regression, one missed context mmio reg after RCS renaming, sanitize display buffer size calculation and some klocwork warning/error fixes. Thanks --- The following changes since commit 447811a686e8da7325516a78069ccfbd139ef1a7: drm/i915/icl: Fix MG_DP_MODE() register programming (2019-04-24 09:39:11 +0300) are available in the Git repository at: https://github.com/intel/gvt-linux.git tags/gvt-next-fixes-2019-05-07 for you to fetch changes up to 75fdb811d93c8aa4a9f73b63db032b1e6a8668ef: drm/i915/gvt: Add in context mmio 0x20D8 to gen9 mmio list (2019-05-05 17:02:25 +0800) ---------------------------------------------------------------- gvt-next-fixes-2019-05-07 - Revert MCHBAR save range change for BXT regression (Yakui) - Align display dmabuf size for bytes instead of error-prone pages (Xiong) - Fix one context MMIO save/restore after RCS0 name change (Colin) - Misc klocwork warning/errors fixes (Aleksei) ---------------------------------------------------------------- Aleksei Gimbitskii (4): drm/i915/gvt: Remove typedef and let the enumeration starts from zero drm/i915/gvt: Do not copy the uninitialized pointer from fb_info drm/i915/gvt: Use snprintf() to prevent possible buffer overflow. drm/i915/gvt: Check if get_next_pt_type() always returns a valid value Colin Xu (1): drm/i915/gvt: Add in context mmio 0x20D8 to gen9 mmio list Xiong Zhang (1): drm/i915/gvt: Change fb_info->size from pages to bytes Zhao Yakui (1): drm/i915/gvt: Revert "drm/i915/gvt: Refine the snapshort range of I915 MCHBAR to optimize gvt-g boot time" drivers/gpu/drm/i915/gvt/debugfs.c | 4 ++-- drivers/gpu/drm/i915/gvt/dmabuf.c | 19 ++++++++----------- drivers/gpu/drm/i915/gvt/gtt.c | 15 +++++++++------ drivers/gpu/drm/i915/gvt/gtt.h | 16 ++++++++-------- drivers/gpu/drm/i915/gvt/handlers.c | 4 ++-- drivers/gpu/drm/i915/gvt/mmio_context.c | 1 + drivers/gpu/drm/i915/gvt/reg.h | 3 --- drivers/gpu/drm/i915/gvt/scheduler.c | 2 +- 8 files changed, 31 insertions(+), 33 deletions(-)