diff options
author | Joseph Greathouse <Joseph.Greathouse@amd.com> | 2021-06-29 21:32:40 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-08-05 21:17:59 -0400 |
commit | 685967b3c138f3d8a797ac82b39005891de0fb92 (patch) | |
tree | ed68bab28aeef8fd707cb2daa8e6b5495a678e7a /drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | |
parent | 14fb496a84f15c1e462c8b7ff5563154174a6c5e (diff) | |
download | lwn-685967b3c138f3d8a797ac82b39005891de0fb92.tar.gz lwn-685967b3c138f3d8a797ac82b39005891de0fb92.zip |
drm/amdgpu: Put MODE register in wave debug info
Add the MODE register into the per-wave debug information.
This register holds state such as FP rounding and denorm
modes, which exceptions are enabled, and active clamping
modes.
Signed-off-by: Joseph Greathouse <Joseph.Greathouse@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c index 685212c3ddae..37b4a3db6360 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c @@ -4198,6 +4198,7 @@ static void gfx_v7_0_read_wave_data(struct amdgpu_device *adev, uint32_t simd, u dst[(*no_fields)++] = wave_read_ind(adev, simd, wave, ixSQ_WAVE_TMA_HI); dst[(*no_fields)++] = wave_read_ind(adev, simd, wave, ixSQ_WAVE_IB_DBG0); dst[(*no_fields)++] = wave_read_ind(adev, simd, wave, ixSQ_WAVE_M0); + dst[(*no_fields)++] = wave_read_ind(adev, simd, wave, ixSQ_WAVE_MODE); } static void gfx_v7_0_read_wave_sgprs(struct amdgpu_device *adev, uint32_t simd, |