]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: disable gfxoff while use no H/W scheduling policy
authorHuang Rui <ray.huang@amd.com>
Mon, 2 Sep 2019 15:34:32 +0000 (23:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 14:55:41 +0000 (09:55 -0500)
commitacb6ed0c5e7e4826e820d81051343abfa3260929
tree04a4ffb76decac7b238f62358d011e6332105515
parent12b4c4779131e7ee77d22bdef3947dcbdcd1b84a
drm/amdgpu: disable gfxoff while use no H/W scheduling policy

While gfxoff is enabled, the mmVM_XXX registers will be 0xfffffff while the GFX
is in "off" state. KFD queue creattion doesn't use ring based method, so it will
trigger a VM fault.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c