All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Engestrom <eric.engestrom@imgtec.com>
To: dri-devel@lists.freedesktop.org
Subject: [PATCH libdrm 09/23] meson: fix entaviv=auto detection (was always false)
Date: Tue, 20 Mar 2018 17:46:45 +0000	[thread overview]
Message-ID: <20180320174659.1510-10-eric.engestrom@imgtec.com> (raw)
In-Reply-To: <20180320174659.1510-1-eric.engestrom@imgtec.com>

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
---
 meson.build | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/meson.build b/meson.build
index a5b71c5e8fb55600458e..0c26e11dc4bb64325f3c 100644
--- a/meson.build
+++ b/meson.build
@@ -160,19 +160,20 @@ if with_tegra and not with_atomics
   error('libdrm_tegra requires atomics.')
 endif
 
-with_etnaviv = false
-_etnaviv = get_option('etnaviv')
-if _etnaviv == 'true'
-  if not with_atomics
-    error('libdrm_etnaviv requires atomics.')
-  endif
-  with_etnaviv = true
-endif
-
 with_vc4 = false
 _vc4 = get_option('vc4')
 if _vc4 != 'false'
   with_vc4 = _vc4 == 'true' or ['arm', 'aarch64'].contains(host_machine.cpu_family())
+
+with_etnaviv = false
+_etnaviv = get_option('etnaviv')
+if _etnaviv == 'auto'
+  with_etnaviv = with_atomics
+else
+  with_etnaviv = _etnaviv == 'true'
+endif
+if with_etnaviv and not with_atomics
+  error('libdrm_etnaviv requires atomics.')
 endif
 
 # XXX: Aparently only freebsd and dragonfly bsd actually need this (and
-- 
Cheers,
  Eric

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2018-03-20 17:48 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-20 17:46 [PATCH libdrm 00/23] meson: fix 'auto' handling of drivers and simplify code Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 01/23] meson: don't enable libdrm_intel without atomic support Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 02/23] meson: don't enable libdrm_radeon " Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 03/23] meson: don't enable libdrm_amdgpu " Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 04/23] meson: don't enable libdrm_nouveau " Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 05/23] meson: don't enable libdrm_freedreno " Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 06/23] meson: fix omap=auto detection (was always false) Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 07/23] meson: fix exynos=auto " Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 08/23] meson: fix tegra=auto " Eric Engestrom
2018-03-20 17:46 ` Eric Engestrom [this message]
2018-03-20 17:46 ` [PATCH libdrm 10/23] meson: split vc4=auto logic to make it easier to read Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 11/23] meson: split libkms=auto " Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 12/23] meson: introduce simpler way to handle driver options Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 13/23] meson: use simple option handling for intel Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 14/23] meson: use simple option handling for radeon Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 15/23] meson: use simple option handling for amdgpu Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 16/23] meson: use simple option handling for nouveau Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 17/23] meson: use simple option handling for vmwgfx Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 18/23] meson: use simple option handling for omap Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 19/23] meson: use simple option handling for exynos Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 20/23] meson: use simple option handling for freedreno Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 21/23] meson: use simple option handling for tegra Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 22/23] meson: use simple option handling for vc4 Eric Engestrom
2018-03-20 17:46 ` [PATCH libdrm 23/23] meson: use simple option handling for etnaviv Eric Engestrom
2018-03-20 19:04 ` [PATCH libdrm 00/23] meson: fix 'auto' handling of drivers and simplify code Eric Engestrom
2018-04-04 15:37 ` [PATCH libdrm v2 01/23] meson: don't enable libdrm_intel without atomic support Eric Engestrom
2018-04-04 15:37   ` [PATCH libdrm v2 02/23] meson: don't enable libdrm_radeon " Eric Engestrom
2018-04-04 21:00     ` Dylan Baker
2018-04-04 15:37   ` [PATCH libdrm v2 03/23] meson: don't enable libdrm_amdgpu " Eric Engestrom
2018-04-04 15:37   ` [PATCH libdrm v2 04/23] meson: don't enable libdrm_nouveau " Eric Engestrom
2018-04-04 15:38   ` [PATCH libdrm v2 05/23] meson: don't enable libdrm_freedreno " Eric Engestrom
2018-04-04 15:38   ` [PATCH libdrm v2 06/23] meson: split vc4=auto logic to make it easier to read Eric Engestrom
2018-04-04 15:38   ` [PATCH libdrm v2 07/23] meson: split libkms=auto " Eric Engestrom
2018-04-04 15:38   ` [PATCH libdrm v2 08/23] meson: introduce simpler way to handle driver options Eric Engestrom
2018-04-04 15:38   ` [PATCH libdrm v2 09/23] meson: use simple option handling for intel Eric Engestrom
2018-04-04 15:38   ` [PATCH libdrm v2 10/23] meson: use simple option handling for radeon Eric Engestrom
2018-04-04 15:38   ` [PATCH libdrm v2 11/23] meson: use simple option handling for amdgpu Eric Engestrom
2018-04-04 15:38   ` [PATCH libdrm v2 12/23] meson: use simple option handling for nouveau Eric Engestrom
2018-04-04 15:38   ` [PATCH libdrm v2 13/23] meson: use simple option handling for vmwgfx Eric Engestrom
2018-04-04 15:38   ` [PATCH libdrm v2 14/23] meson: use simple option handling for omap Eric Engestrom
2018-04-04 17:55     ` Sebastian Reichel
2018-04-05 10:12       ` Eric Engestrom
2018-04-04 15:38   ` [PATCH libdrm v2 15/23] meson: use simple option handling for exynos Eric Engestrom
2018-04-04 15:38   ` [PATCH libdrm v2 16/23] meson: use simple option handling for freedreno Eric Engestrom
2018-04-04 15:38   ` [PATCH libdrm v2 17/23] meson: use simple option handling for tegra Eric Engestrom
2018-04-04 15:38   ` [PATCH libdrm v2 18/23] meson: use simple option handling for vc4 Eric Engestrom
2018-04-04 15:38   ` [PATCH libdrm v2 19/23] meson: use simple option handling for etnaviv Eric Engestrom
2018-04-04 21:04     ` Dylan Baker
2018-04-04 15:38   ` [PATCH libdrm v2 20/23] meson: build omap by default Eric Engestrom
2018-04-04 15:38   ` [PATCH libdrm v2 21/23] meson: build exynos " Eric Engestrom
2018-04-04 21:10     ` Dylan Baker
2018-04-05  9:48       ` Eric Engestrom
2018-04-05 20:39         ` Dylan Baker
2018-04-04 15:38   ` [PATCH libdrm v2 22/23] meson: build tegra " Eric Engestrom
2018-04-04 21:09     ` Dylan Baker
2018-04-04 15:38   ` [PATCH libdrm v2 23/23] meson: build etnaviv " Eric Engestrom
2018-04-04 21:06     ` Dylan Baker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180320174659.1510-10-eric.engestrom@imgtec.com \
    --to=eric.engestrom@imgtec.com \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.