Re: [Intel-gfx] [PATCH v2 9/9] drm/i915/gvt: Do not allocate initial ring scan buffer

2017-09-11 Thread Wang, Zhi A
Ah... sorry. This patchset shouldn't be here. -Original Message- From: Wang, Zhi A Sent: Tuesday, September 12, 2017 8:40 AM To: intel-gfx@lists.freedesktop.org Cc: Wang, Zhi A Subject: [PATCH v2 9/9] drm/i915/gvt: Do not allocate initial ring scan buffer Theoretically, the largest bulk

[Intel-gfx] [PATCH v2 9/9] drm/i915/gvt: Do not allocate initial ring scan buffer

2017-09-11 Thread Zhi Wang
Theoretically, the largest bulk of commands in the ring buffer of an engine might be the first submission, which usually contains a lot of commands to initialize the HW. After removing the initial allocation of the ring scan buffer and let krealloc() do everything we need, we still have a big chanc