[Intel-gfx] [PATCH 28/33] drm/i915: Store ggtt pointer in intel_gt

Chris Wilson chris at chris-wilson.co.uk
Wed Jun 19 13:29:56 UTC 2019


Quoting Tvrtko Ursulin (2019-06-19 14:24:54)
> diff --git a/drivers/gpu/drm/i915/selftests/i915_gem_gtt.c b/drivers/gpu/drm/i915/selftests/i915_gem_gtt.c
> index d9531cb5f235..db20a259de67 100644
> --- a/drivers/gpu/drm/i915/selftests/i915_gem_gtt.c
> +++ b/drivers/gpu/drm/i915/selftests/i915_gem_gtt.c
> @@ -1690,6 +1690,7 @@ int i915_gem_gtt_mock_selftests(void)
>                 goto out_put;
>         }
>         mock_init_ggtt(i915, ggtt);
> +       intel_gt_init_hw(i915);

Push the call into mock_init_ggtt() ? Later regrets are a futureself
problem.
-Chris


More information about the Intel-gfx mailing list