From patchwork Fri Jun 7 08:07:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jani Nikula X-Patchwork-Id: 13689458 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 519E2C27C5F for ; Fri, 7 Jun 2024 08:07:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A008F10EB85; Fri, 7 Jun 2024 08:07:19 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="LEiSOwwM"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 69C1E10E29C; Fri, 7 Jun 2024 08:07:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717747638; x=1749283638; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=iAoPLi6osLCFahj+0rygf9OnYYxDsjbURMbNOy7AMvU=; b=LEiSOwwMV+kx6M+pTfIEp4vW2KJBaaZgnuYTRH/M/VkyPy3Oe8vJ3EWX oDZEGBR7qK88rmQQR/7707XdVGtEWadsk7BepILrvWnikPHEs7hL9D9KK 1rmlN7i3I3nxPPfa3A0nl++UMbWtN6Ps/ua/mffmktrxCxVe2aGJfibHR xg5K6GwT28Xc/4MZjZFmyUlo/AlKUZBHZ+dGfdAt0AxNtWF9FO9yRxvUU OJze9XfZECpnRJjIkzCgt047zYB4GPRuKPud4BZof/rLo7fzEOUgKw99z fJ16QB/6OOuqx4P36A8P2p/I8szZj0hkg+eVLN5F6rbKvor3u68AHkqDL g==; X-CSE-ConnectionGUID: Rzcdp3RhThyReY0fB11HYA== X-CSE-MsgGUID: +FzuYfqsRDCDJhn/QzKbVQ== X-IronPort-AV: E=McAfee;i="6600,9927,11095"; a="18310281" X-IronPort-AV: E=Sophos;i="6.08,220,1712646000"; d="scan'208";a="18310281" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2024 01:07:17 -0700 X-CSE-ConnectionGUID: 5LE/5qtBRsaMLm8SEUo2Zg== X-CSE-MsgGUID: /0woxj++S/uY4EvwZPAeFw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,220,1712646000"; d="scan'208";a="42704879" Received: from cpetruta-mobl1.ger.corp.intel.com (HELO localhost) ([10.245.246.72]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2024 01:07:15 -0700 From: Jani Nikula To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org Cc: jani.nikula@intel.com, ville.syrjala@linux.intel.com Subject: [PATCH 1/2] drm/i915: do not select ACPI_BUTTON Date: Fri, 7 Jun 2024 11:07:06 +0300 Message-Id: <060d687c3a80cd94f065e637200dd10fea7b979f.1717747542.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" We stopped using ACPI button in commit 05c72e77ccda ("drm/i915: Nuke the LVDS lid notifier"). Also stop force enabling the ACPI_BUTTON config. Cc: Ville Syrjälä Closes: https://lore.kernel.org/r/ZmGsJsXhHcPV48XJ@intel.com Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/i915/Kconfig b/drivers/gpu/drm/i915/Kconfig index 5932024f8f95..faa253b27664 100644 --- a/drivers/gpu/drm/i915/Kconfig +++ b/drivers/gpu/drm/i915/Kconfig @@ -29,7 +29,6 @@ config DRM_I915 select X86_PLATFORM_DEVICES if ACPI select ACPI_WMI if ACPI select ACPI_VIDEO if ACPI - select ACPI_BUTTON if ACPI select SYNC_FILE select IOSF_MBI if X86 select CRC32 From patchwork Fri Jun 7 08:07:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jani Nikula X-Patchwork-Id: 13689459 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 CD608C27C55 for ; Fri, 7 Jun 2024 08:07:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4593410E034; Fri, 7 Jun 2024 08:07:24 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="SwpsC3Fc"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4E20410EB89; Fri, 7 Jun 2024 08:07:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717747642; x=1749283642; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Y0GsHs0fVel1c9uhFU7MioI6x/QObgB8Yy5GMBYN9xk=; b=SwpsC3FcDKVludXp4/cV8YXeatrkEvvxkMG27PFPI0IP6zq8B/LpX2Mi np7yL18HBNPcJw7SZjvaFC0Hl6ydPRNKT+zlD2rHgDXxs9lJ4SdZkezsg VTmwlVTeyhm2ChBonndOYhK6OmIRPppWMH0gNAZ92hj7ieDYShmF6x0eE OcM1L9gNOGFFPUZe1DYq++6YAoDv33VKtYkBfIPar+hSZomeouvkmDTh6 9/bnpw+AgTFueJlS5NyMcPkYBmFmpgZXsPei81QmFoZ0yS5Zfhs9OObED v6uOWMygVvXy+/LUNywKHoA1ZpsaZPkH6MuojihY6829/k/YvMzRV4uNT Q==; X-CSE-ConnectionGUID: lO1qrTPgQhmQxSn6Yb+9bA== X-CSE-MsgGUID: 6y7OLTcASFGeTdKShD8rug== X-IronPort-AV: E=McAfee;i="6600,9927,11095"; a="18310311" X-IronPort-AV: E=Sophos;i="6.08,220,1712646000"; d="scan'208";a="18310311" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2024 01:07:22 -0700 X-CSE-ConnectionGUID: LAVUTRdoQQeOoNCskBWUGw== X-CSE-MsgGUID: qGQdISvTReihBUwNU+Rpzg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,220,1712646000"; d="scan'208";a="42704887" Received: from cpetruta-mobl1.ger.corp.intel.com (HELO localhost) ([10.245.246.72]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2024 01:07:20 -0700 From: Jani Nikula To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org Cc: jani.nikula@intel.com, ville.syrjala@linux.intel.com Subject: [PATCH 2/2] drm/xe: do not select ACPI_BUTTON Date: Fri, 7 Jun 2024 11:07:07 +0300 Message-Id: <1872adc6b20ce4c5ef55ba60a7233b31ace776fb.1717747542.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 driver has never needed ACPI button. Selecting the kconfig is just copy-paste from i915, which no longer needs it either. Stop selecting ACPI_BUTTON. Cc: Ville Syrjälä Closes: https://lore.kernel.org/r/ZmGsJsXhHcPV48XJ@intel.com Signed-off-by: Jani Nikula --- drivers/gpu/drm/xe/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/xe/Kconfig b/drivers/gpu/drm/xe/Kconfig index 63f1e2d1649f..7bbe46a98ff1 100644 --- a/drivers/gpu/drm/xe/Kconfig +++ b/drivers/gpu/drm/xe/Kconfig @@ -25,7 +25,6 @@ config DRM_XE select BACKLIGHT_CLASS_DEVICE if ACPI select INPUT if ACPI select ACPI_VIDEO if X86 && ACPI - select ACPI_BUTTON if ACPI select X86_PLATFORM_DEVICES if X86 && ACPI select ACPI_WMI if X86 && ACPI select SYNC_FILE