Changes between Initial Version and Version 1 of Ticket #19145, comment 15
- Timestamp:
- Feb 11, 2020 3:50:13 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19145, comment 15
initial v1 2 2 Let's recap how we arrived there in the 5.5 kernel. 3 3 4 https://static.lwn.net/kerneldoc/gpu/drm-mm.html 5 https://www.kernel.org/doc/html/v4.10/gpu/drm-mm.html# 4 [https://static.lwn.net/kerneldoc/gpu/drm-mm.html][[BR]] 5 [https://www.kernel.org/doc/html/v4.10/gpu/drm-mm.html#] 6 6 7 7 ttm_bo_device_init()[[BR]] 8 https://static.lwn.net/kerneldoc/gpu/drm-mm.html#the-translation-table-manager-ttm 9 https://www.kernel.org/doc/html/v4.10/gpu/drm-mm.html#the-translation-table-manager-ttm 8 [https://static.lwn.net/kerneldoc/gpu/drm-mm.html#the-translation-table-manager-ttm] 9 [https://www.kernel.org/doc/html/v4.10/gpu/drm-mm.html#the-translation-table-manager-ttm] 10 10 11 11 drm_gem_object_init()[[BR]] 12 https://static.lwn.net/kerneldoc/gpu/drm-mm.html#the-graphics-execution-manager-gem 13 https://www.kernel.org/doc/html/v4.10/gpu/drm-mm.html#the-graphics-execution-manager-gem 12 [https://static.lwn.net/kerneldoc/gpu/drm-mm.html#the-graphics-execution-manager-gem] 13 [https://www.kernel.org/doc/html/v4.10/gpu/drm-mm.html#the-graphics-execution-manager-gem] 14 14 15 15 drm_vma_offset_manager_init()[[BR]] 16 https://static.lwn.net/kerneldoc/gpu/drm-mm.html#vma-offset-manager 17 https://www.kernel.org/doc/html/v4.10/gpu/drm-mm.html#vma-offset-manager 16 [https://static.lwn.net/kerneldoc/gpu/drm-mm.html#vma-offset-manager] 17 [https://www.kernel.org/doc/html/v4.10/gpu/drm-mm.html#vma-offset-manager] 18 18 19 19 {{{ … … 26 26 27 27 PATCH 1/8 drm/ttm: turn ttm_bo_device.vma_manager into a pointer[[BR]] 28 http://kernel1054.rssing.com/browser.php?indx=58795953&item=125227[[BR]]29 https://patchwork.kernel.org/patch/11132229/ 28 [http://kernel1054.rssing.com/browser.php?indx=58795953&item=125227][[BR]] 29 [https://patchwork.kernel.org/patch/11132229/] 30 30 {{{ 31 31 Rename the embedded struct vma_offset_manager, new name is _vma_manager. … … 57 57 58 58 PATCH 2/8 drm/nouveau: switch to gem vma offset manager [[BR]] 59 http://kernel1054.rssing.com/browser.php?indx=58795953&item=125228[[BR]]59 [http://kernel1054.rssing.com/browser.php?indx=58795953&item=125228][[BR]] 60 60 61 61 PATCH 3/8 drm/vram: switch to gem vma offset manager[[BR]] 62 http://kernel1054.rssing.com/browser.php?indx=58795953&item=125224[[BR]]62 [http://kernel1054.rssing.com/browser.php?indx=58795953&item=125224][[BR]] 63 63 64 64 PATCH 4/8 drm/radeon: switch to gem vma offset manager[[BR]] 65 http://kernel1054.rssing.com/browser.php?indx=58795953&item=125231[[BR]]65 [http://kernel1054.rssing.com/browser.php?indx=58795953&item=125231][[BR]] 66 66 67 67 PATCH 5/8 drm/amdgpu: switch to gem vma offset manager[[BR]] 68 http://kernel1054.rssing.com/browser.php?indx=58795953&item=125225[[BR]]68 [http://kernel1054.rssing.com/browser.php?indx=58795953&item=125225][[BR]] 69 69 70 70 PATCH 6/8 drm/qxl: switch to gem vma offset manager[[BR]] 71 http://kernel1054.rssing.com/browser.php?indx=58795953&item=125226[[BR]]71 [http://kernel1054.rssing.com/browser.php?indx=58795953&item=125226][[BR]] 72 72 73 73 PATCH 7/8 drm/vmwgfx: switch to own vma manager[[BR]] 74 http://kernel1054.rssing.com/browser.php?indx=58795953&item=125230[[BR]]74 [http://kernel1054.rssing.com/browser.php?indx=58795953&item=125230][[BR]] 75 75 76 https://linuxlists.cc/l/1/linux-kernel/t/3298988/(patch_7_8)_drm_vmwgfx:_switch_to_own_vma_manager 76 [https://linuxlists.cc/l/1/linux-kernel/t/3298988/(patch_7_8)_drm_vmwgfx:_switch_to_own_vma_manager] 77 77 78 78 and the final removal of the internal vma manager from TTM: 79 79 80 80 PATCH 8/8 drm/ttm: remove embedded vma_offset_manager [[BR]] 81 http://kernel1054.rssing.com/browser.php?indx=58795953&item=125229 81 [http://kernel1054.rssing.com/browser.php?indx=58795953&item=125229] 82 82 83 83 {{{ … … 89 89 This removal went into the 5.5 linux kernel release: 90 90 91 https://www.fclose.com/linux-kernels/07/58/346-drm-ttm-remove-embedded-vma_offset_manager 91 [https://www.fclose.com/linux-kernels/07/58/346-drm-ttm-remove-embedded-vma_offset_manager] 92 92 93 https://www.fclose.com/linux-kernels/linux-5-5-release 93 [https://www.fclose.com/linux-kernels/linux-5-5-release] 94 94 95 https://elixir.bootlin.com/linux/v5.5/source/drivers/gpu/drm/drm_gem.c#L87 95 [https://elixir.bootlin.com/linux/v5.5/source/drivers/gpu/drm/drm_gem.c#L87] 96 96 97 97 {{{ … … 128 128 129 129 So we will have to provide a VMA manager to ttm_bo_device_init() for kernel versions >= 5.5 130 131 132 133