From mboxrd@z Thu Jan 1 00:00:00 1970 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 7019AE7C4E2 for ; Wed, 4 Oct 2023 16:33:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0690F10E390; Wed, 4 Oct 2023 16:33:28 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id EE3E410E38D; Wed, 4 Oct 2023 16:33:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696437206; x=1727973206; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=KdPiQxoB660tURy+BkteJmnES3wVNXvvSt2qBALPwPU=; b=dnGvrnBuM0wQnbuUbD57aqbkBY67gYPFG1yF+ZRsjsW5EafKga55Z0Cl oJdo5tib1jUyjQGp/5esIAkZuJjhLg0W+E326seqgnkJWKfL8sslL9l38 8UePpLcI9Fc1w1xGP8mVqs8ru0FjTQ37dV40/+xgCPV15Al5SrZDfddqo 1hi0DZBkKmyxaZbIRgSdiSGapWVHMyFLwrP3hMbow3ySEoLKasvrGFZvf Wmrik3gcPs6jq/ERTQCaXPcb+ca/QytooNjXE9KoqYd0iflBJCaZ/GKsQ 87H5jXMqYKVSDm7ziSAa/Qz3JqxLiMCLCcQMvq7wrM62zvFTkVkpV8WCo Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10853"; a="469495147" X-IronPort-AV: E=Sophos;i="6.03,200,1694761200"; d="scan'208";a="469495147" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2023 09:33:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10853"; a="817170941" X-IronPort-AV: E=Sophos;i="6.03,200,1694761200"; d="scan'208";a="817170941" Received: from msterni-mobl.ger.corp.intel.com (HELO localhost) ([10.252.56.48]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2023 09:33:22 -0700 From: Jani Nikula To: "Wang, Zhi A" , "intel-gvt-dev@lists.freedesktop.org" , Zhenyu Wang In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20230926121904.499888-1-jani.nikula@intel.com> <871qeafszw.fsf@intel.com> Date: Wed, 04 Oct 2023 19:33:20 +0300 Message-ID: <87a5sye4a7.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Intel-gfx] [PATCH 1/4] drm/i915/gvt: remove unused to_gvt() and reduce includes 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: , Cc: "intel-gfx@lists.freedesktop.org" Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Wed, 04 Oct 2023, "Wang, Zhi A" wrote: > Singed-off-by: Zhi Wang Mmh, sorry, what does that mean here? Are you picking them up via gvt? BR, Jani. > > Thanks, > Zhi. > > -----Original Message----- > From: Nikula, Jani > Sent: Wednesday, October 4, 2023 3:54 PM > To: intel-gvt-dev@lists.freedesktop.org; Zhenyu Wang ; Wang, Zhi A > Cc: intel-gfx@lists.freedesktop.org > Subject: Re: [PATCH 1/4] drm/i915/gvt: remove unused to_gvt() and reduce includes > > On Tue, 26 Sep 2023, Jani Nikula wrote: >> gvt.h has no need to include i915_drv.h once the unused to_gvt() has >> been removed. >> >> Signed-off-by: Jani Nikula > > Zhenyu, Zhi, ping? > > BR, > Jani. > > > >> --- >> drivers/gpu/drm/i915/gvt/gvt.h | 7 +------ >> 1 file changed, 1 insertion(+), 6 deletions(-) >> >> diff --git a/drivers/gpu/drm/i915/gvt/gvt.h >> b/drivers/gpu/drm/i915/gvt/gvt.h index 53a0a42a50db..3a0624fe63bf >> 100644 >> --- a/drivers/gpu/drm/i915/gvt/gvt.h >> +++ b/drivers/gpu/drm/i915/gvt/gvt.h >> @@ -39,7 +39,7 @@ >> >> #include >> >> -#include "i915_drv.h" >> +#include "gt/intel_gt.h" >> #include "intel_gvt.h" >> >> #include "debug.h" >> @@ -368,11 +368,6 @@ struct intel_gvt { >> struct dentry *debugfs_root; >> }; >> >> -static inline struct intel_gvt *to_gvt(struct drm_i915_private *i915) >> -{ >> - return i915->gvt; >> -} >> - >> enum { >> /* Scheduling trigger by timer */ >> INTEL_GVT_REQUEST_SCHED = 0, > > -- > Jani Nikula, Intel -- Jani Nikula, Intel