[Intel-gfx] [PATCH] drm/i915/oa: Reconfigure contexts on the fly

Lionel Landwerlin lionel.g.landwerlin at intel.com
Fri Jul 5 12:43:56 UTC 2019


On 05/07/2019 15:42, Lionel Landwerlin wrote:
>>
>> +
>> +static int
>> +gen8_store_flex(struct i915_request *rq,
>> +        struct intel_context *ce,
>> +        const struct flex *flex, unsigned int count)
>> +{
>> +    u32 offset;
>> +    u32 *cs;
>> +
>> +    cs = intel_ring_begin(rq, 4 * count);
>> +    if (IS_ERR(cs))
>> +        return PTR_ERR(cs);
>
>
> Is the right of the kernel context large enough to hold the MI_SDIs 
> for all the contexts?
>
>

s/right/ring/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20190705/c9b989a2/attachment.html>


More information about the Intel-gfx mailing list