From nobody Fri Aug 20 14:27:41 2021 X-Original-To: freebsd-x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6EB461768E1F for ; Fri, 20 Aug 2021 14:28:00 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out2.migadu.com (out2.migadu.com [IPv6:2001:41d0:2:aacc::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GrkWN1tkcz3vVk for ; Fri, 20 Aug 2021 14:28:00 +0000 (UTC) (envelope-from greg@unrelenting.technology) Date: Fri, 20 Aug 2021 17:27:41 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unrelenting.technology; s=key1; t=1629469671; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Omj2kEYMbLnuDgyV59ROChQeUz5Q/WH5XDUuc6jD8qk=; b=pWiCzoBuVwwl5qzWOpgNxTWGqQBO1/Bs/Wr+wAYq3ZABzmM7ZAzxVZAKVX4lYORDI2eCkT UEKjJK5XPYgTXdeFOu4kFfImNy18EMrhWwsX0noy1gxtjs4VqHz8IW00kNIyZNoEvtK0tZ iI/Hh7czNMWZzogj8vVfKPobTCNVKxNm67HBwSmptZRYfGBQE5SSuiU0KEKzq3lpqTvFaS ySkOWViSJs+3OwXqqoR4+Eu8oXLYQNX+haCKu/d+cCna0DMnsD0o4VzOrgr8E++HqG1ODn 0ZLvzBrf3fd0TZNfR32GhutpqCeXvihEkz/6v9Kl73tBGtS/ZiDO4YEliPyzVQ== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. Subject: Re: 3.0-STABLE / drm-kmod / dual radeon problems To: Scott Bennett Cc: freebsd-x11@freebsd.org, gljennjohn@gmail.com Message-Id: <5U65YQ.9NQPAJNKL7ZE3@unrelenting.technology> In-Reply-To: <202108201330.17KDU4m4009991@sdf.org> References: <202108201156.17KBuRTQ028474@sdf.org> <20210820123140.7326e0e6@ernst.home> <202108201330.17KDU4m4009991@sdf.org> List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: greg@unrelenting.technology X-Rspamd-Queue-Id: 4GrkWN1tkcz3vVk X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: greg@unrelenting.technology From: Greg V via freebsd-x11 X-Original-From: Greg V X-ThisMailContainsUnwantedMimeParts: N On Fri, Aug 20 2021 at 08:30:04 -0500, Scott Bennett =20 wrote: > A generalized, portable BSD driver that avoided all the LINUX crud=20 > would be a very > welcome addition to each of the BSDs No, it would be a *ridiculous* NIH effort duplicating *millions* of=20 lines of already-existing code for no good reason. You CANNOT rewrite amdgpu from scratch with one paid developer. You'd=20 need a whole army of developers, ages of time, and all for what =97=20 avoiding "crud"!? What even is "crud"? Our LinuxKPI code looks rather elegant. Also, I don't recall AMD actually documenting the relevant hardware.=20 There are nice documents for the shader ISA, high-level architecture=20 descriptions and so on, but for all the actual command=20 submission/buffer management/etc how-to-talk-to-the-hardware internals,=20 the Linux driver *is* the documentation. Please stop proposing unrealistic "solutions", especially in threads=20 where people are asking about practical problems.