From patchwork Sat Apr 20 04:24:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 162542 Delivered-To: patches@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp170035jan; Fri, 19 Apr 2019 21:25:01 -0700 (PDT) X-Received: by 2002:aa7:8e0d:: with SMTP id c13mr7989907pfr.193.1555734301154; Fri, 19 Apr 2019 21:25:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555734301; cv=none; d=google.com; s=arc-20160816; b=GEANTmMyT1IvHfzQizbevasY4q7HJvr0WfK7CBjdRrIj37mJzmc2iGSwnVEjOtbjVi fpl6iRbqmTOWsr7yTxsW9pPZWC6aKdN2Mm41zS6h0S94RKoebBmUp4HfO+JJyNYm371s PBcyKPXmDd5rWiX1csbuWkX0Ux56DB5YheSp3zfpEno7NXKzPklud9VVguXw2LLmGPYc zLYPuOegYW+hAp6sr9ZIHNM+5lbN1f7BAOZJh+lOHqHM33C02BbLjPu/afTjdKWB2Cs3 j5eCfMCErugGilo4KzeZ2wjZuaIrT42JyNq1C9FATRKF5JPAEfXvvC6H7cT4OiplMSom 4dkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=cmzoHiVlBbb1ka7xpDC8H136usLTLWDuQJ8WToY4y54=; b=Hsx0NYJ7CVmEuAJ2XBRrbC1p4CR+Dz9U3vvUQ6Mk/WdSwCMh4KrFW6ckNXogiIPNMC pc1erwUrfty/COEnnz9XggyP9aOFS86IDbGqNWuUrwufmXy9NhXIci7SRaQymkIOlCy7 z9YyS5fQnaGFWyDT05DrPQbvWdhT+MpsIQFVd0662a75ysDpOGzUQ4cI/pOHeGXZot4G CfLH7iazqQAs3IiaH/l1eye9UXgNksww33qBCMtlZCUCJlUEMp/rHOLl156RXtr2qne/ UPpyVxrNFtaurrCr3n6q9hhBu+fVKM9tU4RdSu4T50B9I3Qov3WjdeUbFyNNwEdYk7fG DnNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NquoSRIO; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.41 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id k12sor7822391pfo.70.2019.04.19.21.25.01 for (Google Transport Security); Fri, 19 Apr 2019 21:25:01 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NquoSRIO; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.41 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=cmzoHiVlBbb1ka7xpDC8H136usLTLWDuQJ8WToY4y54=; b=NquoSRIOkOFQd6vuXFVZF0Cc6gBv8SnujQ3Vff9Z0qrLMVZgOuq+A98j2VQ416cwTf bSsV24otRjvUsH+1cwEZmOUBhrWDF4dr3E/1f7WUEVv6UlFCMbvgILtKZHAQoB1DJd7S bOcVjgmuGfQP/hfvt/PC8jAs+TdvLTW+/IC3te2yz+Ea3gbop/dXReAiNZnMgPEwpXFo qjQG5Lm5qA/XNwEJKii/SxLYl3qNh6T7krjQiDKWgOVOw0zDG9EZO5nw7xW81u5kXeTi dTtZuYZCgEpB/j0vxWJoBk86mPy2t0AZ94ahzWi2amozHgzLAeclaX86wsBHMGiinAWX pcyw== 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:mime-version :content-transfer-encoding; bh=cmzoHiVlBbb1ka7xpDC8H136usLTLWDuQJ8WToY4y54=; b=qUm2gbKVc1RmBEBJVW7jKLOOkHnkvu6wzc/ATO+ZwZixW2WKfpQ1p7HlVKyJMIDV7G T6d+er8OolT23BdpA2mQ1oXMQjF2rJyeu07njpz8mKAIWAowFyDeqlNmLa1kvSYq03Ru S5n9JCF6lQb6RTVyO/BSC3n8vb3zlrNE1a3688TB6ThjkcOOvNx7x98lleFHRfXoXPZI NCmQAPsinLjTL+hS6o7v4GqWzhYv2jHQMr/sknvzOoTvF0PybWHMd6t0s9uSqCCeRDKM VGwPEEnmid553FC6HbQ/s6nND82LpLyX1ICWW4UxShfA3ZFajIMiRjHVSwpBQ4HS9DJT EKlg== X-Gm-Message-State: APjAAAWLnezddFwjAjmgrFaoLhFhjCyQ3K71X9VfDF9LImCHiPIUWF14 U/m2VIP4p5omAkP6geXIYmiaPJPD X-Google-Smtp-Source: APXvYqzq2QuuENXwqXRaPfoTVRN6gxo3VZ99IGj6WcX4/ifuLA7unMqBZhZCaMJTR8WqvjKQ8rUA0A== X-Received: by 2002:a62:ed10:: with SMTP id u16mr7731716pfh.187.1555734300594; Fri, 19 Apr 2019 21:25:00 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id i1sm15578372pgc.63.2019.04.19.21.24.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 19 Apr 2019 21:24:59 -0700 (PDT) From: John Stultz To: dri-devel Cc: John Stultz , Emil Velikov , Sean Paul , Alistair Strachan , Marissa Wall Subject: [RFC][PATCH 0/5] libdrm: Patches from AOSP Date: Fri, 19 Apr 2019 21:24:50 -0700 Message-Id: <1555734295-31015-1-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Over the last few days I've been trying to sync the AOSP libdrm tree with the upstream freedesktop branch. Thanks to input from Sean, Alistair and Marissa, we've managed to drop a bunch of stale patches AOSP was carrying, and get the AOSP libdrm updated to 2.4.97 I've gone through the remaining patch delta and wanted to submit the non-Android.bp changes, which seemed like they might be relevant for upstream, for review and feedback. With the exception of one of these, I'm not the original author, so I do not have the full context for the patch. So if they don't really make sense anymore, let me know and I can see if we can drop them in AOSP. Thoughts and feedback would be greatly appreciated! thanks -john Cc: Emil Velikov Cc: Sean Paul Cc: Alistair Strachan Cc: Marissa Wall Adrian Salido (1): libdrm: reduce number of reallocations in drmModeAtomicAddProperty Hemant Hariyani (1): libdrm: omap: Add DRM_RDWR flag to dmabuf export John Stultz (1): libdrm: amdgpu: Initialize unions with memset rather than "= {0}" Prabhanjan Kandula (1): libdrm: Avoid additional drm open close Sean Paul (1): libdrm: Use mmap64 instead of __mmap2 amdgpu/amdgpu_cs.c | 9 ++++++--- libdrm_macros.h | 4 +--- omap/omap_drm.c | 2 +- xf86drm.c | 4 ++-- xf86drmMode.c | 7 ++++--- 5 files changed, 14 insertions(+), 12 deletions(-) -- 2.7.4