From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 A1DA7C5479D for ; Wed, 11 Jan 2023 16:07:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZQJCHr5g2etChZLQh4nJMPHJEGVulzCgLsTE59N1bJQ=; b=x3p66rZ6Z9edEN EysYel7gge6SelEpwko985Zns01Tpdads+UdgmbyArjADR5Iclc2G/YwdFipFldsFmL9oQUxEvYYw Ges8LuNL7xEonm6lIYslO4rD+xm4vjX48XpXjvDDsAf8g4kQHpBWZ9YhicZoiQRhVSGVK8dxo8nQ+ k+mRDBZGkNqq1MIEO07e4TshVQAkusvQMVXrMsMpLtnMSkPLhi69agan/7Udv+/Ky8yiImBQsm9Od g0VWplhFAGwfiq2i0QMcxlf2iJ4MhyyBUQxyBr7/kzdWEskUMMZk3ksTif3FSx2XItC5L2Xh1fU1H vE0n4L93gDuw5oQTArrQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFdci-00C6IC-Sf; Wed, 11 Jan 2023 16:06:45 +0000 Received: from mga07.intel.com ([134.134.136.100]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFdcf-00C6H3-4J; Wed, 11 Jan 2023 16:06:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673453201; x=1704989201; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=UeQTUbcXpxM0aHWVF3BkeWxkAwUagUrs8L1aujbAKXs=; b=dI6g9UOalr9qf4WVFhnIxeblOnwF6QT9wcmvWfpsbYhQi8qfP9Zirbcb hYN/JDqwrbRzJ7SMscyKwPs1NwLFQo2cyKU7pjBF3SkRkPBpcgm2rLY+2 PbZ449i6y97qBp2XXAnfMv2T0BKdWVLZ2q/2nSRT+hRHW+L6R6uapHXxF YgLVzZHVj/rdJjhPvae1wd9NrjSX08Dh1oNT/AoVpwnDZrNZUy10jlXA5 XwENZPc99UKmswMvqXDAAh7a+71audO4LhadHFhXQkgVhyTG5xGkM4Qey yuBH4/+IpugED7tQGAzTWLm1QA85hqhOm0ofqoPVflKO3K3xa/MmQZhFC g==; X-IronPort-AV: E=McAfee;i="6500,9779,10586"; a="387919246" X-IronPort-AV: E=Sophos;i="5.96,317,1665471600"; d="scan'208";a="387919246" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2023 08:04:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10586"; a="720769432" X-IronPort-AV: E=Sophos;i="5.96,317,1665471600"; d="scan'208";a="720769432" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.55]) by fmsmga008.fm.intel.com with SMTP; 11 Jan 2023 08:03:54 -0800 Received: by stinkbox (sSMTP sendmail emulation); Wed, 11 Jan 2023 18:03:53 +0200 Date: Wed, 11 Jan 2023 18:03:53 +0200 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: Thomas Zimmermann Cc: alexander.deucher@amd.com, christian.koenig@amd.com, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, patrik.r.jakobsson@gmail.com, thierry.reding@gmail.com, sam@ravnborg.org, f.fainelli@gmail.com, james.qian.wang@arm.com, liviu.dudau@arm.com, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 06/10] drm: Define enum mode_set_atomic in drm_modeset_helper_tables.h Message-ID: References: <20230111130206.29974-1-tzimmermann@suse.de> <20230111130206.29974-7-tzimmermann@suse.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230111130206.29974-7-tzimmermann@suse.de> X-Patchwork-Hint: comment X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230111_080641_232959_F124925B X-CRM114-Status: GOOD ( 17.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jan 11, 2023 at 02:02:02PM +0100, Thomas Zimmermann wrote: > Define enum mode_set_atomic next to the only interface that uses > the type. This will allow for removing several include statements > for drm_fb_helper.h. No functional changes. > = > Signed-off-by: Thomas Zimmermann Reviewed-by: Ville Syrj=E4l=E4 > --- > include/drm/drm_fb_helper.h | 5 ----- > include/drm/drm_modeset_helper_vtables.h | 6 +++++- > 2 files changed, 5 insertions(+), 6 deletions(-) > = > diff --git a/include/drm/drm_fb_helper.h b/include/drm/drm_fb_helper.h > index b111dc7ada78..f443e1f11654 100644 > --- a/include/drm/drm_fb_helper.h > +++ b/include/drm/drm_fb_helper.h > @@ -37,11 +37,6 @@ struct drm_fb_helper; > = > #include > = > -enum mode_set_atomic { > - LEAVE_ATOMIC_MODE_SET, > - ENTER_ATOMIC_MODE_SET, > -}; > - > /** > * struct drm_fb_helper_surface_size - describes fbdev size and scanout = surface size > * @fb_width: fbdev width > diff --git a/include/drm/drm_modeset_helper_vtables.h b/include/drm/drm_m= odeset_helper_vtables.h > index 77a540ad7dcd..206f495bbf06 100644 > --- a/include/drm/drm_modeset_helper_vtables.h > +++ b/include/drm/drm_modeset_helper_vtables.h > @@ -48,10 +48,14 @@ > * To make this clear all the helper vtables are pulled together in this= location here. > */ > = > -enum mode_set_atomic; > struct drm_writeback_connector; > struct drm_writeback_job; > = > +enum mode_set_atomic { > + LEAVE_ATOMIC_MODE_SET, > + ENTER_ATOMIC_MODE_SET, > +}; > + > /** > * struct drm_crtc_helper_funcs - helper operations for CRTCs > * > -- = > 2.39.0 -- = Ville Syrj=E4l=E4 Intel _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel