Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

AMD Publishes Open-Source Linux HSA Kernel Driver
phoronix.com ^ | 10 July 2014 06:23 PM EDT | by Michael Larabel

Posted on 07/11/2014 2:35:25 PM PDT by Ernest_at_the_Beach

AMD has just published a massive patch-set for the Linux kernel that finally implements a HSA (Heterogeneous System Architecture) in open-source. The set of 83 patches implement a Linux HSA driver for Radeon family GPUs and serves too as a sample driver for other HSA-compatible devices. This big driver in part is what well known Phoronix contributor John Bridgman has been working on at AMD.

**********************

Heterogeneous System Architecture has been talked up for a while now by AMD as well as ARM vendors and now finally for open-source enthusiasts we can finally start seeing the advantages of the CPU and GPU on the same bus. Oded Gabbay of AMD announced the big HSA kernel patch-set:


TOPICS: Computers/Internet
KEYWORDS: amd; hitech; hsa; linux

1 posted on 07/11/2014 2:35:25 PM PDT by Ernest_at_the_Beach
[ Post Reply | Private Reply | View Replies]

To: ShadowAce

fyi


2 posted on 07/11/2014 2:36:02 PM PDT by Ernest_at_the_Beach
[ Post Reply | Private Reply | To 1 | View Replies]

To: All
Left off a chunk:

***************************************************************

This patch set implements a Heterogeneous System Architecture (HSA) driver for radeon-family GPUs.

HSA allows different processor types (CPUs, DSPs, GPUs, etc..) to share system resources more effectively via HW features including shared pageable memory, userspace-accessible work queues, and platform-level atomics. In addition to the memory protection mechanisms in GPUVM and IOMMUv2, the Sea Islands family of GPUs also performs HW-level validation of commands passed in through the queues (aka rings).

The code in this patch set is intended to serve both as a sample driver for other HSA-compatible hardware devices and as a production driver for radeon-family processors. The code is architected to support multiple CPUs each with connected GPUs, although the current implementation focuses on a single Kaveri/Berlin APU, and works alongside the existing radeon kernel graphics driver (kgd).

AMD GPUs designed for use with HSA (Sea Islands and up) share some hardware functionality between HSA compute and regular gfx/compute (memory, interrupts, registers), while other functionality has been added specifically for HSA compute (hw scheduler for virtualized compute rings). All shared hardware is owned by the radeon graphics driver, and an interface between kfd and kgd allows the kfd to make use of those shared resources, while HSA-specific functionality is managed directly by kfd by submitting packets into an HSA-specific command queue (the "HIQ").
John Bridgman, the AMD employee that's well known to Phoronix readers especially those that have followed AMD's open-source efforts over the years as dominantly covered by Phoronix, has been working in the AMD HSA area as of late and partially responsible for this new driver. Among the developers coding this HSA Radeon support for hte Linux kernel include Alexey Skidanov, Andrew Lewycky, Ben Goz, Evgeny Pinchuk, Michael Varga, Oded Gabbay, and Yair Shachar. The HSA Radeon driver amounts to nearly 10,000 lines of new kernel code.

Hopefully these patches will be quickly reviewed and will be able to enter at least the staging area for the Linux 3.17 kernel given there's still a few weeks left before the debut of Linux 3.16.

3 posted on 07/11/2014 2:39:31 PM PDT by Ernest_at_the_Beach
[ Post Reply | Private Reply | To 2 | View Replies]

To: Ernest_at_the_Beach

Looks like the Leftists and assorted
communists are at it again!


4 posted on 07/11/2014 2:42:52 PM PDT by WKTimpco
[ Post Reply | Private Reply | To 1 | View Replies]

To: WKTimpco

Huh?


5 posted on 07/11/2014 2:47:14 PM PDT by Ernest_at_the_Beach
[ Post Reply | Private Reply | To 4 | View Replies]

To: Ernest_at_the_Beach

In the graphics card battle between Nvidia and Radeon, this is a death blow to Nvidia, no?


6 posted on 07/11/2014 2:54:00 PM PDT by so_real ( "The Congress of the United States recommends and approves the Holy Bible for use in all schools.")
[ Post Reply | Private Reply | To 1 | View Replies]

To: Ernest_at_the_Beach

bookmark


7 posted on 07/11/2014 3:03:39 PM PDT by dadfly
[ Post Reply | Private Reply | To 1 | View Replies]

To: WKTimpco

Uh, joking?


8 posted on 07/11/2014 3:32:28 PM PDT by WKTimpco
[ Post Reply | Private Reply | To 4 | View Replies]

To: WKTimpco

Add me to the “What?” crowd. Buying AMD and using Linux is the only way I know of to avoid supporting all of the leftist causes supported by MS, Apple, and Intel.


9 posted on 07/11/2014 3:43:25 PM PDT by TwelveOfTwenty (See my home page for some of my answers to the left's talking points.)
[ Post Reply | Private Reply | To 4 | View Replies]

To: so_real

What % of GPU sales atr *nix nowadays.


10 posted on 07/11/2014 4:07:47 PM PDT by Bidimus1
[ Post Reply | Private Reply | To 6 | View Replies]

To: Bidimus1
At the supercomputer level it is north of 90%.
11 posted on 07/11/2014 4:11:45 PM PDT by Ernest_at_the_Beach
[ Post Reply | Private Reply | To 10 | View Replies]

To: so_real
Nvidia has a lot of loyal fans, but it is a battle..

With AMD winning the consoles and now with Mantle showing it's stuff.AMD is starting to roll in the Gaming industry...but a High percentage of that is Windows,...but Steam has it's own Linux distribution that interfaces with it's library's.

12 posted on 07/11/2014 4:18:09 PM PDT by Ernest_at_the_Beach
[ Post Reply | Private Reply | To 6 | View Replies]

To: WKTimpco

Sorry, I didn’t see this post when I replied.


13 posted on 07/11/2014 4:47:30 PM PDT by TwelveOfTwenty (See my home page for some of my answers to the left's talking points.)
[ Post Reply | Private Reply | To 8 | View Replies]

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson