[PATCH] drm/amdgpu: remove needless usage of #ifdef

2019-09-11 Thread S, Shirish
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 Signed-off-by: Shirish S --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 2 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |

Re: [PATCH] drm/amdgpu: remove needless usage of #ifdef

2019-09-12 Thread Kuehling, Felix
On 2019-09-12 2:44 a.m., S, Shirish wrote: > 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 > Signed-off-by: Shirish S Reviewed-by: Felix Kuehling > --- > drive