OSDN Git Service

drm/amdgpu: update page retirement sequence
authorJohn Clements <john.clements@amd.com>
Thu, 5 Mar 2020 11:44:23 +0000 (19:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Mar 2020 19:32:06 +0000 (14:32 -0500)
commit1a2172b5ee1752f4d5b5e5601d5abdd3178f9555
tree975e71426297d87e4eebb16dc002801675675789
parentd38c3ac716309803c85ec4f1f9487a18f4e960c3
drm/amdgpu: update page retirement sequence

check UMC status and exit prior to making and erroneus register access

this resolved unexpected behaviour with UMC indexing mode broadcasting writes

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: John Clements <john.clements@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/umc_v6_1.c