]> git.baikalelectronics.ru Git - kernel.git/commit
amdgpu: a NULL ->mm does not mean a thread is a kthread
authorChristoph Hellwig <hch@lst.de>
Fri, 12 Jun 2020 00:34:58 +0000 (17:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 12 Jun 2020 01:17:48 +0000 (18:17 -0700)
commit6ed7b24262e1251dab42282907c24c6fff1e29f0
tree7e254d6d4de06ebb0e160125e9b476d9b8c5d2ed
parent63fbaed135943850e648823338d789f2e7964e53
amdgpu: a NULL ->mm does not mean a thread is a kthread

Use the proper API instead.

Fixes: 5c3bc52ddc310 ("drm/amd: Update MEC HQD loading code for KFD")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: Zhi Wang <zhi.a.wang@intel.com>
Cc: Felipe Balbi <balbi@kernel.org>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: http://lkml.kernel.org/r/20200404094101.672954-1-hch@lst.de
Link: http://lkml.kernel.org/r/20200404094101.672954-2-hch@lst.de
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h