From patchwork Thu Sep 5 12:17:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 13792248 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 D1A16CD5BAE for ; Thu, 5 Sep 2024 12:20:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3472610E881; Thu, 5 Sep 2024 12:20:31 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="SowfaliC"; dkim-atps=neutral Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5D38710E877; Thu, 5 Sep 2024 12:20:30 +0000 (UTC) Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-42c94e59b93so10324675e9.1; Thu, 05 Sep 2024 05:20:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725538829; x=1726143629; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=iD7NTe7bgmL4j+ZOUWe6Vz/irb7OPA4CTAynHWYcSvE=; b=SowfaliC2MfMuxp0NkhOE+F6aP+TKwSFcbyGFEDDZHm3IWu8SqgoXU+HXnYGOjI6p0 yOiYi3MOnUDidmZuo9tVGNT0KHP+JkzxKtNetanlJnM9QWAxjRLMcnd0ZBhpJ1+f0vCu HWHyU3pqNVEfLHETOxjXHDLN+ZMgmcBZfQVuGIIfd5dtkdjjLDxNkSPUKY8TKToowzVo UnJEwfJpx65v2ilMGgBmc78N8lkrJocc3GTtBEktVZQYUZhCaqTWVpdCmWLBfdhkqGCY 98xyy542uzQUZziR1Yd95tUxfbshNLdu7I7jMXDoZygCBT36EetLzBoq7qmaaJbMjtos 0Elw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725538829; x=1726143629; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iD7NTe7bgmL4j+ZOUWe6Vz/irb7OPA4CTAynHWYcSvE=; b=D2UixaVsXezn79iTuvyt9rPlit7+0bi+5xp0QqDrfJbQzrxlfD3XihK8BcMrvckr7e 17m+J0HlontXBfWH1BrrgzpiU/6WB0XRozj9dg1t55q/dLvFSPYb6sB+vBL3CB9U0e/7 nR9qv2ctvfNrq0NAAirsqCbWrClY+CMDcXIqetqdZHRzceKFerqULQh9g0RbCRKho/2/ Ij0+Q9RVkPKkxFzguVgOC9yPkwHgkdnfibZeHQrQfg6wUut048VGSgSFL5szpibWiRqi a7OlXUp6jSGcmC6KCWOOVXD35+HBNZXpAgJzFKO7YxL8r8nghIDOr8eOzGu0z8FPw0xN LJzA== X-Forwarded-Encrypted: i=1; AJvYcCUSSzhXSasoJyyYkrjjJjPPw7UEVwdFBRcmBZ786Idq6jPB05xO4GABzYbTKvzgGHNlFlSQbqSjWy99@lists.freedesktop.org, AJvYcCXkS1D2ltNFK00Qh620a/FZNzE/LsBDhGrVN53LcjQsne52reCCB8WPeGzQXYMNTWuJI0tdnlT/atM=@lists.freedesktop.org X-Gm-Message-State: AOJu0Yzpf9sGxR3TK+NO+8na0hB7/WbO8Y41lIH0tGbNzKGi02egYq52 eQyknTdm57l9O64KiazVopyQb53AzgYOxKDTnuoHLSPeXAe+40+i X-Google-Smtp-Source: AGHT+IHa0fVf6EKsDAw+gxmmQXJ6NX7kn1nNvzKP1vs+nY3qqO/a3JqoKC8nQD5litjqwafLqGt1BQ== X-Received: by 2002:a5d:464a:0:b0:374:bf6b:1021 with SMTP id ffacd0b85a97d-3779bd1864fmr3502807f8f.27.1725538828407; Thu, 05 Sep 2024 05:20:28 -0700 (PDT) Received: from fedora.iskraemeco.si ([193.77.86.250]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42bb6e27364sm230390515e9.34.2024.09.05.05.20.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2024 05:20:27 -0700 (PDT) From: Uros Bizjak To: linux-kernel@vger.kernel.org Cc: Uros Bizjak , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , David Airlie , Daniel Vetter , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 02/18] drm/i915/selftests: Include instead of Date: Thu, 5 Sep 2024 14:17:10 +0200 Message-ID: <20240905122020.872466-3-ubizjak@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240905122020.872466-1-ubizjak@gmail.com> References: <20240905122020.872466-1-ubizjak@gmail.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Usage of pseudo-random functions requires inclusion of header instead of . Signed-off-by: Uros Bizjak Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc: Tvrtko Ursulin Cc: David Airlie Cc: Daniel Vetter Cc: intel-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Acked-by: Jani Nikula --- drivers/gpu/drm/i915/selftests/i915_gem.c | 2 +- drivers/gpu/drm/i915/selftests/i915_random.h | 2 +- drivers/gpu/drm/i915/selftests/scatterlist.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/selftests/i915_gem.c b/drivers/gpu/drm/i915/selftests/i915_gem.c index 61da4ed9d521..0727492576be 100644 --- a/drivers/gpu/drm/i915/selftests/i915_gem.c +++ b/drivers/gpu/drm/i915/selftests/i915_gem.c @@ -4,7 +4,7 @@ * Copyright © 2018 Intel Corporation */ -#include +#include #include "gem/i915_gem_internal.h" #include "gem/i915_gem_pm.h" diff --git a/drivers/gpu/drm/i915/selftests/i915_random.h b/drivers/gpu/drm/i915/selftests/i915_random.h index 05364eca20f7..70330a2e80f2 100644 --- a/drivers/gpu/drm/i915/selftests/i915_random.h +++ b/drivers/gpu/drm/i915/selftests/i915_random.h @@ -26,7 +26,7 @@ #define __I915_SELFTESTS_RANDOM_H__ #include -#include +#include #include "../i915_selftest.h" diff --git a/drivers/gpu/drm/i915/selftests/scatterlist.c b/drivers/gpu/drm/i915/selftests/scatterlist.c index 805c4bfb85fe..7e59591bbed6 100644 --- a/drivers/gpu/drm/i915/selftests/scatterlist.c +++ b/drivers/gpu/drm/i915/selftests/scatterlist.c @@ -22,7 +22,7 @@ */ #include -#include +#include #include "i915_selftest.h" #include "i915_utils.h" From patchwork Thu Sep 5 12:17:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 13792249 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 11EC2CD5BB7 for ; Thu, 5 Sep 2024 12:20:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8DCD210E877; Thu, 5 Sep 2024 12:20:34 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="UJYSgSCI"; dkim-atps=neutral Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by gabe.freedesktop.org (Postfix) with ESMTPS id 18CA710E877 for ; Thu, 5 Sep 2024 12:20:31 +0000 (UTC) Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-428e0d184b4so5527145e9.2 for ; Thu, 05 Sep 2024 05:20:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725538829; x=1726143629; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=U6vVoqhFptCkQXt3i+ZEJEpUKCxugyOE9bwve1vN+BA=; b=UJYSgSCITlzhmDfexOepIE1LBgdyWMb0zrXi0Ue+MVklG7deMWTnKYp0lOR8nwVthk IXy6XCxYT2xA2sZkDW2vA/cPbXLXArVzk/lIP8K+RYgf+QadD7we6J4hnRobV9NWJw9o CN0WkaRqPnoveOFzDwEb8lEIlXAxdnfjo5eDLKrQA3SxiwNQgbnmxvD5O56Sl+Gx8Hog AsB9GwCbr8cCuLCgFZSpBoKt63mnz6TGzr1jdmxkSWGckHVRLdVmXwSX1cD30LNx6OYw INt6N2+qaHpS+wbalRDf5cirz7y6Yq89n/ucR0yH08hgzSTzprNCQ48G0p0aw+Jdm4Ar iSTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725538829; x=1726143629; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=U6vVoqhFptCkQXt3i+ZEJEpUKCxugyOE9bwve1vN+BA=; b=duaAXGwHaSSqzyDroDSwX+lKLRvZfmA69GS+SVtkIkCuEqEA9C6QwhbM0kFEyXh7ep 13o9GLZz2S27GYc7BTCzwV5JeD5xVDTuN2f59tABx7W/YL8MM1LB05v9mw3fBAXdUN5f zqvS/ZRkd0B1ahNEbytpzrWixsuTBg/YZVA/UaFHIXqvMfa7QzZLVkl0DWX4K2EFRnwj IqYenIlt0emRwBNqZQbqVNXW9bbIEgg6SWS2R7EiyMf3QcngjOEGYyp6eOhuEEKAedeN DdeqQy3pKK6qSaWj+AufoEMusri4Jvo/cekiSk9eT3lmmnKw1cwmvF9p7JhipjLlOXb3 FnJg== X-Forwarded-Encrypted: i=1; AJvYcCUKCkTGtwgcXrZBNMBsu9kNI0EgoawcUgh7ZLM+FhvgOQRx1XBTJrhCkAPiqqh9cIJMNic2cgRBLiY=@lists.freedesktop.org X-Gm-Message-State: AOJu0YwP7E88H6ClV1aVuu1Rk6/UX8Fnbw8sezJc1fmfRSdilBFmQPw9 JQ3j0IBGbU3tirF35gbvsEoOQ+F+qLn9KRbUngxqKGczsLe78ZfpBjEKAzw8Itc= X-Google-Smtp-Source: AGHT+IHJpCeepIKpHkViCWDrVTZnpu8/LQ0QooYN0UAjk42ke/hGd6daAhMcjRRSSTY1ptqXauxyOA== X-Received: by 2002:a05:600c:3b9b:b0:426:62c6:4341 with SMTP id 5b1f17b1804b1-42c7b5b4bdfmr121442645e9.20.1725538829300; Thu, 05 Sep 2024 05:20:29 -0700 (PDT) Received: from fedora.iskraemeco.si ([193.77.86.250]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42bb6e27364sm230390515e9.34.2024.09.05.05.20.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2024 05:20:28 -0700 (PDT) From: Uros Bizjak To: linux-kernel@vger.kernel.org Cc: Uros Bizjak , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org Subject: [PATCH 03/18] drm/lib: Include instead of Date: Thu, 5 Sep 2024 14:17:11 +0200 Message-ID: <20240905122020.872466-4-ubizjak@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240905122020.872466-1-ubizjak@gmail.com> References: <20240905122020.872466-1-ubizjak@gmail.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Usage of pseudo-random functions requires inclusion of header instead of . Signed-off-by: Uros Bizjak Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/lib/drm_random.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/lib/drm_random.h b/drivers/gpu/drm/lib/drm_random.h index 5543bf0474bc..9f827260a89d 100644 --- a/drivers/gpu/drm/lib/drm_random.h +++ b/drivers/gpu/drm/lib/drm_random.h @@ -6,7 +6,7 @@ * be transposed to lib/ at the earliest convenience. */ -#include +#include #define DRM_RND_STATE_INITIALIZER(seed__) ({ \ struct rnd_state state__; \