From patchwork Tue Aug 13 10:06:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Wang X-Patchwork-Id: 11091661 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 1715613AC for ; Tue, 13 Aug 2019 10:10:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 05B6A2856F for ; Tue, 13 Aug 2019 10:10:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EDDC7285F0; Tue, 13 Aug 2019 10:10:21 +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 6597D2856F for ; Tue, 13 Aug 2019 10:10:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id ECA3F6E0EA; Tue, 13 Aug 2019 10:10:16 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id B76416E0E9; Tue, 13 Aug 2019 10:10:15 +0000 (UTC) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Aug 2019 03:10:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,381,1559545200"; d="asc'?scan'208";a="187730207" Received: from zhen-hp.sh.intel.com (HELO zhen-hp) ([10.239.13.116]) by orsmga002.jf.intel.com with ESMTP; 13 Aug 2019 03:10:13 -0700 Date: Tue, 13 Aug 2019 18:06:04 +0800 From: Zhenyu Wang To: "Vivi, Rodrigo" , Joonas Lahtinen , Jani Nikula Message-ID: <20190813100604.GG19140@zhen-hp.sh.intel.com> MIME-Version: 1.0 User-Agent: Mutt/1.10.0 (2018-05-17) Subject: [Intel-gfx] [PULL] gvt-next 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 stuff for next kernel which include several enhancement for cmd parser and batch buffer shadow, remove extra debugfs function return check, and with other misc changes like typo, static check fix, etc. Thanks --- The following changes since commit e0e712fe42ef67bdf45fc348767d1d0a4eeba77f: drm/i915: Update DRIVER_DATE to 20190730 (2019-07-30 11:50:24 -0700) are available in the Git repository at: https://github.com/intel/gvt-linux.git tags/gvt-next-2019-08-13 for you to fetch changes up to 220b65d8009dff397a112ee560c297299ba5e423: drm/i915/gvt: Double check batch buffer size after copy (2019-08-13 17:55:06 +0800) ---------------------------------------------------------------- gvt-next-2019-08-13 - Enhance command parser for extra length check (Fred) - remove debugfs function return check (Greg) - batch buffer end double check after shadow copy (Tina) - one typo fix (Zhenyu) - klocwork warning fix (Zhi) - use struct_size() helper (Gustavo) ---------------------------------------------------------------- Gao, Fred (3): drm/i915/gvt: Utility for valid command length check drm/i915/gvt: Add MI command valid length check drm/i915/gvt: Add valid length check for MI variable commands Greg Kroah-Hartman (1): drm/i915/gvt: no need to check return value of debugfs_create functions Gustavo A. R. Silva (1): drm/i915/kvmgt: Use struct_size() helper Tina Zhang (1): drm/i915/gvt: Double check batch buffer size after copy Zhenyu Wang (1): drm/i915/gvt: Fix typo of VBLANK_TIMER_PERIOD Zhi Wang (1): drm/i915/gvt: factor out tlb and mocs register offset table drivers/gpu/drm/i915/gvt/cmd_parser.c | 180 ++++++++++++++++++++++++++------ drivers/gpu/drm/i915/gvt/debugfs.c | 47 ++------- drivers/gpu/drm/i915/gvt/gvt.c | 4 +- drivers/gpu/drm/i915/gvt/gvt.h | 8 +- drivers/gpu/drm/i915/gvt/interrupt.c | 4 +- drivers/gpu/drm/i915/gvt/kvmgt.c | 15 +-- drivers/gpu/drm/i915/gvt/mmio_context.c | 57 ++++++---- drivers/gpu/drm/i915/gvt/vgpu.c | 4 +- 8 files changed, 212 insertions(+), 107 deletions(-)