Re: [PATCH 1/5] drm/ttm: use a static ttm_mem_global instance

2018-10-23 Thread Christian König
Am 23.10.18 um 08:22 schrieb Thomas Zimmermann: Hi Christian Am 19.10.18 um 18:41 schrieb Christian König: As the name says we only need one global instance of ttm_mem_global. Drop all the driver initialization and just use a single exported instance which is initialized during BO global initi

Re: [PATCH 1/5] drm/ttm: use a static ttm_mem_global instance

2018-10-22 Thread Thomas Zimmermann
Hi Christian Am 19.10.18 um 18:41 schrieb Christian König: > As the name says we only need one global instance of ttm_mem_global. > > Drop all the driver initialization and just use a single exported > instance which is initialized during BO global initialization. > > Signed-off-by: Christian Kö

Re: [PATCH 1/5] drm/ttm: use a static ttm_mem_global instance

2018-10-21 Thread Zhang, Jerry(Junwei)
On 10/20/2018 12:41 AM, Christian König wrote: As the name says we only need one global instance of ttm_mem_global. Drop all the driver initialization and just use a single exported instance which is initialized during BO global initialization. Signed-off-by: Christian König Patch 1, 2, 3, 5

[PATCH 1/5] drm/ttm: use a static ttm_mem_global instance

2018-10-19 Thread Christian König
As the name says we only need one global instance of ttm_mem_global. Drop all the driver initialization and just use a single exported instance which is initialized during BO global initialization. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 44 -