]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: remove needless usage of #ifdef
authorShirish S <shirish.s@amd.com>
Thu, 12 Sep 2019 06:33:55 +0000 (12:03 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 15:05:20 +0000 (10:05 -0500)
commit4efa935bd59b0798e39346458f54077a864842c3
tree5b2042584c8cd3eebfa20b6f8b56efd72784f089
parent88a77f4d095fe3618ca66a10b592c9ac3682cf0d
drm/amdgpu: remove needless usage of #ifdef

define sched_policy in case CONFIG_HSA_AMD is not
enabled, with this there is no need to check for CONFIG_HSA_AMD
else where in driver code.

Suggested-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Shirish S <shirish.s@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