drm/amdkfd: Save/restore flat_scratch_lo/hi on gfx10
authorJay Cornwall <jay.cornwall@amd.com>
Sun, 28 Jul 2019 20:25:05 +0000 (15:25 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2019 04:48:33 +0000 (23:48 -0500)
commitf9e346aba193d82286dbb3aab358906a7416568b
treef3dde9ad387634516f9e3b927004e16bff1caeb7
parent7ce55e0b6fbbbddf4984e8343fbb4254afc78dc9
drm/amdkfd: Save/restore flat_scratch_lo/hi on gfx10

These moved from SGPRs in gfx9 to HWREG in gfx10.

Cc: Shaoyun Liu <shaoyun.liu@amd.com>
Signed-off-by: Jay Cornwall <jay.cornwall@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: shaoyunl <shaoyun.liu@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_gfx10.asm