All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oded Gabbay <oded.gabbay@amd.com>
To: Dave Airlie <airlied@gmail.com>,
	dri-devel <dri-devel@lists.freedesktop.org>,
	Jerome Glisse <j.glisse@gmail.com>
Subject: Re: -next plans/status
Date: Mon, 3 Nov 2014 09:56:48 +0200	[thread overview]
Message-ID: <54573540.6030202@amd.com> (raw)
In-Reply-To: <CAPM=9tywXzvOFnpuhQBLy52KF0KEV6EYGB++B6sFKiFDzr9knA@mail.gmail.com>

Hi Dave,

I would like to add one more thing to your radar - amdkfd ;)

We are going to release AMD's HSA Runtime library as Open Source in the next few 
days, and coupled with the modification that Thomas Stellard did for the r600 
LLVM back-end, we are effectively releasing a _complete_ userspace Open Source 
stack/solution for running OpenCL applications on top of amdkfd.

The method for building & running kernel programs involves offline compilation 
of a .cl source file, using clang plus a version of the r600 LLVM back end which 
Tom has modified so that a HW ISA binary file is generated. That binary file 
will then be imported into the HSAIL RT using the hsa_code_unit_load() API 
function in the HSA RT, and can then be used in compute operations initiated via 
calls to the HSAIL RT API and writes to userspace queues.

The HSA RT communicates with the amdkfd through the libhsakmt userspace library 
(equivalent of libdrm). That library is already open sourced.

We will supply a fully working application (port of the MatrixMultiplication 
application), both .cl file and .c file. The .cl file can be compiled with the 
above mentioned method and the application will load it and submit it through 
the HSA RT queues.

I'm going to publish a v5 of the amdkfd patch-set together with the HSA RT. The 
major changed are:

1. Move driver to new /drm/amd/amdkfd location (As /drm/amd will contain all 
AMD's code in the future).
2. Add support for AQL packets because the HSA RT is now defaulting to work now 
with AQL packets and not PM4 packets.

Of course, I will send a more detailed cover letter with that version.

I know my v3 and v4 patch-set weren't reviewed (except for Alex who r-b my 
radeon patches), but I hope you/Jerome can review my v5 and coupled with the 
full stack open source, we won't have any show-stoppers from merging amdkfd to 
your 3.19 pull request to Linus.

We are of course committed and working on providing Open Source solution to 
other HSA enabled languages (e.g. Java, C++AMP) but that would require some more 
time.

Please tell me if you think this is an appropriate plan.

Thanks,

	Oded


On 11/03/2014 12:29 AM, Dave Airlie wrote:
> So since -rc5/6 cutoff last merge windows was so successful from my
> POV, I think I'll keep trucking with the idea.
>
> Things I have on my radar for this window, outside normal driver pull requests:
>
> a) rockchip drm - this needs IOMMU driver merged first so I can even
> compile it, on hold but shouldn't be a problem if the iommu driver
> gets merged somewhere first.
>
> b) atmel hlcdc - where are we on the precursor patches for this?
>
> c) atomic - Daniel seems to have done a good job pulling the helpers
> in line, Rob, Sean, Collabora - please jump on board and get this
> thing over the line.
>
> d) Exynos/bridge/make my chromebook work upstream patches, where are
> we on these, Ajay/Thierry I believe you are in the know.
>
> e) AMD new driver, if this was aiming for next merge window you are
> probably late, since it will require review at a guess.
>
> Dave.
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2014-11-03  7:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-02 22:29 -next plans/status Dave Airlie
2014-11-03  7:56 ` Oded Gabbay [this message]
2014-11-03 10:56 ` Boris Brezillon
2014-11-04 22:10 ` Alex Deucher
2014-11-06 16:02 ` Thierry Reding

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=54573540.6030202@amd.com \
    --to=oded.gabbay@amd.com \
    --cc=airlied@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=j.glisse@gmail.com \
    /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.