OSDN Git Service

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)
commita35ad98bf9d37bdcb46d918edebf87334bfad321
tree5b2042584c8cd3eebfa20b6f8b56efd72784f089
parent8c9f69bc5cc40ca949a9f0b12e05d81bb5a9f446
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