From patchwork Thu Feb 15 13:59:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 128426 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1778131ljc; Thu, 15 Feb 2018 05:59:32 -0800 (PST) X-Google-Smtp-Source: AH8x2274DuEfUtTUB+omZVGRnp+1GL8sUROduGsG0U0oW1a2DtoEd78pGNl5Osk9jrtlxccp1ldk X-Received: by 10.98.206.65 with SMTP id y62mr2714535pfg.79.1518703172130; Thu, 15 Feb 2018 05:59:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518703172; cv=none; d=google.com; s=arc-20160816; b=oZlFkvLnnN2YMrBoyUOoZn93v8kASv4/xWr/nRfCmHQxtYkhI59yLQCs3nrjswwMvq DfLouWcj3oA7MXTbJvz738rGktaSZy8c+xWuIiyk/c69VsxxnAGRC3W7zGoOXzGM3hgk xaREhK0OovnBovzp/JjP9063MwzCv7a/GsBS+RpQ4JBs9gj8DAvf8Ob0TYLStGzVuQxC 54lv6se2tzoNTIkj72Du8ObQy9L2WGyFcqAhRyeZkNfSBCjBPKz7WBaTEj8yVTHr9m6b V3q4LjvUGln7o9LsVKVjQlcrzkFklkVQ4n/ule43x1XqyQEMVhTCtU/Lkn6l2HEPfaf6 4GdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:message-id:date:subject:to:from:delivered-to :arc-authentication-results; bh=nedvviyuW8k741MRlii0ma4o5wPTo4k4/djGiQ5oBSE=; b=wmgUtZ03oz0QBNDrr8kbCE6GM7QCxEL+0cV9M05nThYTBvNJRgGPj8iex9N+OlvX6Y Vk9oVg6OPlf+gJ6srcqAyqnPH1mb2anppG8h2IGHhN71wsiM7Qhia9Tsyh5WBPtdPMIX +an8fS1waZ/x86xFC6iBuQ7hWh3BxV6coYm3Kv7kvoYjR9iAqSjbyZZVRVv9ww5h3ZwB TzE7pHs18xGS+R4BCClMTOctow76/d9YeAsBOVrz/I2xMOfS7L4p77wznjkygQnUHuSW C+5WTJqg38tRVVKGOzGkI/UMeOlu5+GHD3Er2A2jW60bBPuljutWoHvOOyCCmOf5KI4M zp0w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id w16-v6si1142639plp.276.2018.02.15.05.59.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Feb 2018 05:59:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 014E86E524; Thu, 15 Feb 2018 13:59:31 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-oi0-f53.google.com (mail-oi0-f53.google.com [209.85.218.53]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9E7426E524 for ; Thu, 15 Feb 2018 13:59:29 +0000 (UTC) Received: by mail-oi0-f53.google.com with SMTP id j15so19120630oii.5 for ; Thu, 15 Feb 2018 05:59:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=o3Pco2Zl2ko8wHPweoj9dEbW5ZjnE0z51fZyUNz2xmY=; b=SOZERzZSQFNLRNdgjK+ttEkbi3QAR3EN8MKVxZ78fCubKPyGS5Spo6fDL0tH8emKEh qZEUmKcumqorFvlUExmIDqED8N7IZzusXuVTt7M3SWSiinaaH9kmwqFSR/2wL7I+azbw ckp1O78JcRK1q06sx25gntvivKyIPpPj2eH1NgjDF+W5YXEk4bNAcwUgqncGm4fFINVh 72k4tnpuQKkROC1mvdlw5wfGALB5Wi2b0MY4M/FvMRfIwqPVz4+mxVVZeVdRhtY64Kww e1HkoGKXTgM6L9mUr0U3E05SR/+dMyeFV6N6aPIl6bzl6CE04sC8vtfD/cNbflHLb0vz wY5A== X-Gm-Message-State: APf1xPDxLMJA9tbYngcMpQ9XuvnjBc+OcnFuftObD3dO7RTH3mLW4IBM 0+7s9/jS5UkGgjiiC6/UYxGm/hE= X-Received: by 10.202.192.84 with SMTP id q81mr1888691oif.170.1518703168353; Thu, 15 Feb 2018 05:59:28 -0800 (PST) Received: from xps15.herring.priv (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.googlemail.com with ESMTPSA id t8sm8677327otj.31.2018.02.15.05.59.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Feb 2018 05:59:27 -0800 (PST) From: Rob Herring To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm 0/4] gralloc handle fixes Date: Thu, 15 Feb 2018 07:59:22 -0600 Message-Id: <20180215135926.9502-1-robh@kernel.org> X-Mailer: git-send-email 2.14.1 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Robert Foss MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The recently committed gralloc handle definition has a few issues like not actually compiling. This series fixes those issues. I now have things working with these fixes and switching mesa, gbm_gralloc, and drm_hwcomposer to use this header. Rob Rob Herring (4): android: revert making handle magic and version members const android: fix mis-named alloc_handle_t android: add helper to convert buffer_handle_t to gralloc_handle_t ptr android: fix gralloc_handle_create() problems android/gralloc_handle.h | 43 +++++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 20 deletions(-)