OSDN Git Service

drm/amdgpu: cleanup gmc_v10_0_process_interrupt a bit
authorChristian König <christian.koenig@amd.com>
Tue, 3 Nov 2020 13:34:49 +0000 (14:34 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Nov 2020 17:06:32 +0000 (12:06 -0500)
commit45d87b85d39bc68148580be08c6b7aca803ba1a6
tree4aeadd9faa3f09108643f4894542555dccfcccfc
parent18e1a6c95f0a6559794b0427108504213ba2be33
drm/amdgpu: cleanup gmc_v10_0_process_interrupt a bit

Return early in case of a ratelimit and don't print leading zeros for
the address.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c