From patchwork Sat Jan 21 20:08:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg via B4 Relay X-Patchwork-Id: 13111312 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 49E58C54E94 for ; Sat, 21 Jan 2023 20:11:15 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E9C6C10E42E; Sat, 21 Jan 2023 20:11:13 +0000 (UTC) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4F58710E3E7 for ; Sat, 21 Jan 2023 20:07:53 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2D3D960B6C; Sat, 21 Jan 2023 20:07:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id A81D8C433A0; Sat, 21 Jan 2023 20:07:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674331672; bh=D4xf2opwteMfk5ecSQbKdV+dHXNjgYyBHns5zM/Q//c=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=AGbUrK4QVHt50e6HPc4gC4QuwTX3zq7bzQHrc2CPyLbuQ95Q8zoVrfiyaV+m4X1rN +yV5OttIj3xAxaL/n/21yj99mRHjer+TX1zpPNHHkHsrGMzT7QvUFGu/Y6YXxU2H4p URoab14bhHvYZPWWq/+L/cL6ZRpjaawhMwgTKGYRiPKnOg00ES7eCPfNV8j75cTCbw K4LWV/dxY5KcBlJz/2vMcMBYOyex6Lr29o5VqDwPltQPi8N03JwRRF1RY5CQbzfe8V MH8CgtCrI3YCwEiaYeMj8RNfhb++cgmRXC/P6zStxIVqO2S/6iJQ9dW6vgA2432Gli vCiJa+gxEDPmg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9B5C9C54ED7; Sat, 21 Jan 2023 20:07:52 +0000 (UTC) From: Sam Ravnborg via B4 Submission Endpoint Date: Sat, 21 Jan 2023 21:08:27 +0100 Subject: [PATCH 49/86] drm/hyperv: Direct include headers from drm_atomic_helper MIME-Version: 1.0 Message-Id: <20230113-drm-include-v1-v1-49-c5cf72d8a5a2@ravnborg.org> References: <20230113-drm-include-v1-v1-0-c5cf72d8a5a2@ravnborg.org> In-Reply-To: <20230113-drm-include-v1-v1-0-c5cf72d8a5a2@ravnborg.org> To: dri-devel@lists.freedesktop.org X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1674331667; l=1549; i=sam@ravnborg.org; s=20230107; h=from:subject:message-id; bh=RQSOjfa4Q3GLcqCaZMtplqCQ9pnPh9CLA/UaqzQ7y3g=; =?utf-8?q?b=3DKI8blcGFbF19?= =?utf-8?q?+7aTklzGFItJQPx0ZwZQV9gk8KJmzLTW4EUhHRwzUtsPWUkjkyC49C24psq6/NBd?= ZsnnfiXCCdotWu8nMIGNUD3wGCveMkcof5veTkMfUWRG0xmT5hT+ X-Developer-Key: i=sam@ravnborg.org; a=ed25519; pk=R0+pqV7BRYOAeOIGkyOrSNke7arx5y3LkEuNi37YEyU= X-Endpoint-Received: by B4 Submission Endpoint for sam@ravnborg.org/20230107 with auth_id=22 X-Original-From: Sam Ravnborg 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: , Reply-To: sam@ravnborg.org Cc: Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Sam Ravnborg Direct include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers. Signed-off-by: Sam Ravnborg --- drivers/gpu/drm/hyperv/hyperv_drm_drv.c | 1 + drivers/gpu/drm/hyperv/hyperv_drm_modeset.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/drivers/gpu/drm/hyperv/hyperv_drm_drv.c b/drivers/gpu/drm/hyperv/hyperv_drm_drv.c index 427c20ba3404..f8671d582d46 100644 --- a/drivers/gpu/drm/hyperv/hyperv_drm_drv.c +++ b/drivers/gpu/drm/hyperv/hyperv_drm_drv.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include "hyperv_drm.h" diff --git a/drivers/gpu/drm/hyperv/hyperv_drm_modeset.c b/drivers/gpu/drm/hyperv/hyperv_drm_modeset.c index 6c6b57298797..8a09b59458fe 100644 --- a/drivers/gpu/drm/hyperv/hyperv_drm_modeset.c +++ b/drivers/gpu/drm/hyperv/hyperv_drm_modeset.c @@ -5,6 +5,7 @@ #include +#include #include #include #include @@ -14,6 +15,7 @@ #include #include #include +#include #include #include