aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorTomer Tayar <[email protected]>2023-11-29 14:20:31 +0000
committerOded Gabbay <[email protected]>2023-12-19 09:09:44 +0000
commitbc5f15abcf95ce7e4c2e33daddcb5850ee5e671d (patch)
treec790a7a18fd966cd50224b8c4f008328f656e0c0 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentaccel/habanalabs: add parent_device sysfs attribute (diff)
downloadkernel-bc5f15abcf95ce7e4c2e33daddcb5850ee5e671d.tar.gz
kernel-bc5f15abcf95ce7e4c2e33daddcb5850ee5e671d.zip
accel/habanalabs/gaudi2: avoid overriding existing undefined opcode data
Part of the undefined opcode data is updated in gaudi2_handle_qman_err_generic() and some in handle_lower_qman_data_on_err(). However, the 'write_enable' flag is checked only in gaudi2_handle_qman_err_generic(), and information of more than a single error can be mixed there. Moreover, handle_lower_qman_data_on_err() is called only for the lower QMAN, so for an error in the upper QMAN there is only a partial info. Move all the data update to be done in a single place, protected by the 'write_enable' flag. As mainly the lower QMAN's info is interesting, avoid saving the partial info for the upper QMAN. Signed-off-by: Tomer Tayar <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions