Re: [Intel-gfx] [PATCH] Runtime: set the sub slice according to kernel pooled EU configure.

2016-06-30 Thread Song, Ruiling
LGTM Ruiling > -Original Message- > From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of > Yang Rong > Sent: Wednesday, June 15, 2016 4:20 PM > To: beig...@lists.freedesktop.org; intel-gfx@lists.freedesktop.org; > arun.siluv...@linux.intel.com > Subject:

Re: [Intel-gfx] [RFC libdrm] intel: Add support for softpin

2015-12-15 Thread Song, Ruiling
> -Original Message- > From: Kristian Høgsberg [mailto:hoegsb...@gmail.com] > Sent: Tuesday, December 15, 2015 4:09 AM > To: Song, Ruiling <ruiling.s...@intel.com>; k...@bitplanet.net; Winiarski, > Michal <michal.winiar...@intel.com> > Cc: intel-g

Re: [Intel-gfx] [RFC libdrm] intel: Add support for softpin

2015-12-14 Thread Song, Ruiling
> -Original Message- > From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel > Vetter > Sent: Monday, December 14, 2015 4:28 PM > To: Song, Ruiling <ruiling.s...@intel.com> > Cc: k...@bitplanet.net; Winiarski, Michal <michal.w

Re: [Intel-gfx] [RFC libdrm] intel: Add support for softpin

2015-12-13 Thread Song, Ruiling
> -Original Message- > From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf > Of Micha? Winiarski > Sent: Wednesday, September 9, 2015 10:07 PM > To: intel-gfx@lists.freedesktop.org > Cc: Ben Widawsky ; dri-de...@lists.freedesktop.org; >

Re: [Intel-gfx] [RFC libdrm] intel: Add support for softpin

2015-12-13 Thread Song, Ruiling
> -Original Message- > From: hoegsb...@gmail.com [mailto:hoegsb...@gmail.com] On Behalf Of > Kristian H?gsberg > Sent: Monday, December 14, 2015 1:34 PM > To: Song, Ruiling <ruiling.s...@intel.com> > Cc: Winiarski, Michal <michal.winiar...@intel.com>; intel

Re: [Intel-gfx] [Beignet] Preventing zero GPU virtual address allocation

2015-03-19 Thread Song, Ruiling
Yeah my big concern was with not making this opt-in like the old patch or adding an interface which does a lot more than what we need right now (Chris' patch). Just a bitflag to ask for this seems best and is fine with me. And for the implementation I think we should reuse the PIN_BIAS

Re: [Intel-gfx] [Beignet] Preventing zero GPU virtual address allocation

2015-03-18 Thread Song, Ruiling
Yeah, MAP_FIXED sounds a bit more ambitious and though I think it would work for OCL 2.0 pointer sharing, it's a little different than we were planning. To summarize, we have three possible approaches, each with its own problems: 1) simple patch to avoid binding at address 0 in PPGTT:

Re: [Intel-gfx] [Beignet] Preventing zero GPU virtual address allocation

2015-03-15 Thread Song, Ruiling
-Original Message- From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter Sent: Saturday, March 14, 2015 1:14 AM To: Chris Wilson; Daniel Vetter; Weinehall, David; Zou, Nanhai; Song, Ruiling; Vetter, Daniel; intel-gfx@lists.freedesktop.org; Yang, Rong R

[Intel-gfx] Preventing zero GPU virtual address allocation

2015-03-04 Thread Song, Ruiling
Hi Daniel, OpenCL language support NULL pointer, using zero as the NULL pointer is the obvious way. That is zero will be treated as invalid address. Then it requires drm won't allocate zero to drm buffer. And David in CC list has help us make a patch, please see attached. The logic is only for