[PATCH 2/2] drm/amdkfd: fix bug when initializing sdma vm

2015-07-29 Thread Alex Deucher
On Wed, Jul 29, 2015 at 3:44 AM, Oded Gabbay wrote: > A logical AND operation was used during mask and shift, instead of a > bitwise AND operation. This patch fixes this bug by changing the > operation to bitwise AND. > > Signed-off-by: Oded Gabbay Reviewed-by: Alex Deucher > --- > drivers/gp

[PATCH 2/2] drm/amdkfd: fix bug when initializing sdma vm

2015-07-29 Thread Oded Gabbay
A logical AND operation was used during mask and shift, instead of a bitwise AND operation. This patch fixes this bug by changing the operation to bitwise AND. Signed-off-by: Oded Gabbay --- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_device_q