From patchwork Tue Dec 13 19:27:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Kristian_H=C3=B8gsberg?= X-Patchwork-Id: 9473005 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E757160760 for ; Tue, 13 Dec 2016 19:28:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 00F5F285D4 for ; Tue, 13 Dec 2016 19:28:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E6C4A2867C; Tue, 13 Dec 2016 19:28:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9982C285D4 for ; Tue, 13 Dec 2016 19:28:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3BE526E648; Tue, 13 Dec 2016 19:27:57 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg0-x243.google.com (mail-pg0-x243.google.com [IPv6:2607:f8b0:400e:c05::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id F2BFF6E643 for ; Tue, 13 Dec 2016 19:27:54 +0000 (UTC) Received: by mail-pg0-x243.google.com with SMTP id 3so5370184pgd.0 for ; Tue, 13 Dec 2016 11:27:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=ZI0VupLeo998miqDNhR0AUk7Nbwf4TMdL/pnnc6rDoM=; b=uqCFCGNuMxheZfGDP2gCwH4bxo5Io5XVit0dO16rLizpaig4axGMrgx15gXVIZp62R /ey9VWI08f5wfntCUkrSWlwmiSpuM2gLaUEztfLY5cUqoVTohksvCLrd8Wmf4uTViHVz 2dNZ/wZ0Q/fRGORUz1QWIEPFLF1Nr177FJvjBbWq9hLzSaJ1kS7l6ZcfvTU00X+AHa1j V3Br90QyixjQidNfMm+5BuqVAoYux6Rs5cVJa/BszBp+IpoKp4vPtvihnIh8gLrJnkuf q/NumEyH+2ljILHeiRZzEaTqEvEXV05IEBn5rDLW7cslYG09cS2yG8b/YFq9RtaEqERo oHdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ZI0VupLeo998miqDNhR0AUk7Nbwf4TMdL/pnnc6rDoM=; b=dqo0XZwM2ilTCZoqErav+Qdmj9r6lu5Fufg09WhVgl/1uL4fpghzxy1ftgAFjEa9fq 61QfgvaZXTPu5FeZM9THB7W0Y226FbGrw+f+bvt0h2KZlNQ4gDrIregHMRrc148iEN7Y S3lu1R1YVWCb8xR2iYrr6iHg3O2gjl2F+Bz1pgQgNA8Sk3npP9gq/6ZMicpfJvgnSCs1 6M3ccbXvNXKOiA4t9ip2hS5fNUhG3cCA4fOhqt+wtPfYyR9Q7gyIBXRZJbLtgDnl+RNn E+ErKU0QmzUN68BJZCKEhdyj4+dDAAxxurSdzteQlI6oNZx3bNGfrwq9e0HkLmKPHbps NMfg== X-Gm-Message-State: AKaTC026ZfGl/C6PkHYdfToWbf6FwtsSqFVG8fYJeSgQCHarURjzRQCgUAvzgKsy4mjJzw== X-Received: by 10.84.217.143 with SMTP id p15mr197127629pli.77.1481657274416; Tue, 13 Dec 2016 11:27:54 -0800 (PST) Received: from hawkmoon.pdx.corp.google.com ([100.118.88.18]) by smtp.gmail.com with ESMTPSA id v193sm82214132pgb.37.2016.12.13.11.27.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 13 Dec 2016 11:27:53 -0800 (PST) From: "Kristian H. Kristensen" X-Google-Original-From: "Kristian H. Kristensen" To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm_fourcc: Fix DRM_FORMAT_MOD_LINEAR #define Date: Tue, 13 Dec 2016 11:27:52 -0800 Message-Id: <1481657272-25975-1-git-send-email-hoegsberg@google.com> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 Cc: daniel.vetter@ffwll.ch, "Kristian H. Kristensen" X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP We need to define DRM_FORMAT_MOD_VENDOR_NONE for the fourcc_mod_code() macro to work correctly. Signed-off-by: Kristian H. Kristensen --- include/uapi/drm/drm_fourcc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h index 0ccef30..9e1bb7f 100644 --- a/include/uapi/drm/drm_fourcc.h +++ b/include/uapi/drm/drm_fourcc.h @@ -154,6 +154,7 @@ extern "C" { /* Vendor Ids: */ #define DRM_FORMAT_MOD_NONE 0 +#define DRM_FORMAT_MOD_VENDOR_NONE 0 #define DRM_FORMAT_MOD_VENDOR_INTEL 0x01 #define DRM_FORMAT_MOD_VENDOR_AMD 0x02 #define DRM_FORMAT_MOD_VENDOR_NV 0x03