[Intel-gfx] Fwd: memcpy VA image buffer, very poor performance!

hank peng pengxihan at gmail.com
Thu Jul 7 09:31:04 CEST 2011


I forward this mailing list for your help. Now, I have found its
reason is that decoded data buffer is uncached. I wonder if kernel
driver for intel gem can be modified so that decoded data buffer is
cached?


---------- Forwarded message ----------
From: hank peng <pengxihan at gmail.com>
Date: 2011/7/6
Subject: memcpy VA image buffer, very poor performance!
To: libva at lists.freedesktop.org


Hi:
I use vaMapBuffer function to map VA image buffer, then copy data from
it to my allocated memory using malloc function. I found it's
performace is very poor, then, I do a test program on same platform
between two allocated memory whose size is same as VA image buffer,
the performance is much better, Is there any difference between the VA
image mapped buffer and normal buffer allocated by malloc function?

--
The simplest is not all best but the best is surely the simplest!



-- 
The simplest is not all best but the best is surely the simplest!



More information about the Intel-gfx mailing list