From patchwork Mon Apr 8 18:08:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jani Nikula X-Patchwork-Id: 13621499 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 4ED94CD1292 for ; Mon, 8 Apr 2024 18:09:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7C2141127F9; Mon, 8 Apr 2024 18:09:36 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="nsBG/N9x"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1733F11292A; Mon, 8 Apr 2024 18:09:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712599772; x=1744135772; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=0DCzZLT3sobPAGaYtFNQ6HrbO2asFP+p8bGJwr4lkeA=; b=nsBG/N9xGoBWLR/2aJVDANi2VecCXe3B9Te/1KBr9sXBmyT+o7x0rvFP J43DYNKDM2i4dPtEMMRVydrcXAUz4T8ldxbyFaiEzVQ75WE1XVodhRvbF GK1nuOzeFGKLvXxHgCK/LeXZvksR8ZmxN/2dFl8nQX/Yt7hHhkb5NyYBX EkjELEq92AIDSyJUnntzHYcb1Rn+L4pLathqbsH62JBaU67iEbKisQK9O CueVjunaMym8KwbY1y9pszBnHW/U7FuGEuw7CxRGPTVhYL8ATB87IYjcf 2xJGkgg04WH6jhtb2yqhWDTtUjZd5kpFHPBJu9EEDrccujssRgMt2wnjD w==; X-CSE-ConnectionGUID: IVGUJ8chRC+2HNL+sx0UCg== X-CSE-MsgGUID: VRYT+EfxTcGbVMyMTtTBEQ== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="11730243" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="11730243" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 11:09:32 -0700 X-CSE-ConnectionGUID: rBrV2cpUTiGrxGsJh8Fj7Q== X-CSE-MsgGUID: Rnz/u5yPR4O5PM4T2pl4Ow== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="20022179" Received: from bauinger-mobl1.ger.corp.intel.com (HELO localhost) ([10.252.42.71]) by fmviesa009-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 11:09:29 -0700 From: Jani Nikula To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org Cc: jani.nikula@intel.com, lucas.demarchi@intel.com Subject: [PATCH 8/8] drm/xe/display: remove unused xe->enabled_irq_mask Date: Mon, 8 Apr 2024 21:08:43 +0300 Message-Id: <104f4ac786b7c7eb2ed575670568b96ffb2d2f78.1712599671.git.jani.nikula@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo 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: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" The xe->enabled_irq_mask member has never been used for anything. Signed-off-by: Jani Nikula --- drivers/gpu/drm/xe/display/xe_display.c | 1 - drivers/gpu/drm/xe/xe_device_types.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/gpu/drm/xe/display/xe_display.c b/drivers/gpu/drm/xe/display/xe_display.c index 6ec375c1c4b6..32a8242e1ef4 100644 --- a/drivers/gpu/drm/xe/display/xe_display.c +++ b/drivers/gpu/drm/xe/display/xe_display.c @@ -108,7 +108,6 @@ int xe_display_create(struct xe_device *xe) xe->display.hotplug.dp_wq = alloc_ordered_workqueue("xe-dp", 0); drmm_mutex_init(&xe->drm, &xe->sb_lock); - xe->enabled_irq_mask = ~0; err = drmm_add_action_or_reset(&xe->drm, display_destroy, NULL); if (err) diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h index faa32407efa5..536cb8a44ea4 100644 --- a/drivers/gpu/drm/xe/xe_device_types.h +++ b/drivers/gpu/drm/xe/xe_device_types.h @@ -503,8 +503,6 @@ struct xe_device { /* only to allow build, not used functionally */ u32 irq_mask; - u32 enabled_irq_mask; - struct intel_uncore { spinlock_t lock; } uncore;