drm/amdkfd: Fix gfx9 XNACK state save/restore
authorJay Cornwall <Jay.Cornwall@amd.com>
Tue, 19 Feb 2019 20:51:56 +0000 (14:51 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:21:01 +0000 (12:21 -0500)
commit58836009015c6e1139f227ce827655b7e9639c2d
tree86009c6b465731a37ea8e0494a922628ae7efd13
parent157e586dc98fcc9c6ec4cefa7d893e3a0992bd1a
drm/amdkfd: Fix gfx9 XNACK state save/restore

SQ_WAVE_IB_STS.RCNT grew from 4 bits to 5 in gfx9. Do not truncate
when saving in the high bits of TTMP1.

Signed-off-by: Jay Cornwall <Jay.Cornwall@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler.h
drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx9.asm