diff options
author | Sonny Jiang <sonny.jiang@amd.com> | 2023-03-20 16:17:21 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 09:56:15 -0400 |
commit | 26dc0448ef36ba83be43a7c4da94d55ec626db1a (patch) | |
tree | b52f7c80cb58e4b49d12b91b4f1a73a470750115 /drivers/gpu/drm/amd/amdgpu/soc15_common.h | |
parent | 358e6c38300b7d2b7d7122d4fe485d8a4580dc1e (diff) |
drm/amdgpu: A workaround for JPEG_v4_0_3 ring test fail
The jpeg_v4_0_3 jpeg_pitch register uses UVD_JRBC_SCRATCH0. It needs to
move WREG() to after jpeg_start.
Switch to a posted register write when doing the ring test to make sure
the register write lands before we test the result.
Signed-off-by: Sonny Jiang <sonny.jiang@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc15_common.h')
0 files changed, 0 insertions, 0 deletions