[PATCH libdrm v2 12/23] meson: use simple option handling for nouveau

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Eric Engestrom <eric.engestrom@xxxxxxxxxx>
---
 meson.build | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/meson.build b/meson.build
index da52f5c078c3d2f47397..e871c77c9860a84eed8f 100644
--- a/meson.build
+++ b/meson.build
@@ -73,6 +73,7 @@ foreach d : [
   ['intel', true, host_machine.cpu_family().startswith('x86')],
   ['radeon', true, true],
   ['amdgpu', true, true],
+  ['nouveau', true, true],
 ]
   driver = d[0]
   require_atomics = d[1]
@@ -93,17 +94,6 @@ foreach d : [
   endif
 endforeach
 
-with_nouveau = false
-_nouveau = get_option('nouveau')
-if _nouveau == 'auto'
-  with_nouveau = with_atomics
-else
-  with_nouveau = _nouveau == 'true'
-endif
-if with_nouveau and not with_atomics
-  error('libdrm_nouveau requires atomics.')
-endif
-
 with_vmwgfx = false
 _vmwgfx = get_option('vmwgfx')
 if _vmwgfx != 'false'
-- 
Cheers,
  Eric

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




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux