[PATCH i-g-t 03/89] tests/i915/gem_exec_endless: Stop setting the ring size
Jason Ekstrand
jason at jlekstrand.net
Fri Apr 23 03:02:18 UTC 2021
I915_CONTEXT_PARAM_RINGSIZE is being removed from upstream i915 because
it's never been used by any userspace other than IGT.
Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
tests/i915/gem_exec_endless.c | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/tests/i915/gem_exec_endless.c b/tests/i915/gem_exec_endless.c
index 1b320d4c..a3e2fa49 100644
--- a/tests/i915/gem_exec_endless.c
+++ b/tests/i915/gem_exec_endless.c
@@ -67,16 +67,6 @@ static unsigned int offset_in_page(void *addr)
static uint32_t __supervisor_create_context(int i915,
const struct intel_execution_engine2 *e)
{
- struct drm_i915_gem_context_create_ext_setparam p_ring = {
- {
- .name = I915_CONTEXT_CREATE_EXT_SETPARAM,
- .next_extension = 0
- },
- {
- .param = I915_CONTEXT_PARAM_RINGSIZE,
- .value = 4096,
- },
- };
I915_DEFINE_CONTEXT_PARAM_ENGINES(engines, 2) = {
.engines = {
{ e->class, e->instance },
@@ -86,7 +76,7 @@ static uint32_t __supervisor_create_context(int i915,
struct drm_i915_gem_context_create_ext_setparam p_engines = {
{
.name = I915_CONTEXT_CREATE_EXT_SETPARAM,
- .next_extension = to_user_pointer(&p_ring)
+ .next_extension = 0,
},
{
.param = I915_CONTEXT_PARAM_ENGINES,
--
2.31.1
More information about the Intel-gfx-trybot
mailing list