Re: [Intel-gfx] [PATCH] drm/i915/selftests: Free mock_i915->drm.mode_config

2017-12-11 Thread Chris Wilson
Quoting Matthew Auld (2017-12-11 11:20:24) > On 9 December 2017 at 21:08, Chris Wilson wrote: > > Even for the mock i915 device, we need to initialise the > > drm.mode_config, as we may ultimately query whether there are any KMS > > users deep in the bowels of some paths (e.g. eviction). As we ini

Re: [Intel-gfx] [PATCH] drm/i915/selftests: Free mock_i915->drm.mode_config

2017-12-11 Thread Matthew Auld
On 9 December 2017 at 21:08, Chris Wilson wrote: > Even for the mock i915 device, we need to initialise the > drm.mode_config, as we may ultimately query whether there are any KMS > users deep in the bowels of some paths (e.g. eviction). As we initialise > drm.mode_config we must cleanup after our

[Intel-gfx] [PATCH] drm/i915/selftests: Free mock_i915->drm.mode_config

2017-12-09 Thread Chris Wilson
Even for the mock i915 device, we need to initialise the drm.mode_config, as we may ultimately query whether there are any KMS users deep in the bowels of some paths (e.g. eviction). As we initialise drm.mode_config we must cleanup after ourselves! Signed-off-by: Chris Wilson Cc: Matthew Auld Cc