Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5461B6F3AE for ; Thu, 7 Oct 2021 08:23:55 +0000 (UTC) Date: Thu, 7 Oct 2021 11:27:22 +0300 From: Petri Latvala Message-ID: References: <20211006161444.904476-1-rodrigo.vivi@intel.com> <20211006161444.904476-9-rodrigo.vivi@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211006161444.904476-9-rodrigo.vivi@intel.com> Subject: Re: [igt-dev] [PATCH i-g-t 8/8] README.md: Accept the i915_drm.h standalone update. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: Rodrigo Vivi Cc: igt-dev@lists.freedesktop.org List-ID: On Wed, Oct 06, 2021 at 12:14:44PM -0400, Rodrigo Vivi wrote: > Looking to our git log we can see that the most common case > is the update of the single i915_drm.h file. > > There are some advantages of doing this standalone update: > > 1. Make reviews easier without the noise of other headers. > 2. Avoid the developer to have to touch other areas that are > not immediately related to targeted work. > > Cc: Petri Latvala > Signed-off-by: Rodrigo Vivi Reviewed-by: Petri Latvala > --- > README.md | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/README.md b/README.md > index 62bef46d..66f2bc0f 100644 > --- a/README.md > +++ b/README.md > @@ -159,6 +159,20 @@ These should be updated all together by: > Then, commit with a note of which exact commit from airlied's branch > was used to generate them. > > +### `include/drm-uapi/i915_drm.h` > + > +Imported i915_drm.h uapi headers from airlied's drm-next branch. > + > +In some cases updating a single uapi file is needed as our history > +shows. So in this case, it should be done by: > + > + # From the kernel dir with a drm/drm-next commit checked out: > + $ make INSTALL_HDR_PATH= headers_install > + $ cp /include/drm/i915_drm.h /include/drm-uapi/ > + > +Then, commit with a note of which exact commit from airlied's branch > +was used to generate it. > + > ### `include/linux-uapi/sync_file.h` > > Imported non-DRM uapi headers from airlied's drm-next branch. > -- > 2.31.1 >