<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 05/07/2019 15:42, Lionel Landwerlin
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:0ff02900-acdb-12a2-84d4-8df69e2e08cf@intel.com">
<blockquote type="cite" style="color: #000000;"><br>
+
<br>
+static int
<br>
+gen8_store_flex(struct i915_request *rq,
<br>
+ struct intel_context *ce,
<br>
+ const struct flex *flex, unsigned int count)
<br>
+{
<br>
+ u32 offset;
<br>
+ u32 *cs;
<br>
+
<br>
+ cs = intel_ring_begin(rq, 4 * count);
<br>
+ if (IS_ERR(cs))
<br>
+ return PTR_ERR(cs);
<br>
</blockquote>
<br>
<br>
Is the right of the kernel context large enough to hold the
MI_SDIs for all the contexts?
<br>
<br>
<br>
</blockquote>
<p><br>
</p>
<p>s/right/ring/</p>
<p><br>
</p>
</body>
</html>