diff options
author | Alex Deucher | 2023-06-07 12:14:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-07-23 13:49:28 +0200 |
commit | 4596c812916a582e16aedfb243aaee8d010c6220 (patch) | |
tree | 20a56c920af530fd9e4179db86816813139a8e4b /drivers/ptp | |
parent | 7c880188c71066449a76de71de772198a0c30a7c (diff) |
drm/amdgpu/sdma4: set align mask to 255
commit e5df16d9428f5c6d2d0b1eff244d6c330ba9ef3a upstream.
The wptr needs to be incremented at at least 64 dword intervals,
use 256 to align with windows. This should fix potential hangs
with unaligned updates.
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit e5df16d9428f5c6d2d0b1eff244d6c330ba9ef3a)
The path `drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c` doesn't exist in
6.1.y, only modify the file that does exist.
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions