diff options
author | changzhu <Changfeng.Zhu@amd.com> | 2019-11-19 11:13:29 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-11-22 14:55:19 -0500 |
commit | f920d1bb9c4e77efb08c41d70b6d442f46fd8902 (patch) | |
tree | c560b92f063d212f13ae9f534f644c1ed4e9a39d /security | |
parent | 6c2c8972374ac5c35078d36d7559f64c368f7b33 (diff) | |
download | linux-f920d1bb9c4e77efb08c41d70b6d442f46fd8902.tar.bz2 |
drm/amdgpu: invalidate mmhub semaphore workaround in gmc9/gmc10
It may lose gpuvm invalidate acknowldege state across power-gating off
cycle. To avoid this issue in gmc9/gmc10 invalidation, add semaphore acquire
before invalidation and semaphore release after invalidation.
After adding semaphore acquire before invalidation, the semaphore
register become read-only if another process try to acquire semaphore.
Then it will not be able to release this semaphore. Then it may cause
deadlock problem. If this deadlock problem happens, it needs a semaphore
firmware fix.
Signed-off-by: changzhu <Changfeng.Zhu@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions