diff options
author | Victor Skvortsov <victor.skvortsov@amd.com> | 2022-02-03 21:13:40 +0000 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-02-16 17:30:02 -0500 |
commit | aa79d3808e8cf1f5fd0f1c20c2e6a6865b5b940c (patch) | |
tree | de9b1907536e2a69845a4c439cbdec718a5de223 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | |
parent | fa39f936dbb96626d3345fd8d66af6be6f47ff9e (diff) |
drm/amdgpu: Fix wait for RLCG command completion
if (!(tmp & flag)) condition will always evaluate to true
when the flag is 0x0 (AMDGPU_RLCG_GC_WRITE). Instead check
that address bits are cleared to determine whether
the command is complete.
Signed-off-by: Victor Skvortsov <victor.skvortsov@amd.com>
Tested-by: Bokun Zhang <bokun.zhang@amd.com>
Reviewed by: Shaoyun.liu <Shaoyun.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h')
0 files changed, 0 insertions, 0 deletions