From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0C02A138334 for ; Tue, 17 Dec 2019 21:21:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 528C6E0839; Tue, 17 Dec 2019 21:21:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 972A2E0831 for ; Tue, 17 Dec 2019 21:21:15 +0000 (UTC) Received: from mail-io1-f52.google.com (mail-io1-f52.google.com [209.85.166.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mattst88) by smtp.gentoo.org (Postfix) with ESMTPSA id 8096534D9A1 for ; Tue, 17 Dec 2019 21:21:14 +0000 (UTC) Received: by mail-io1-f52.google.com with SMTP id v3so12729760ioj.5 for ; Tue, 17 Dec 2019 13:21:14 -0800 (PST) X-Gm-Message-State: APjAAAXdoUZyPegRZLQX19aufw+yHMc+6c+zyeXuGPsNtcl9du37QADA M0IpC1H4+e8NrzeWTK/k8nWWoindXEAO9wIkTtk= X-Google-Smtp-Source: APXvYqyLzk4tCyIH2nzGgACsQqwPwX7xWNDaCUwqju4vjlz6Gr5PUZ3ZFovJxC+u6woS0Yf8q4cy5RDA1Ehik1NCPQU= X-Received: by 2002:a6b:fe0f:: with SMTP id x15mr5188261ioh.219.1576617672696; Tue, 17 Dec 2019 13:21:12 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <04571007-17a7-8f7d-3d2e-731a686df590@gentoo.org> In-Reply-To: <04571007-17a7-8f7d-3d2e-731a686df590@gentoo.org> From: Matt Turner Date: Tue, 17 Dec 2019 16:21:01 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [gentoo-dev] RFC: Introducing VIDEO_CARDS=iris to virtual/opencl To: gentoo development Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: efe683a5-4bd9-40b6-826d-5aa0b702c948 X-Archives-Hash: 4db6c22f27ec45cfc93c62da1075fdae On Mon, Dec 16, 2019 at 10:26 AM Marek Szuba wrote: > What do you think, guys? I don't love it. I don't like the mess that has become VIDEO_CARDS=... either. radeon vs radeonsi vs amdgpu. Different names for different bits of the stack, even for the same hardware. I would like to come up with something that avoids the confusion users often have. Does anyone have suggestions? Should we make a cpuid2cpuflags equivalent for VIDEO_CARDS? Should VIDEO_CARDS specify only the vendor with MESA_VIDEO_CARDS=... etc for individual packages? (Seems gross) Should VIDEO_CARDS be more fine grained with multiple names for the same thing sometimes? (e.g., offer VIDEO_CARDS=amdgpu for media-libs/mesa that enables the radeonsi driver; similarly offer VIDEO_CARDS=radeonsi for x11-libs/libdrm that enables libdrm_radeon). I think perhaps that in conjunction with a cpuid2cpuflags-equivalent is the most sensible.