]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: reduce redundant uvd context lost warning message
authorLe Ma <le.ma@amd.com>
Wed, 27 Nov 2019 08:51:22 +0000 (16:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2019 21:26:20 +0000 (16:26 -0500)
commitf2882d22136c4d6000549d1e72529f430e58efff
tree1c33bb58f33cc3970a63c6441e7244b9c6f1f14b
parentb2cacb1eb7386ca0a7b9bef26d014c2557483946
drm/amdgpu: reduce redundant uvd context lost warning message

Move the print out of uvd instance loop in amdgpu_uvd_suspend

v2: drop unnecessary brackets
v3: grab ras_intr state once for multiple times use

Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c