]> 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)
commit4b5ed46896d3b4e05967d030da8bf5ce8e9c33c8
tree501d51660b92be347fefd81a18588c0acc170ef4
parentda86696445e33bbc1d03e0689424e5136fa62f1a
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