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 <pengxi...@gmail.com> Date: 2011/7/6 Subject: memcpy VA image buffer, very poor performance! To: li...@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! _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx