From patchwork Mon Nov 23 09:05:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Wang X-Patchwork-Id: 11924681 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 157D8C2D0E4 for ; Mon, 23 Nov 2020 09:20:07 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A3C0D20758 for ; Mon, 23 Nov 2020 09:20:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A3C0D20758 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C9A6689D1D; Mon, 23 Nov 2020 09:20:05 +0000 (UTC) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4CE0B89C80; Mon, 23 Nov 2020 09:20:04 +0000 (UTC) IronPort-SDR: 2kyV69qVUBWn3fQCp8anlBuWTrXlPRnsc7D3/sT4Mtlc5ELgXwL4ZFZmIuTqnNzCUlnUDWe3yr oOL4hlxpkV1g== X-IronPort-AV: E=McAfee;i="6000,8403,9813"; a="171826202" X-IronPort-AV: E=Sophos;i="5.78,363,1599548400"; d="asc'?scan'208";a="171826202" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2020 01:20:03 -0800 IronPort-SDR: mOQGr3OS+AH9mEIMqg1bOWIaM6D1LBWv+/5d5DHHd2gN30Yo9KP8YEpZJ+lR/jptb5NAn3JqpN ACVLHgvgi2MQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,363,1599548400"; d="asc'?scan'208";a="536034726" Received: from zhen-hp.sh.intel.com (HELO zhen-hp) ([10.239.160.147]) by fmsmga005.fm.intel.com with ESMTP; 23 Nov 2020 01:20:01 -0800 Date: Mon, 23 Nov 2020 17:05:17 +0800 From: Zhenyu Wang To: Jani Nikula , Joonas Lahtinen , "Vivi, Rodrigo" Message-ID: <20201123090517.GC16939@zhen-hp.sh.intel.com> MIME-Version: 1.0 Subject: [Intel-gfx] [PULL] gvt-next X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 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" Hi, Here's gvt next pull for v5.11. Mostly it's for host suspend/resume fix with vGPU active and with some other enhancement as details below. Note that this includes some minor i915 driver change to add gvt hook in suspend/resume function which has been sent and reviewed on intel-gfx list. I just generated against drm-intel-next-queued-2020-11-03 which this tree bases on now. Let me know if there's any issue in merge. Thanks --- The following changes since commit 139caf7ca2866cd0a45814ff938cb0c33920a266: drm/i915: Update DRIVER_DATE to 20201103 (2020-11-03 14:21:25 +0200) are available in the Git repository at: https://github.com/intel/gvt-linux tags/gvt-next-2020-11-23 for you to fetch changes up to 9a3a238b3de97b4210c6de66aa88b2d7021ac086: drm/i915/gvt: treat intel_gvt_mpt as const in gvt code (2020-11-23 17:14:20 +0800) ---------------------------------------------------------------- gvt-next-2020-11-23 - Fix host suspend/resume with vGPU (Colin) - optimize idr init (Varma) - Change intel_gvt_mpt as const (Julian) - One comment error fix (Yan) ---------------------------------------------------------------- Colin Xu (3): drm/i915/gvt: Save/restore HW status to support GVT suspend/resume drm/i915: Add GVT resume routine to i915 drm/i915/gvt: Fix virtual display setup for BXT/APL Deepak R Varma (1): drm/i915/gvt: replace idr_init() by idr_init_base() Julian Stecklina (1): drm/i915/gvt: treat intel_gvt_mpt as const in gvt code Yan Zhao (1): drm/i915/gvt: correct a false comment of flag F_UNALIGN drivers/gpu/drm/i915/gvt/display.c | 179 ++++++++++++++++++++++++++++++++++++ drivers/gpu/drm/i915/gvt/gtt.c | 64 +++++++++++++ drivers/gpu/drm/i915/gvt/gtt.h | 4 + drivers/gpu/drm/i915/gvt/gvt.c | 13 ++- drivers/gpu/drm/i915/gvt/gvt.h | 7 +- drivers/gpu/drm/i915/gvt/handlers.c | 44 ++++++++- drivers/gpu/drm/i915/gvt/kvmgt.c | 2 +- drivers/gpu/drm/i915/gvt/mmio.c | 5 + drivers/gpu/drm/i915/gvt/mmio.h | 4 + drivers/gpu/drm/i915/gvt/mpt.h | 2 +- drivers/gpu/drm/i915/gvt/vgpu.c | 2 +- drivers/gpu/drm/i915/i915_drv.c | 2 + drivers/gpu/drm/i915/intel_gvt.c | 15 +++ drivers/gpu/drm/i915/intel_gvt.h | 5 + 14 files changed, 338 insertions(+), 10 deletions(-)