drm/amdgpu/gfx: fix MEC interrupt enablement for pipes != 0
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2017 12:22:31 +0000 (08:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2017 15:30:42 +0000 (11:30 -0400)
commitd0c55cdf4fc02483a4851f86e3f010a061d8c9cc
tree309fc1b51e44f87aca4399ce977cbc18e8da8368
parentf06fed92dcf27d83ad546c9a510165d1bd54fc3f
drm/amdgpu/gfx: fix MEC interrupt enablement for pipes != 0

The interrupt registers are not indexed.

Fixes: 763a47b8e (drm/amdgpu: teach amdgpu how to enable interrupts for any pipe v3)
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c