Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2394691lqp; Sun, 24 Mar 2024 17:34:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXSP8RwICeQGj3zwHt6xLVE+1nk2GLHi4I1d4u69R+4ANlTECtRJUD0FKI7Wr3+m5aOI64fhKqUPfRURO2f5c2dtGypCihGNjs2eZXQ4Q== X-Google-Smtp-Source: AGHT+IFLdO+KaXH6LZYzHQ1Lceizk1m4RiRQEkqabKx8OV7J5DnWEy17KvkRjr1rTw5Cjh+4DFmS X-Received: by 2002:a05:6358:2621:b0:17f:5980:79fa with SMTP id l33-20020a056358262100b0017f598079famr3212240rwc.20.1711326868912; Sun, 24 Mar 2024 17:34:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711326868; cv=pass; d=google.com; s=arc-20160816; b=NGPsIKNMETeOgZQDsb6l1JxdF82TeXaiGhGcRISMvk7LZ9yXkJju7lDdJ3bGWhinBd Q2ag77e4cgp6s/fhyU2PVtAFzNna02CLFKOSyIZKSvMZH/ROR3rnNh2V3TqPjGp6izB4 WABwtSvFC0WGxvaWvvYIwUX6I4Nnh0FYTI47Z+p5FM2Ca+G9KbMcdMV+RzjsjHuTX6S8 oLJxF7M9/AhxgvSCWiBq0sCiBCnnHtxdPbjhf1n+DrAiruAJvuDG0wo8v+iQZzcD8MS8 IW/zi5nFBIUOr0zTZkLX/M53GEE+U/yqe0VxV68ek8qaSYSaBaxWlE6i1jvOWx3R1Utc T5Xw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=HacsmK4rp9wzxT2laqEzM19Z6M4poP82dqzej2hIlCY=; fh=y1T0PG5zTDLiuKggAnBuJvvAEdkmdylXCU6cj+V6gNM=; b=tB7K390UQ7K58fQbYDdUKjtD1R3/GdR1gWBFOxLVRtuWWLS5tVZXTrT+fQIdPt8HSt Sn8pUuo8IFwJ5J48acRZ9Ed5ZjLFmkOUuOCae8Zaxu3ZGZg6OpGvTKTmQ6iZ7Z8OfhdN /b528e7sgHuTrLHYL+sE+89wwJGX3oyEDN4oqDOhFlZXgky6PGAH6eF+pwxdzwm1shjn tN4DdWAe6P2UFNVl8e8ShsJBpFwQNw6KBJRnR0HEZVZtjM2S82TM9LCz3IPabAL0dz1r 4AFBFC31Rbw80ZNCp0AOJQvhxYqVBw0ynnZwydAKD91gBm6OEBusPgBbS788RP++1Lu+ cFDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JZpYYZ4X; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113402-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id e9-20020a63db09000000b005e4c83e4f41si6593922pgg.183.2024.03.24.17.34.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 17:34:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JZpYYZ4X; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113402-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 62080280CA5 for ; Mon, 25 Mar 2024 00:27:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BC387139D19; Sun, 24 Mar 2024 22:43:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JZpYYZ4X" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD1BB139CFC; Sun, 24 Mar 2024 22:43:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320203; cv=none; b=rnMkRPA/ve7XmHeWNcHwal1xw7srrTIen2hxpT+BZoJ0hNK2Y+MgIWPC3VhQuGERCIPSTGOQjMqCvGncwAaeZwFg1GMbGXHFrNB10CiQ+At0vuouzJcLx5itVl6PxNziou6ktBtVv8tCv2qpK1i4oZGhZfI2mKveOLAiVMCgOJI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320203; c=relaxed/simple; bh=3rXJbAmGGvocxHf7KOmSNply9V1bPn2jO8NDocdobiw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=T/qTAVgqHZteU37XgqazxexFk2kBttUc8PHCIoW5QCZ9vYL3BynEl+gnrruXVPvo3dbN3wOwbOe4gDVO9tj5KEqvYfMdFV0ek8dWpGf2DzRA9wWj6XQDEhHpwwu14LW6L7aWWsBv1DiQO0lzGzkNW3lDTEb3tUERDE3AmI0c5Tc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JZpYYZ4X; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17D49C43390; Sun, 24 Mar 2024 22:43:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320203; bh=3rXJbAmGGvocxHf7KOmSNply9V1bPn2jO8NDocdobiw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JZpYYZ4XYaAan7RlFoR+6CEyrw1QrCklRedguNDAIWCZZJYz8pmlrrVJI4TLGWmlD lAd4t76LiO7Q2j4pEnOX2Zb1qNHG8Fcyk8EQwuuYEec2ft9j8dsQ9IaiONph0+/esg sXYJCsYlakm1SzdDYBhwSphTkWiV7shvh9YYHOVCU7UQwytcLD8AagkQAE+YIbqMJw DjHIPnGOCnd9pN3jYvDTUkq4lZixGvp12ZcucCMQn7A9Wsp6embmM5Cdu9aB1KtuNW 5nKKD6uTBLH+7p/ih8/falJC1XxOChWhJBuTLt3Yb6oukfuzSjo31SV7XPGdvuI95c E87tAn0v1gaoA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Dafna Hirschfeld , Lucas De Marchi , Sasha Levin Subject: [PATCH 6.8 511/715] drm/xe: Replace 'grouped target' in Makefile with pattern rule Date: Sun, 24 Mar 2024 18:31:30 -0400 Message-ID: <20240324223455.1342824-512-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Dafna Hirschfeld [ Upstream commit e62d2e00780b4a465c77d2229837495fcbc480d3 ] Since 'grouped target' is used only in 'make' 4.3, it should be avoided. Replace it with 'multi-target pattern rule' which has the same behavior. Fixes: 9616e74b796c ("drm/xe: Add support for OOB workarounds") Signed-off-by: Dafna Hirschfeld Reviewed-by: Lucas De Marchi Link: https://patchwork.freedesktop.org/patch/msgid/20240302153927.2602241-1-dhirschfeld@habana.ai [ reword commit message ] Signed-off-by: Lucas De Marchi (cherry picked from commit 5224ed586ba7f9bba956655a1bfe5b75df7394d4) Signed-off-by: Lucas De Marchi Signed-off-by: Sasha Levin --- drivers/gpu/drm/xe/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile index efcf0ab7a1a69..802c807c782cc 100644 --- a/drivers/gpu/drm/xe/Makefile +++ b/drivers/gpu/drm/xe/Makefile @@ -42,7 +42,8 @@ generated_oob := $(obj)/generated/xe_wa_oob.c $(obj)/generated/xe_wa_oob.h quiet_cmd_wa_oob = GEN $(notdir $(generated_oob)) cmd_wa_oob = mkdir -p $(@D); $^ $(generated_oob) -$(generated_oob) &: $(obj)/xe_gen_wa_oob $(srctree)/$(src)/xe_wa_oob.rules +$(obj)/generated/%_wa_oob.c $(obj)/generated/%_wa_oob.h: $(obj)/xe_gen_wa_oob \ + $(srctree)/$(src)/xe_wa_oob.rules $(call cmd,wa_oob) uses_generated_oob := \ -- 2.43.0