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 C63CEC7EE29 for ; Thu, 1 Jun 2023 20:30:38 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 88C9410E5D2; Thu, 1 Jun 2023 20:30:38 +0000 (UTC) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5031110E5C0 for ; Thu, 1 Jun 2023 20:30:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685651434; x=1717187434; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=bP/LQuq9Qp43W69wP/r8kGFfXUewKSySY8aVGzcVyew=; b=nEBf2EzjSBOu5jcVa1+PSgwvj2Jcvk0cRbN9M1yk7PC/MhBi6iAeGCf2 tN+ZPB9gu5Exhuv3lf46wrSgA2yG3lWuIUKqpIQHpdYvrhCpIMXZBZKL6 e3vtNrW5LlINba7CLNbdzKZF5jqfQVHhvY+4VEQv/Wgxda+K2zXWwwLmo W9Iatw2u7kaCuhEPgB0csahc2zBZEjZ/KnxxMF10eIVJ/qiFmC0COso8b yCjn/DtUl8zhJs6bKUmXa/f5UjLiZskx/lZ+sKQ3tUL2IOnuWQ02nNRAS XskP98cxM7Bx6McuixbHNqWkWyr0JsoYQUXyNKxNZLT5IneSdDwXlpoSe g==; X-IronPort-AV: E=McAfee;i="6600,9927,10728"; a="358102532" X-IronPort-AV: E=Sophos;i="6.00,210,1681196400"; d="scan'208";a="358102532" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2023 13:30:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10728"; a="740493274" X-IronPort-AV: E=Sophos;i="6.00,210,1681196400"; d="scan'208";a="740493274" Received: from mdroper-desk1.fm.intel.com ([10.1.27.147]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2023 13:30:33 -0700 From: Matt Roper To: intel-xe@lists.freedesktop.org Date: Thu, 1 Jun 2023 13:30:14 -0700 Message-Id: <20230601203025.615494-21-matthew.d.roper@intel.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230601203025.615494-1-matthew.d.roper@intel.com> References: <20230601203025.615494-1-matthew.d.roper@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Intel-xe] [CI 20/31] drm/xe: Move display IRQ postinstall out of GT function X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: matthew.d.roper@intel.com Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" Display interrupts are unrelated to the GT (and are also only relevant to the root tile). Move the postinstall call up a level in the callstack. Signed-off-by: Matt Roper Reviewed-by: Rodrigo Vivi Reviewed-by: Lucas De Marchi --- drivers/gpu/drm/xe/xe_irq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/xe/xe_irq.c b/drivers/gpu/drm/xe/xe_irq.c index 628057497cd5..654c34a5b99a 100644 --- a/drivers/gpu/drm/xe/xe_irq.c +++ b/drivers/gpu/drm/xe/xe_irq.c @@ -490,8 +490,6 @@ void xe_gt_irq_postinstall(struct xe_gt *gt) dg1_irq_postinstall(xe, gt); else xelp_irq_postinstall(xe, gt); - - xe_display_irq_postinstall(xe, gt); } static void xe_irq_postinstall(struct xe_device *xe) @@ -501,6 +499,8 @@ static void xe_irq_postinstall(struct xe_device *xe) for_each_gt(gt, xe, id) xe_gt_irq_postinstall(gt); + + xe_display_irq_postinstall(xe, xe_root_mmio_gt(xe)); } static irq_handler_t xe_irq_handler(struct xe_device *xe) -- 2.40.1