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 00/23] meson: fix 'auto' handling of drivers and simplify code
Date: Tue, 20 Mar 2018 17:46:36 +0000	[thread overview]
Message-ID: <20180320174659.1510-1-eric.engestrom@imgtec.com> (raw)

First 5 patches fix a bug where $driver=auto could end up being turned
on even though a dependency (`with_atomic`) is missing.

Next 4 are turning auto=false into auto=true, which I guess might not be
what we want. I'm happy to change or drop them if people want, the
rebase would be quite easy.

Then a couple aesthetic patches because I find the code easier to read
like this; again, I can drop if people disagree.

The diffstat until then is mostly adding code, but that's about to
change:
 meson.build | 126 ++++++++++++++++++++++++++++++++++++------------------------
 1 file changed, 75 insertions(+), 51 deletions(-)

After that, I'm introducing a loop to handle all the copy/pasted code
for all the driver options, and then adding them to the list one by one
to make it easier to review and/or bisect if I mess it up.
 meson.build | 140 ++++++++++++++----------------------------------------------
 1 file changed, 31 insertions(+), 109 deletions(-)

---

Eric Engestrom (23):
  meson: don't enable libdrm_intel without atomic support
  meson: don't enable libdrm_radeon without atomic support
  meson: don't enable libdrm_amdgpu without atomic support
  meson: don't enable libdrm_nouveau without atomic support
  meson: don't enable libdrm_freedreno without atomic support
  meson: fix omap=auto detection (was always false)
  meson: fix exynos=auto detection (was always false)
  meson: fix tegra=auto detection (was always false)
  meson: fix entaviv=auto detection (was always false)
  meson: split vc4=auto logic to make it easier to read
  meson: split libkms=auto logic to make it easier to read
  meson: introduce simpler way to handle driver options
  meson: use simple option handling for intel
  meson: use simple option handling for radeon
  meson: use simple option handling for amdgpu
  meson: use simple option handling for nouveau
  meson: use simple option handling for vmwgfx
  meson: use simple option handling for omap
  meson: use simple option handling for exynos
  meson: use simple option handling for freedreno
  meson: use simple option handling for tegra
  meson: use simple option handling for vc4
  meson: use simple option handling for etnaviv

 meson.build | 120 +++++++++++++++++-------------------------------------------
 1 file changed, 33 insertions(+), 87 deletions(-)

-- 
Cheers,
  Eric

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

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

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-20 17:46 Eric Engestrom [this message]
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 ` [PATCH libdrm 09/23] meson: fix entaviv=auto " Eric Engestrom
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-1-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.