From patchwork Fri Apr 21 19:00:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 13220600 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 14E14C77B76 for ; Fri, 21 Apr 2023 19:02:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8971F10E321; Fri, 21 Apr 2023 19:02:03 +0000 (UTC) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1F69C10E321; Fri, 21 Apr 2023 19:02:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682103722; x=1713639722; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=SgjtE+DBu8OS3F+DrP7ZsszQfxkKGgixDlCcFbT/V+I=; b=J9Yu+De10iAyNe9xru+zfCDSAcp69AKlMK2Qu36V3GIBm6WSny5l227K Rr2uNgBAAJjoLDIMICfSIzF66bTCV2z5yAItweubXtHkSvEiGuJgI1+EV UqVOGlUUFGrWr8VoAG3HnKETZCvb2QoMWAkR8G1+CLVFWQJVHPQ5om+Kz 9vqvJZxb0Zdp1dccd+6DfpD4ta8Lx0Be+7ipU+qtb8XrTpclCiMODe8L8 T/h2kHRLKIreJFUHau7z7BYImJd9nCvEoF6Ap9jak7HymiJAsxFLL6xdj pjPK6psU0FP3JSYWGpiNFptIhK2PxBM6ioSe55i2w+qWPvulrPyoEFqNr Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10687"; a="347966437" X-IronPort-AV: E=Sophos;i="5.99,216,1677571200"; d="scan'208";a="347966437" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2023 12:00:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10687"; a="781690466" X-IronPort-AV: E=Sophos;i="5.99,216,1677571200"; d="scan'208";a="781690466" Received: from ameghere-mobl2.ger.corp.intel.com (HELO intel.com) ([10.249.35.194]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2023 12:00:42 -0700 From: Andi Shyti To: Intel GFX , DRI Devel Date: Fri, 21 Apr 2023 21:00:24 +0200 Message-Id: <20230421190026.294208-1-andi.shyti@linux.intel.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH v2 0/2] Use i915 instead of dev_priv 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: Andrzej Hajda , Rodrigo Vivi Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi, just another "Friday patch". While reviewing some patches from Tejas I found a bit confusing the use of dev_priv__ inside the for_each_engine(), perhaps it should be moved inside the gt/? As I was at it I made the /dev_priv/i915/ change which is still harmless. Next in queue is to change the i915_irq.h, which is a bit tricky (but not much) as the "dev_priv" is hardcoded inside some defines. Thank you Andrzej and Rodrigo for your reviews. Andi Changelog ========= v1 -> v2 - Fix double typo in the patch 1 commit: /for_each_gt/for_each_engine/ - Phrase properly the commit of patch 2. Andi Shyti (2): drm/i915/i915_drv: Use proper parameter naming in for_each_engine() drm/i915/i915_drv: Use i915 instead of dev_priv insied the file_priv structure drivers/gpu/drm/i915/i915_drv.h | 462 ++++++++++++++++---------------- 1 file changed, 231 insertions(+), 231 deletions(-)