Re: [PATCH 00/49] ttm mem manager refactoring.

2020-08-03 Thread Christian König
Am 03.08.20 um 09:12 schrieb Dave Airlie: On Fri, 31 Jul 2020 at 19:17, Christian König wrote: Am 31.07.20 um 06:04 schrieb Dave Airlie: I started pulling on a thread, and it led me down a hole. We might want to make that hole even bigger :) How about we rename the ttm_mem_reg into ttm_resou

Re: [PATCH 00/49] ttm mem manager refactoring.

2020-08-03 Thread Dave Airlie
On Fri, 31 Jul 2020 at 19:17, Christian König wrote: > > Am 31.07.20 um 06:04 schrieb Dave Airlie: > > I started pulling on a thread, and it led me down a hole. > > We might want to make that hole even bigger :) > > How about we rename the ttm_mem_reg into ttm_resource and > ttm_mem_type_manager i

Re: [PATCH 00/49] ttm mem manager refactoring.

2020-07-31 Thread Christian König
Am 31.07.20 um 11:29 schrieb dan...@ffwll.ch: On Fri, Jul 31, 2020 at 11:17:26AM +0200, Christian König wrote: Am 31.07.20 um 06:04 schrieb Dave Airlie: I started pulling on a thread, and it led me down a hole. We might want to make that hole even bigger :) How about we rename the ttm_mem_reg

Re: [PATCH 00/49] ttm mem manager refactoring.

2020-07-31 Thread daniel
On Fri, Jul 31, 2020 at 11:17:26AM +0200, Christian König wrote: > Am 31.07.20 um 06:04 schrieb Dave Airlie: > > I started pulling on a thread, and it led me down a hole. > > We might want to make that hole even bigger :) > > How about we rename the ttm_mem_reg into ttm_resource and > ttm_mem_typ

Re: [PATCH 00/49] ttm mem manager refactoring.

2020-07-31 Thread Christian König
Am 31.07.20 um 06:04 schrieb Dave Airlie: I started pulling on a thread, and it led me down a hole. We might want to make that hole even bigger :) How about we rename the ttm_mem_reg into ttm_resource and ttm_mem_type_manager into ttm_resource_manager. Neither amdgpu's OA/GWS resources nor

[PATCH 00/49] ttm mem manager refactoring.

2020-07-30 Thread Dave Airlie
I started pulling on a thread, and it led me down a hole. This series refactors the ttm ttm_mem_type_manager object into a driver owned, allocated, subclassaed object. It starts with two minor fixes for some bad assumptions in two drivers. Enables a new init path, ports all the drivers to the ne