]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix TTM move entity init order
authorChristian König <christian.koenig@amd.com>
Thu, 12 Jul 2018 12:31:25 +0000 (14:31 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jul 2018 19:45:49 +0000 (14:45 -0500)
commit2349b211a2b4806718bbbcaefec2f7ff1f492e40
tree25fcbd753f5cb622fdd7e9e35a46fb4578671d9c
parent1a129bd836872600c6f3fef74bf5562467716979
drm/amdgpu: fix TTM move entity init order

We are initializing the entity before the scheduler is actually
initialized.

This can lead to all kind of problem, but especially NULL pointer deref
because of Nayan's scheduler work.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c