Re: [PATCH 08/28] drm/i915: Create a full object for mock_ring, v2.

2021-10-22 Thread Maarten Lankhorst
Op 21-10-2021 om 17:57 schreef Matthew Auld: > On Thu, 21 Oct 2021 at 11:36, Maarten Lankhorst > wrote: >> This allows us to finally get rid of all the assumptions that vma->obj is >> NULL. >> >> Changes since v1: >> - Ensure the mock_ring vma is pinned to prevent a fault. >> - Pin it high to avo

Re: [PATCH 08/28] drm/i915: Create a full object for mock_ring, v2.

2021-10-21 Thread Matthew Auld
On Thu, 21 Oct 2021 at 11:36, Maarten Lankhorst wrote: > > This allows us to finally get rid of all the assumptions that vma->obj is > NULL. > > Changes since v1: > - Ensure the mock_ring vma is pinned to prevent a fault. > - Pin it high to avoid failure in evict_for_vma selftest. > > Signed-off-

[PATCH 08/28] drm/i915: Create a full object for mock_ring, v2.

2021-10-21 Thread Maarten Lankhorst
This allows us to finally get rid of all the assumptions that vma->obj is NULL. Changes since v1: - Ensure the mock_ring vma is pinned to prevent a fault. - Pin it high to avoid failure in evict_for_vma selftest. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/gt/mock_engine.c | 38 ++