[PATCH 1/2] drm/amdkfd: port cwsr trap handler from dkms branch

Alex Deucher alexdeucher at gmail.com
Tue May 17 21:14:23 UTC 2022


On Mon, May 16, 2022 at 3:20 PM Eric Huang <JinhuiEric.Huang at amd.com> wrote:
>
> It is to simplify trap handler support for new asics in
> the future.

It would be good to provide a basic overview of what the changes are.

Alex


>
> Signed-off-by: Eric Huang <jinhuieric.huang at amd.com>
> ---
>  .../gpu/drm/amd/amdkfd/cwsr_trap_handler.h    | 2527 +++++++++--------
>  .../amd/amdkfd/cwsr_trap_handler_gfx10.asm    |  325 ++-
>  .../drm/amd/amdkfd/cwsr_trap_handler_gfx9.asm |  244 +-
>  3 files changed, 1596 insertions(+), 1500 deletions(-)


More information about the amd-gfx mailing list