Re: [Intel-gfx] [PATCH v2] drm/i915/selftests: Yet another forgotten mock_i915->mm initialiser

2017-11-10 Thread Chris Wilson
Quoting Matthew Auld (2017-11-10 23:40:07) > On 10 November 2017 at 23:24, Chris Wilson wrote: > > Move all of the i915->mm initialisation to a private function that can > > be reused by the mock i915 device to save forgetting any more steps. > > > > For example, > >

Re: [Intel-gfx] [PATCH v2] drm/i915/selftests: Yet another forgotten mock_i915->mm initialiser

2017-11-10 Thread Matthew Auld
On 10 November 2017 at 23:24, Chris Wilson wrote: > Move all of the i915->mm initialisation to a private function that can > be reused by the mock i915 device to save forgetting any more steps. > > For example, > <7>[ 1542.046332] [IGT] drv_selftest: starting subtest

[Intel-gfx] [PATCH v2] drm/i915/selftests: Yet another forgotten mock_i915->mm initialiser

2017-11-10 Thread Chris Wilson
Move all of the i915->mm initialisation to a private function that can be reused by the mock i915 device to save forgetting any more steps. For example, <7>[ 1542.046332] [IGT] drv_selftest: starting subtest mock_objects <4>[ 1542.123924] Setting dangerous option mock_selftests - tainting kernel