aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2018-02-16 09:47:26 -0500
committerThomas Gleixner <tglx@linutronix.de>2018-02-16 09:47:26 -0500
commit6dee6ae9d62642e81def4d461d71f13a6496ab59 (patch)
tree6c75d416c427a59f190e197ad83fe59b7bebf656 /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
parent1beaeacdc88b537703d04d5536235d0bbb36db93 (diff)
parent0b24a0bbe2147815d982d9335c41bb10c04f40bc (diff)
Merge tag 'irqchip-4.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/urgent
Pull irqchip updates for 4.16-rc2 from Marc Zyngier - A MIPS GIC fix for spurious, masked interrupts - A fix for a subtle IPI bug in GICv3 - Do not probe GICv3 ITSs that are marked as disabled - Multi-MSI support for GICv2m - Various cleanups
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
index 93d86619e802..262c1267249e 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
@@ -225,7 +225,7 @@ int amdgpu_queue_mgr_map(struct amdgpu_device *adev,
225 225
226 /* Right now all IPs have only one instance - multiple rings. */ 226 /* Right now all IPs have only one instance - multiple rings. */
227 if (instance != 0) { 227 if (instance != 0) {
228 DRM_ERROR("invalid ip instance: %d\n", instance); 228 DRM_DEBUG("invalid ip instance: %d\n", instance);
229 return -EINVAL; 229 return -EINVAL;
230 } 230 }
231 231
@@ -255,13 +255,13 @@ int amdgpu_queue_mgr_map(struct amdgpu_device *adev,
255 ip_num_rings = adev->vcn.num_enc_rings; 255 ip_num_rings = adev->vcn.num_enc_rings;
256 break; 256 break;
257 default: 257 default:
258 DRM_ERROR("unknown ip type: %d\n", hw_ip); 258 DRM_DEBUG("unknown ip type: %d\n", hw_ip);
259 return -EINVAL; 259 return -EINVAL;
260 } 260 }
261 261
262 if (ring >= ip_num_rings) { 262 if (ring >= ip_num_rings) {
263 DRM_ERROR("Ring index:%d exceeds maximum:%d for ip:%d\n", 263 DRM_DEBUG("Ring index:%d exceeds maximum:%d for ip:%d\n",
264 ring, ip_num_rings, hw_ip); 264 ring, ip_num_rings, hw_ip);
265 return -EINVAL; 265 return -EINVAL;
266 } 266 }
267 267
@@ -292,7 +292,7 @@ int amdgpu_queue_mgr_map(struct amdgpu_device *adev,
292 default: 292 default:
293 *out_ring = NULL; 293 *out_ring = NULL;
294 r = -EINVAL; 294 r = -EINVAL;
295 DRM_ERROR("unknown HW IP type: %d\n", mapper->hw_ip); 295 DRM_DEBUG("unknown HW IP type: %d\n", mapper->hw_ip);
296 } 296 }
297 297
298out_unlock: 298out_unlock: