OSDN Git Service

drm/amdgpu: fix the coverage issue to clear ArcVPGRs
authorDennis Li <Dennis.Li@amd.com>
Mon, 23 Mar 2020 05:02:39 +0000 (13:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Mar 2020 21:00:11 +0000 (17:00 -0400)
commit10cda519efafd64965de4ac3b8830b57c204f4f1
treea0080421fbbd1b3d8fd87a3114ae741e5046efbc
parent2b5aed9ac3f72c9eee3342228349751d6a11a7d6
drm/amdgpu: fix the coverage issue to clear ArcVPGRs

Set ComputePGMRSRC1.VGPRS as 0x3f to clear all ArcVGPRs.

Signed-off-by: Dennis Li <Dennis.Li@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c