diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-03-20 17:18:22 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-03-21 06:55:54 +0000 |
commit | 25a857fbe973bdcc7df0df2e0c8f9c6e1ab0e475 (patch) | |
tree | 48299c76543e234ef10ad746dc9d4e0904f472ad /drivers/gpu/drm/radeon/r600.c | |
parent | 347e7592beb0abd56a11ec16ca8aba9f60681f13 (diff) | |
download | blackbird-op-linux-25a857fbe973bdcc7df0df2e0c8f9c6e1ab0e475.tar.gz blackbird-op-linux-25a857fbe973bdcc7df0df2e0c8f9c6e1ab0e475.zip |
drm/radeon/kms: add support for interrupts on SI
This is mostly identical to evergreen/ni, however
there are some additional fields in the IV vector
for RINGID and VMID.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r600.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c index 5eb23829353f..924b68718b82 100644 --- a/drivers/gpu/drm/radeon/r600.c +++ b/drivers/gpu/drm/radeon/r600.c @@ -2778,7 +2778,7 @@ void r600_ih_ring_init(struct radeon_device *rdev, unsigned ring_size) rdev->ih.rptr = 0; } -static int r600_ih_ring_alloc(struct radeon_device *rdev) +int r600_ih_ring_alloc(struct radeon_device *rdev) { int r; @@ -2814,7 +2814,7 @@ static int r600_ih_ring_alloc(struct radeon_device *rdev) return 0; } -static void r600_ih_ring_fini(struct radeon_device *rdev) +void r600_ih_ring_fini(struct radeon_device *rdev) { int r; if (rdev->ih.ring_obj) { |