]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Unify gfx9/gfx10 context save area layouts
authorLaurent Morichetti <laurent.morichetti@amd.com>
Mon, 6 Jul 2020 23:13:40 +0000 (16:13 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Jul 2020 20:20:47 +0000 (16:20 -0400)
commit27030370f48044441f3efed0f1796d9b9162de0d
tree501d51660b92be347fefd81a18588c0acc170ef4
parent644dcf95ba7247b4362e717f8af480d2154bfc1c
drm/amdkfd: Unify gfx9/gfx10 context save area layouts

Add some padding before the MODE register in the HWREGs block to
preserve the same layout as gfx9. This simplifies implementation of a
user-mode debugger.

Signed-off-by: Laurent Morichetti <laurent.morichetti@amd.com>
Reviewed-by: Jay Cornwall <jay.cornwall@amd.com>
Acked-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_gfx10.asm