aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorYong Zhao <[email protected]>2018-05-01 21:56:06 +0000
committerOded Gabbay <[email protected]>2018-05-01 21:56:06 +0000
commit0db54b24ad676c3f2d0cf5291c9d170e3e15f213 (patch)
treecb3b3c7bdcc10a86fc7375a20628e220ce9926bb /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amdkfd: Remove redundant include of amd-iommu.h (diff)
downloadkernel-0db54b24ad676c3f2d0cf5291c9d170e3e15f213.tar.gz
kernel-0db54b24ad676c3f2d0cf5291c9d170e3e15f213.zip
drm/amdkfd: Separate trap handler assembly code and its hex values
Since the assembly code is inside "#if 0", it is ineffective. Despite that, during debugging, we need to change the assembly code, extract it into a separate file and compile the new file into hex values using sp3. That process also requires us to remove "#if 0" and modify lines starting with "#", so that sp3 can successfully compile the new file. With this change, all the above chore is no longer needed, and cwsr_trap_handler_gfx*.asm can be directly used by sp3 to generate its hex values. Signed-off-by: Yong Zhao <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions