]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8533fb4ec735091e9b6d3a5006a9e843e8388841
tree86009c6b465731a37ea8e0494a922628ae7efd13
parent9fdc3bbe9a07463b1d98676ea9106758feef109b
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