]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: restore aldebaran save ttmp and trap config on init (v2)
authorJonathan Kim <Jonathan.Kim@amd.com>
Fri, 21 Aug 2020 07:02:49 +0000 (15:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 02:59:31 +0000 (22:59 -0400)
commit78bded1b92861913e2aeb4fd2a749498bcafe86e
treeaa2c24f44fdf1f9c7a0d3f0502822688a7807c0c
parentb97b5a5cd0e4235025f599ac45c3845ab5ef0825
drm/amdgpu: restore aldebaran save ttmp and trap config on init (v2)

Initialization of TRAP_DATA0/1 is still required for the debugger to detect
new waves on Aldebaran.  Also, per-vmid global trap enablement may be
required outside of debugger scope so move to init phase.

v2: just add the gfx 9.4.2 changes (Alex)

Signed-off-by: Jonathan Kim <Jonathan.Kim@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.h [new file with mode: 0644]