From patchwork Tue May 12 02:48:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Wang X-Patchwork-Id: 11541961 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B44BC92A for ; Tue, 12 May 2020 03:02:50 +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 9C599206D7 for ; Tue, 12 May 2020 03:02:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9C599206D7 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 C849489E2B; Tue, 12 May 2020 03:02:49 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id 411A189E2B; Tue, 12 May 2020 03:02:49 +0000 (UTC) IronPort-SDR: rR/6guOuQxqkkH/vislZJvGFsouBC82n0mDVd1oWb08Ufo9fdUoiPxCjoVSbpIMUdfukSFx2U8 wlr+4gFxoquQ== X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2020 20:02:48 -0700 IronPort-SDR: 1UTr17cxVi0CTEje5T2An1AGoV/t+ozu3oJJCn0W4C/VcLoqA27sBwb9w144ywqVf4N1bs28hu IS4lTOTOvwfg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,381,1583222400"; d="asc'?scan'208";a="436918249" Received: from zhen-hp.sh.intel.com (HELO zhen-hp) ([10.239.160.147]) by orsmga005.jf.intel.com with ESMTP; 11 May 2020 20:02:46 -0700 Date: Tue, 12 May 2020 10:48:03 +0800 From: Zhenyu Wang To: "Vivi, Rodrigo" , Joonas Lahtinen , Jani Nikula Message-ID: <20200512024803.GQ18545@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.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 two more fixes for 5.7. One is for recent guest display probe failure, which is fixed by setting correct transcoder and DPLL clock against virtual display. Another is regression to fix kernel oops for older aliasing ppgtt guest. Thanks --- The following changes since commit ec7301d5146c9abe8aaf6e16e420ea3951018503: drm/i915/gvt: switch to user vfio_group_pin/upin_pages (2020-04-14 16:30:17 +0800) are available in the Git repository at: https://github.com/intel/gvt-linux tags/gvt-fixes-2020-05-12 for you to fetch changes up to 72a7a9925e2beea09b109dffb3384c9bf920d9da: drm/i915/gvt: Fix kernel oops for 3-level ppgtt guest (2020-05-11 17:07:25 +0800) ---------------------------------------------------------------- gvt-fixes-2020-05-12 - Correct transcoder and DPLL initial clock to fix recent guest display probe failure. (Colin) - Fix kernel oops on older guest using aliasing ppgtt. (Zhenyu) ---------------------------------------------------------------- Colin Xu (1): drm/i915/gvt: Init DPLL/DDI vreg for virtual display instead of inheritance. Zhenyu Wang (1): drm/i915/gvt: Fix kernel oops for 3-level ppgtt guest drivers/gpu/drm/i915/gvt/display.c | 49 ++++++++++++++++++++++++++++++++---- drivers/gpu/drm/i915/gvt/scheduler.c | 6 ++++- 2 files changed, 49 insertions(+), 6 deletions(-)