drm/amdgpu/vcn5: read back register after written
authorDavid (Ming Qiang) Wu <David.Wu3@amd.com>
Wed, 14 May 2025 22:58:37 +0000 (18:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 May 2025 14:56:17 +0000 (10:56 -0400)
commita8bce9b7a2ccb5cbbe9967a37e617a9ef963e540
tree02ccc91d77e24f02a00b4373dacb9efc6b800028
parent4d4275a0387790fbe0a016c075dcbb39d58b63ab
drm/amdgpu/vcn5: read back register after written

The addition of register read-back in VCN v5.0.0 is intended to prevent
potential race conditions.

Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Signed-off-by: David (Ming Qiang) Wu <David.Wu3@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c