From patchwork Thu Apr 21 20:17:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 8903771 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 38CAFBF29F for ; Thu, 21 Apr 2016 20:16:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 697DB20320 for ; Thu, 21 Apr 2016 20:16:43 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 90D092026F for ; Thu, 21 Apr 2016 20:16:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DA5FC6ED96; Thu, 21 Apr 2016 20:16:30 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) by gabe.freedesktop.org (Postfix) with ESMTPS id A06606ED91 for ; Thu, 21 Apr 2016 20:16:25 +0000 (UTC) Received: by mail-wm0-x233.google.com with SMTP id n3so150679234wmn.0 for ; Thu, 21 Apr 2016 13:16:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Co4Ekw72V5pGuQR72rTF3/tIyMSx5nVyGCJPyt9hlXQ=; b=zBk8HoN1Uwzsoe6W5K35ceZM2AHGhZpXPfm7+zS74yYlMuQz/N9v10aJm8uUApqVpF S89ZolL6Lw8SB1ztXmMWp6KHGCO8gSaP+s9hpQquCTwautnI4pYRH9OBKSqu4YTiBufg 7JTrUMLdn6tjYjaCPZ63rLd8vTbEjKEx+azMczPTKAT1rHMoYVhDXlAeK9qacE37fFGj knYFSxn/XjAdptrZ3BpCDuHwfMwTtP7GXhPgwCNe3QP4tGz5nduRtSv/Y7K9pe3Mgc03 d66K1ZNkkuFPCHx56/oaG+21kj8/HpIorhsZIaaKpXxQcfDm++rhlhRfvjFbgtQA86xJ MFbw== 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:in-reply-to :references; bh=Co4Ekw72V5pGuQR72rTF3/tIyMSx5nVyGCJPyt9hlXQ=; b=iDEVm21+Gj6Aktc1kPNYqMkdpcVirTDhs4DdL3HpbnjnszNsaX36a+0uRjh+k7nuL6 YKMWPvq+IbgOFXNWMPdH/I3UVNpaPa6uxtqFVUmahsmcf4oY/wYdAgzyEjv+p1QmT00L n9ihhbdKMtuC7nuFmY3Uyxli/Je1hjogMo2Nbt/0LZ6vHR8oh133+RavIXfpTzrif/lk 7J0X4QwmeAdb8BtM5PdVBjTN58OnoLxndtzJJQSX1fAfwGQfUy6UrqifkJIQ6KLf2gbq G9hsdvC5nX0uZqDoUZUGZ+RHfXTK+N0BGRd4dbMJyjHb0OCdGMjugb8SR2p6FdwTAfvk m4Og== X-Gm-Message-State: AOPr4FUR8M1UBJKi42Tb/WV1zpXWNRgm3ZQ2BDijH62jGJ9ZHgkukXvULEl+LDvGoqxqIA== X-Received: by 10.28.232.140 with SMTP id f12mr17241041wmi.6.1461269784102; Thu, 21 Apr 2016 13:16:24 -0700 (PDT) Received: from arch-laptop.localdomain (cpc98192-croy26-2-0-cust395.19-2.cable.virginm.net. [82.32.159.140]) by smtp.gmail.com with ESMTPSA id ry15sm4486004wjb.19.2016.04.21.13.16.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Apr 2016 13:16:23 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH 05/24] drm/exynos: add extern C guard for the UAPI header Date: Thu, 21 Apr 2016 21:17:18 +0100 Message-Id: <1461269857-12813-6-git-send-email-emil.l.velikov@gmail.com> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1461269857-12813-1-git-send-email-emil.l.velikov@gmail.com> References: <1461269857-12813-1-git-send-email-emil.l.velikov@gmail.com> Cc: Andrzej Hajda , emil.l.velikov@gmail.com 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-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Cc: Andrzej Hajda Cc: Inki Dae Signed-off-by: Emil Velikov --- Inki, Can we please have someone from the Exynos/Samsung look into the following: - A follow up on patch cbf0aceff85 "drm/exynos: use arch independent types in uapi header" - Use the same licence for both libdrm and kernel version of exynos_drm.h - ideally X11/MIT. No rush, just making sure that it doesn't fall through the cracks. Thanks Emil --- include/uapi/drm/exynos_drm.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/uapi/drm/exynos_drm.h b/include/uapi/drm/exynos_drm.h index 3947c2e..cb3e9f9 100644 --- a/include/uapi/drm/exynos_drm.h +++ b/include/uapi/drm/exynos_drm.h @@ -17,6 +17,10 @@ #include "drm.h" +#if defined(__cplusplus) +extern "C" { +#endif + /** * User-desired buffer creation information structure. * @@ -362,4 +366,8 @@ struct drm_exynos_ipp_event { __u32 buf_id[EXYNOS_DRM_OPS_MAX]; }; +#if defined(__cplusplus) +} +#endif + #endif /* _UAPI_EXYNOS_DRM_H_ */