]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix bug when amdkfd destroys hqd
authorOded Gabbay <oded.gabbay@gmail.com>
Wed, 29 Jul 2015 07:33:06 +0000 (10:33 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Thu, 30 Jul 2015 06:26:00 +0000 (09:26 +0300)
commit2998c0f7230cc74e17beea7b79888e8f3a909107
tree409cfe95a297c5fa7f9169c133b13be10671c665
parentc66d1c264c7ad5ccbdacd7f8f7790f3f543f5d93
drm/amdgpu: fix bug when amdkfd destroys hqd

The wrong define was used to check if the hqd is still active

v2: Don't use SHIFT as the MASK is already shifted

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c