]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/ttm: remove priority hard code when initializing ttm bo
authorJunwei Zhang <Jerry.Zhang@amd.com>
Fri, 11 May 2018 02:54:40 +0000 (10:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:44:23 +0000 (13:44 -0500)
commit967c650d4973dd87355c8540a18e6fa58844e547
tree296d29590a533bf5866285eaa7dd4b813fef3936
parent9164e8b7b32edeea75bf713a61f8bd1701b9a61b
drm/ttm: remove priority hard code when initializing ttm bo

Then priority could be set before initialization.
By default, it requires to kzalloc ttm bo. In fact, we always do so.

Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: David Zhou <david1.zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo.c