From: "Xiong, James"
The vma high heap's capacity and maximum address were pre-defined based
on 48bits ppgtt support, and the buffers allocated from the vma high heap
had invalid vma addresses to the ehl platform that only supports 36bits
ppgtt. As a result, KMD rejected all batchbuffers
From: "Xiong, James"
UMDs such as modesetting can use legacy ADDFD which doesn't accept
Y-tiled buffer, ths patch sets the default tiling mode to X-tiled
for backward compatibility.
Signed-off-by: Xiong, James
---
src/gallium/drivers/iris/iris_resource.c | 3 ++-
1 file changed, 2
On Fri, 11 May 2018 16:57:22 +0100
Chris Wilson <ch...@chris-wilson.co.uk> wrote:
> Quoting James Xiong (2018-05-11 16:35:04)
> > On Thu, 10 May 2018 13:56:12 -0700
> > Kenneth Graunke <kenn...@whitecape.org> wrote:
> >
> > > On Friday, May 4, 2018 5:56
On Thu, 10 May 2018 13:56:12 -0700
Kenneth Graunke <kenn...@whitecape.org> wrote:
> On Friday, May 4, 2018 5:56:04 PM PDT James Xiong wrote:
> > From: "Xiong, James" <james.xi...@intel.com>
> >
> > Now that a bucket contains cached buffers with differen
On Sat, 5 May 2018 08:55:24 +0100
Chris Wilson <ch...@chris-wilson.co.uk> wrote:
> Quoting James Xiong (2018-05-05 01:56:05)
> > From: "Xiong, James" <james.xi...@intel.com>
> >
> > When one of cached buffers is found to be evicted by kernel,
>
On Sat, 5 May 2018 09:11:28 +0100
Chris Wilson <ch...@chris-wilson.co.uk> wrote:
> Quoting James Xiong (2018-05-05 01:56:01)
> > This series align the buffer size up to page instead of a bucket
> > size to improve memory allocation efficiency.
>
> It doesn't th
From: "Xiong, James"
When one of cached buffers is found to be evicted by kernel,
most likely the buffers freed earlier than this buffer are
gone too, go through the cached list in the bucket and purge.
Signed-off-by: Xiong, James
---
From: "Xiong, James"
With the current implementation, brw_bufmgr may round up a request
size to the next bucket size, result in 25% more memory allocated in
the worst senario. For example:
Request sizeActual size
32KB+1Byte 40KB
.
8MB+1Byte 10MB
.
96MB+1Byte
From: "Xiong, James"
a buffer is now put in cached bucket #n when its size is between
bucket[n].size and bucket[n+1].size - 1
Signed-off-by: Xiong, James
---
src/mesa/drivers/dri/i965/brw_bufmgr.c | 11 +--
1 file changed, 5 insertions(+),
From: "Xiong, James"
split bo_alloc_internal, and add a new function cached_bo_for_size
searches for a suitable cached buffer for a given size.
Signed-off-by: Xiong, James
---
src/mesa/drivers/dri/i965/brw_bufmgr.c | 92
From: "Xiong, James"
Now that a bucket contains cached buffers with different sizes, go
through its list and search for a cached buffer with enough size.
Signed-off-by: Xiong, James
---
src/mesa/drivers/dri/i965/brw_bufmgr.c | 21
On Wed, 2 May 2018 14:18:21 +0300
Eero Tamminen <eero.t.tammi...@intel.com> wrote:
> Hi,
>
> On 02.05.2018 02:25, James Xiong wrote:
> > From: "Xiong, James" <james.xi...@intel.com>
> >
> > With the current implementation, brw_bufmgr may ro
From: "Xiong, James"
split bo_alloc_internal, and add a new function cached_bo_for_size
searches for a suitable cached buffer for a given size.
Signed-off-by: Xiong, James
---
src/mesa/drivers/dri/i965/brw_bufmgr.c | 92
From: "Xiong, James"
Now that a bucket contains cached buffers with different sizes, go
through its list and search for a cached buffer with enough size.
Signed-off-by: Xiong, James
---
src/mesa/drivers/dri/i965/brw_bufmgr.c | 21
From: "Xiong, James"
With the current implementation, brw_bufmgr may round up a request
size to the next bucket size, result in 25% more memory allocated in
the worst senario. For example:
Request sizeActual size
32KB+1Byte 40KB
.
8MB+1Byte 10MB
.
96MB+1Byte
From: "Xiong, James"
When one of cached buffers is found to be evicted by kernel,
most likely the buffers freed earlier than this buffer are
gone too, go through the cached list in the bucket and purge.
Signed-off-by: Xiong, James
---
From: "Xiong, James"
a buffer is now put in cached bucket #n when its size is between
bucket[n].size and bucket[n+1].size - 1
Signed-off-by: Xiong, James
---
src/mesa/drivers/dri/i965/brw_bufmgr.c | 11 +--
1 file changed, 5 insertions(+),
From: "Xiong, James"
Signed-off-by: Xiong, James
---
src/mesa/main/texstorage.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/main/texstorage.c b/src/mesa/main/texstorage.c
index 44edba3..9cb8b90 100644
---
anks for the review. Yes there was a segmentation fault.
>
> On 27/04/18 11:39, James Xiong wrote:
> > From: "Xiong, James" <james.xi...@intel.com>
> >
> > Signed-off-by: Xiong, James <james.xi...@intel.com>
> > ---
> > src/mesa/main/shaderapi.c | 2 +-
From: "Xiong, James"
Signed-off-by: Xiong, James
---
src/mesa/main/shaderapi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
index 44b18af..caa4254 100644
---
On Fri, 13 Apr 2018 14:33:09 -0700
Kenneth Graunke <kenn...@whitecape.org> wrote:
> On Friday, April 13, 2018 2:08:40 PM PDT James Xiong wrote:
> > On Fri, 13 Apr 2018 13:51:02 -0700
> > Kenneth Graunke <kenn...@whitecape.org> wrote:
> >
> > > On Fri
On Fri, 13 Apr 2018 13:51:02 -0700
Kenneth Graunke <kenn...@whitecape.org> wrote:
> On Friday, April 13, 2018 1:35:45 PM PDT Kenneth Graunke wrote:
> > On Monday, April 9, 2018 4:06:16 PM PDT James Xiong wrote:
> > > From: "Xiong, James" <james.xi...@intel.c
From: "Xiong, James"
On non-LLC platforms, we malloc shadow batch/state buffers
of the same sizes as our batch/state buffers' GEM allocations.
However the buffer allocator reuses similar-sized gem objects,
it returns a buffer larger than we asked for in some cases
and we
From: "Xiong, James"
When creating a image from a texture, the image's dri_format is
set to the first plane's format, and used to look up for the
fourcc. e.g. for FOURCC_NV12 texture, the dri_format is set to
__DRI_IMAGE_FORMAT_R8, we end up with a wrong entry in function
On Thu, 5 Apr 2018 20:57:46 +0300
Tapani Pälli <tapani.pa...@intel.com> wrote:
> On 05.04.2018 18:43, James Xiong wrote:
> > On Thu, 5 Apr 2018 14:30:02 +0300
> > Tapani Pälli <tapani.pa...@intel.com> wrote:
> >
> >> On 04/05/2018 02:51 AM, Jame
On Thu, 5 Apr 2018 08:56:54 -0700
Jason Ekstrand <ja...@jlekstrand.net> wrote:
> On Thu, Apr 5, 2018 at 8:45 AM, James Xiong <james.xi...@intel.com>
> wrote:
>
> > On Thu, 5 Apr 2018 08:24:27 -0700
> > Jason Ekstrand <ja...@jlekstrand.net> wrote:
> &
On Thu, 5 Apr 2018 08:24:27 -0700
Jason Ekstrand <ja...@jlekstrand.net> wrote:
> Does this fix a bug? If so, what?
Jason, yes. I am sorry for the confusion, please see my earlier reply
to Tapani.
>
> On April 4, 2018 16:57:21 James Xiong <james.xi...@intel.com> wrote:
>
On Thu, 5 Apr 2018 14:30:02 +0300
Tapani Pälli <tapani.pa...@intel.com> wrote:
> On 04/05/2018 02:51 AM, James Xiong wrote:
> > From: "Xiong, James" <james.xi...@intel.com>
> >
> > The planar_format in __DRIimage contains the original fourcc
> &
On Thu, 5 Apr 2018 15:05:26 +0300
Tapani Pälli <tapani.pa...@intel.com> wrote:
> Hi;
>
> On 04/05/2018 02:51 AM, James Xiong wrote:
> > From: "Xiong, James" <james.xi...@intel.com>
> >
> > The importer creates an image out of the imported FOURC
From: "Xiong, James"
When creating a image from a texture, initialize the image's planar_format
with the texture's.
Signed-off-by: Xiong, James
---
src/mesa/drivers/dri/i965/intel_screen.c | 1 +
1 file changed, 1 insertion(+)
diff --git
From: "Xiong, James"
The importer creates an image out of the imported FOURCC_NV12 texture,
the image's dri_format is set to R8(same as the first plane's format),
when it queries the image's fourcc, mesa goes through intel_image_format
table and returns FOURCC_R8.
The
From: "Xiong, James"
The planar_format in __DRIimage contains the original fourcc
used to create the image, if it's set, return the saved fourcc
directly; Otherwise fall back to the old way.
Also we should validate the input parameter "value" first as it
might be NULL
32 matches
Mail list logo