[Mesa-dev] [PATCH v5 2/6] i965: Enable resource streamer for the batchbuffer
Abdiel Janulgue
abdiel.janulgue at linux.intel.com
Thu Jul 16 23:09:16 PDT 2015
On 07/17/2015 01:38 AM, Kenneth Graunke wrote:
> On Friday, July 03, 2015 10:00:30 AM Abdiel Janulgue wrote:
>> Check first if the hardware and kernel supports resource streamer. If this
>> is allowed, tell the kernel to enable the resource streamer enable bit on
>> MI_BATCHBUFFER_START by specifying I915_EXEC_RESOURCE_STREAMER
>> execbuffer flags.
>>
>> v2: - Use new I915_PARAM_HAS_RESOURCE_STREAMER ioctl to check if kernel
>> supports RS (Ken).
>> - Add brw_device_info::has_resource_streamer and toggle it for
>> Haswell, Broadwell, Cherryview, Skylake, and Broxton (Ken).
>> v3: - Update I915_PARAM_HAS_RESOURCE_STREAMER to match updated kernel.
>> v4: - Always inspect the getparam.value (Chris Wilson).
>> v5: - Fold redundant devinfo->has_resource_streamer check in context create
>> into init screen.
>>
>> Cc: kenneth at whitecape.org
>> Cc: chris at chris-wilson.co.uk
>> Signed-off-by: Abdiel Janulgue <abdiel.janulgue at linux.intel.com>
>
> This patch is:
> Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
>
Thanks a lot Ken! Will do the other changes asap in the next revision.
More information about the mesa-dev
mailing list