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)
commite8a64b20eb27cd9c9403f51e4e6c415f9e096e39
tree409cfe95a297c5fa7f9169c133b13be10671c665
parentdcd14dd957f02ef679c61325a2221a0574bdcab3
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