]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Move the ignore_crat check before the CRAT table get
authorHanjun Guo <guohanjun@huawei.com>
Fri, 13 Nov 2020 03:11:13 +0000 (11:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Nov 2020 22:29:46 +0000 (17:29 -0500)
commitc0c97e3ab4f98ea494b72ed1543b09dcd9087459
treef432ad07c9ae2162ac79bf6944542a2a0b7b7843
parentc648b932ae8a9dbf8406209156f1cd8de97a4181
drm/amdkfd: Move the ignore_crat check before the CRAT table get

If the ignore_crat is set to non-zero value, it's no point getting
the CRAT table, so just move the ignore_crat check before we get the
CRAT table.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_crat.c