]> www.infradead.org Git - users/hch/configfs.git/commit
drm/amdgpu: fix GRBM read timeout when do mes_self_test
authorTim Huang <Tim.Huang@amd.com>
Wed, 1 Nov 2023 06:22:04 +0000 (14:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Nov 2023 16:18:32 +0000 (12:18 -0400)
commit36e7ff5c13cb15cb7b06c76d42bb76cbf6b7ea75
tree7f1faa63ed08d2253e59c85a0bc978ee413fa091
parent18eae367cb74d05b5e37ce77ef4025b735df012e
drm/amdgpu: fix GRBM read timeout when do mes_self_test

Use a proper MEID to make sure the CP_HQD_* and CP_GFX_HQD_* registers
can be touched when initialize the compute and gfx mqd in mes_self_test.
Otherwise, we expect no response from CP and an GRBM eventual timeout.

Signed-off-by: Tim Huang <Tim.Huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c