From patchwork Wed Jan 4 08:05:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Wang X-Patchwork-Id: 13088252 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id BC3BDC4332F for ; Wed, 4 Jan 2023 08:07:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 13BBA10E437; Wed, 4 Jan 2023 08:07:49 +0000 (UTC) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id 07BBA10E436; Wed, 4 Jan 2023 08:07:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672819666; x=1704355666; h=date:from:to:cc:subject:message-id:reply-to:mime-version; bh=nhxnU/mtKgJf31pdz2nDuYU/QnqHZzQQPJhgQ3Lafm0=; b=bCTA5HfnMAieklKiJKaNn64jsg2roWy5oP/NCpgtxhKsWfB/nkp+OiM8 VTudU6c54+dhPmZmaHkd1qUpIssDFU1uMvxyE7ToG8ycAUcPh5EtTrsGk iqqP9D2AulXnuGOmN9wHLoBc+UeseSX1yin32zArfZPX41ZOMEsD081mP zjwaBZmemVR2dH1TLfG6lUqq896KJlGw2pZlgs24UODnvU6BpREFcOlHP ZksCZk4kQ8tu3ZfO+GkTVDflmIK+w99Gkz4yJPShKkJ6sJrRfoE7F5DTA GCpkL3nd09NKpLr5q6/ac//vgEKS0HMQLU1wUnNqVQ1VDZMUSiDnVPiYp g==; X-IronPort-AV: E=McAfee;i="6500,9779,10579"; a="305377289" X-IronPort-AV: E=Sophos;i="5.96,299,1665471600"; d="asc'?scan'208";a="305377289" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jan 2023 00:07:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10579"; a="797447904" X-IronPort-AV: E=Sophos;i="5.96,299,1665471600"; d="asc'?scan'208";a="797447904" Received: from zhen-hp.sh.intel.com (HELO zhen-hp) ([10.239.159.108]) by fmsmga001.fm.intel.com with ESMTP; 04 Jan 2023 00:07:43 -0800 Date: Wed, 4 Jan 2023 16:05:13 +0800 From: Zhenyu Wang To: "Vivi, Rodrigo" , Tvrtko Ursulin , Joonas Lahtinen , Jani Nikula Message-ID: MIME-Version: 1.0 Content-Disposition: inline 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" Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi, Here's accumulated current gvt-fixes. Several of them handle for error or destroy path issues and one from Zhi to fix up left vgpu status tracking. thanks! --- The following changes since commit 6217e9f05a74df48c77ee68993d587cdfdb1feb7: drm/i915/dsi: fix MIPI_BKLT_EN_1 native GPIO index (2022-12-30 04:28:46 -0500) are available in the Git repository at: https://github.com/intel/gvt-linux.git tags/gvt-fixes-2023-01-04 for you to fetch changes up to 601fd0f6b2a4c776a21ab8300fe0de0726937623: drm/i915/gvt: fix double free bug in split_2MB_gtt_entry (2023-01-04 15:20:09 +0800) ---------------------------------------------------------------- gvt-fixes-2023-01-04 - Fix one missed unpin in error of intel_vgpu_shadow_mm_pin() - Fix two debugfs destroy oops issues for vgpu and gvt entries - Fix one potential double free issue in gtt shadow pt code - Fix to use atomic bit flag for vgpu status ---------------------------------------------------------------- Dan Carpenter (1): drm/i915: unpin on error in intel_vgpu_shadow_mm_pin() Zheng Wang (1): drm/i915/gvt: fix double free bug in split_2MB_gtt_entry Zhenyu Wang (3): drm/i915/gvt: fix gvt debugfs destroy drm/i915/gvt: fix vgpu debugfs clean in remove Merge tag 'drm-intel-fixes-2022-12-30' into gvt-fixes Zhi Wang (1): drm/i915/gvt: use atomic operations to change the vGPU status drivers/gpu/drm/i915/gvt/debugfs.c | 36 +++++++++++++++++++++++++++++++----- drivers/gpu/drm/i915/gvt/dmabuf.c | 3 ++- drivers/gpu/drm/i915/gvt/gtt.c | 21 +++++++++++++++------ drivers/gpu/drm/i915/gvt/gvt.h | 15 ++++++++++----- drivers/gpu/drm/i915/gvt/interrupt.c | 2 +- drivers/gpu/drm/i915/gvt/kvmgt.c | 35 +++++++++++++---------------------- drivers/gpu/drm/i915/gvt/scheduler.c | 4 +++- drivers/gpu/drm/i915/gvt/vgpu.c | 12 +++++------- 8 files changed, 80 insertions(+), 48 deletions(-)