Re: drm/i915/ttm Initialize the ttm device and memory managers

2021-07-12 Thread Matthew Auld
ollows: > > commit d148738923fdb5077089e48ec1e6008100d0 > Author: Thomas Hellström > Date: Wed Jun 2 10:38:08 2021 +0200 > > drm/i915/ttm Initialize the ttm device and memory managers > > The analysis is as follows: > > > 49 static int igt_mock_fill(void *arg) > 50 { >

re: drm/i915/ttm Initialize the ttm device and memory managers

2021-07-12 Thread Colin Ian King
:08 2021 +0200 drm/i915/ttm Initialize the ttm device and memory managers The analysis is as follows: 49 static int igt_mock_fill(void *arg) 50 { 51struct intel_memory_region *mem = arg; 52resource_size_t total = resource_size(&mem->region); 53resource

[PATCH v10 01/11] drm/i915/ttm Initialize the ttm device and memory managers

2021-06-02 Thread Thomas Hellström
Temporarily remove the buddy allocator and related selftests and hook up the TTM range manager for i915 regions. Also modify the mock region selftests somewhat to account for a fragmenting manager. Signed-off-by: Thomas Hellström Reviewed-by: Matthew Auld #v2 --- v2: - Fix an error unwind in lm

[PATCH v9 04/15] drm/i915/ttm Initialize the ttm device and memory managers

2021-06-01 Thread Thomas Hellström
Temporarily remove the buddy allocator and related selftests and hook up the TTM range manager for i915 regions. Also modify the mock region selftests somewhat to account for a fragmenting manager. Signed-off-by: Thomas Hellström Reviewed-by: Matthew Auld #v2 --- v2: - Fix an error unwind in lm

[PATCH v8 04/15] drm/i915/ttm Initialize the ttm device and memory managers

2021-05-31 Thread Thomas Hellström
Temporarily remove the buddy allocator and related selftests and hook up the TTM range manager for i915 regions. Also modify the mock region selftests somewhat to account for a fragmenting manager. Signed-off-by: Thomas Hellström Reviewed-by: Matthew Auld #v2 --- v2: - Fix an error unwind in lm

[PATCH v7 04/15] drm/i915/ttm Initialize the ttm device and memory managers

2021-05-31 Thread Thomas Hellström
Temporarily remove the buddy allocator and related selftests and hook up the TTM range manager for i915 regions. Also modify the mock region selftests somewhat to account for a fragmenting manager. Signed-off-by: Thomas Hellström Reviewed-by: Matthew Auld #v2 --- v2: - Fix an error unwind in lm

[PATCH v6 04/15] drm/i915/ttm Initialize the ttm device and memory managers

2021-05-28 Thread Thomas Hellström
Temporarily remove the buddy allocator and related selftests and hook up the TTM range manager for i915 regions. Also modify the mock region selftests somewhat to account for a fragmenting manager. Signed-off-by: Thomas Hellström Reviewed-by: Matthew Auld #v2 --- v2: - Fix an error unwind in lm

[PATCH v5 04/15] drm/i915/ttm Initialize the ttm device and memory managers

2021-05-27 Thread Thomas Hellström
Temporarily remove the buddy allocator and related selftests and hook up the TTM range manager for i915 regions. Also modify the mock region selftests somewhat to account for a fragmenting manager. Signed-off-by: Thomas Hellström Reviewed-by: Matthew Auld #v2 --- v2: - Fix an error unwind in lm

[PATCH v4 04/15] drm/i915/ttm Initialize the ttm device and memory managers

2021-05-26 Thread Thomas Hellström
Temporarily remove the buddy allocator and related selftests and hook up the TTM range manager for i915 regions. Also modify the mock region selftests somewhat to account for a fragmenting manager. Signed-off-by: Thomas Hellström Reviewed-by: Matthew Auld #v2 --- v2: - Fix an error unwind in lm

[PATCH v3 04/12] drm/i915/ttm Initialize the ttm device and memory managers

2021-05-21 Thread Thomas Hellström
Temporarily remove the buddy allocator and related selftests and hook up the TTM range manager for i915 regions. Also modify the mock region selftests somewhat to account for a fragmenting manager. Signed-off-by: Thomas Hellström Reviewed-by: Matthew Auld #v2 --- v2: - Fix an error unwind in lm

Re: [Intel-gfx] [PATCH v2 05/15] drm/i915/ttm Initialize the ttm device and memory managers

2021-05-18 Thread Thomas Hellström
On 5/18/21 11:09 AM, Matthew Auld wrote: On Tue, 18 May 2021 at 09:27, Thomas Hellström wrote: Temporarily remove the buddy allocator and related selftests and hook up the TTM range manager for i915 regions. Also modify the mock region selftests somewhat to account for a fragmenting manager.

Re: [Intel-gfx] [PATCH v2 05/15] drm/i915/ttm Initialize the ttm device and memory managers

2021-05-18 Thread Matthew Auld
On Tue, 18 May 2021 at 09:27, Thomas Hellström wrote: > > Temporarily remove the buddy allocator and related selftests > and hook up the TTM range manager for i915 regions. > > Also modify the mock region selftests somewhat to account for a > fragmenting manager. > > Signed-off-by: Thomas Hellströ

Re: [Intel-gfx] [PATCH v2 05/15] drm/i915/ttm Initialize the ttm device and memory managers

2021-05-18 Thread Matthew Auld
On Tue, 18 May 2021 at 09:27, Thomas Hellström wrote: > > Temporarily remove the buddy allocator and related selftests > and hook up the TTM range manager for i915 regions. > > Also modify the mock region selftests somewhat to account for a > fragmenting manager. > > Signed-off-by: Thomas Hellströ

[PATCH v2 05/15] drm/i915/ttm Initialize the ttm device and memory managers

2021-05-18 Thread Thomas Hellström
Temporarily remove the buddy allocator and related selftests and hook up the TTM range manager for i915 regions. Also modify the mock region selftests somewhat to account for a fragmenting manager. Signed-off-by: Thomas Hellström --- v2: - Fix an error unwind in lmem_get_pages() (Reported by Mat