]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb0ec9bede91853ddfdbbb1c55a6ceb7fef581b69
tree309fc1b51e44f87aca4399ce977cbc18e8da8368
parentee56092309afa88bf91e05adeba4acb42ef656ab
drm/amdgpu/gfx: fix MEC interrupt enablement for pipes != 0

The interrupt registers are not indexed.

Fixes: fc7c3d93d (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