From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751304AbdEBOOc convert rfc822-to-8bit (ORCPT ); Tue, 2 May 2017 10:14:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36592 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751120AbdEBOOa (ORCPT ); Tue, 2 May 2017 10:14:30 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 67C7713CF55 Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=kraxel@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 67C7713CF55 Message-ID: <1493734464.8581.105.camel@redhat.com> Subject: Re: [PATCH 1/3] drm: fourcc byteorder: drop DRM_FORMAT_BIG_ENDIAN From: Gerd Hoffmann To: Emil Velikov Cc: ML dri-devel , Jani Nikula , David Airlie , Michel =?ISO-8859-1?Q?D=E4nzer?= , open list , amd-gfx mailing list , Pekka Paalanen , Sean Paul , Ville =?ISO-8859-1?Q?Syrj=E4l=E4?= , Alex Deucher , Daniel Vetter , Ilia Mirkin Date: Tue, 02 May 2017 16:14:24 +0200 In-Reply-To: References: <20170502133404.15354-1-kraxel@redhat.com> <20170502133404.15354-2-kraxel@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Mime-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Tue, 02 May 2017 14:14:30 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h > > index 995c8f9c69..305bc34be0 100644 > > --- a/include/uapi/drm/drm_fourcc.h > > +++ b/include/uapi/drm/drm_fourcc.h > > @@ -33,8 +33,6 @@ extern "C" { > > #define fourcc_code(a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | \ > > ((__u32)(c) << 16) | ((__u32)(d) << 24)) > > > > -#define DRM_FORMAT_BIG_ENDIAN (1<<31) /* format is big endian instead of little endian */ > > - > > Weston references DRM_FORMAT_BIG_ENDIAN thus this patch will lead to > build breakage. > Personally I would leave the symbol, since it's UAPI and document that > should not be used. Fair enough. I can surely add a deprecated comment instead of just dropping it. I'm wondering how it is used though, given that none of the drivers in the kernel actually support this flag ... cheers, Gerd