From patchwork Wed Jan 22 14:41:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jani Nikula X-Patchwork-Id: 13947391 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 ECECFC0218C for ; Wed, 22 Jan 2025 14:41:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 66F2010E716; Wed, 22 Jan 2025 14:41:47 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="WQ88OaMt"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by gabe.freedesktop.org (Postfix) with ESMTPS id 57BBC10E704; Wed, 22 Jan 2025 14:41:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1737556906; x=1769092906; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=rWYl9o5mm8UNIWhQMZc2/vOLUXsBfEDE9VfAJiUlIQk=; b=WQ88OaMtrlMYvU7WEmw6su0i++ICrjjX+Ivae1QBnSSIWmtO3kehefnc 2NDbGkww1gER2jlZsc4x/rHxbk5bCT5x5wctntJJ8rhm5kO+iEdeoGFD5 GIcuQl+38mf7PEyhb4g3Tr5ej74jEcG9DQBzM881XbwmAPcXTgjM9C8CE /p9guCT5kFzE3LAuv1igOm+b/C14QgF0vIv80buC6u+GQA85/qREzXwhn oXeMhyNTnJPe9AwoyfzohUP7gKMUvfrm7fN0XScNOh/IR+/aslOzBNkBQ wqkx+tqvkJp2i1jpbtHdQDr/J/ZHqn/bdTZVIsLp2UmiK90BKkuS50jLH Q==; X-CSE-ConnectionGUID: xWFNS0aaQ9WCrtKROn15bQ== X-CSE-MsgGUID: vri/Ykt8Qw6CRjtlMu6FqA== X-IronPort-AV: E=McAfee;i="6700,10204,11323"; a="60484654" X-IronPort-AV: E=Sophos;i="6.13,225,1732608000"; d="scan'208";a="60484654" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jan 2025 06:41:46 -0800 X-CSE-ConnectionGUID: i420t5HoTNmI41giacccsA== X-CSE-MsgGUID: 9M8kAXPsTJ+pBV3HvudNdQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.13,225,1732608000"; d="scan'208";a="107087720" Received: from lfiedoro-mobl.ger.corp.intel.com (HELO localhost) ([10.245.246.30]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jan 2025 06:41:44 -0800 From: Jani Nikula To: dri-devel@lists.freedesktop.org Cc: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org, simona.vetter@ffwll.ch, jani.nikula@intel.com, Thomas Zimmermann Subject: [PATCH 1/2] drm/client: include types.h to make drm_client_event.h self-contained Date: Wed, 22 Jan 2025 16:41:33 +0200 Message-Id: <6c69cb005cc3a2b968b6c9675d0ba03173f6c574.1737556766.git.jani.nikula@intel.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: References: MIME-Version: 1.0 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo 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" drm_client_event.h uses bool without types.h, include it. Fixes: bf17766f1083 ("drm/client: Move suspend/resume into DRM client callbacks") Cc: Thomas Zimmermann Signed-off-by: Jani Nikula --- include/drm/drm_client_event.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/drm/drm_client_event.h b/include/drm/drm_client_event.h index 99863554b055..1d544d3a3228 100644 --- a/include/drm/drm_client_event.h +++ b/include/drm/drm_client_event.h @@ -3,6 +3,8 @@ #ifndef _DRM_CLIENT_EVENT_H_ #define _DRM_CLIENT_EVENT_H_ +#include + struct drm_device; #if defined(CONFIG_DRM_CLIENT)