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 02:55:54 -0400 |
commit | 25a857fbe973bdcc7df0df2e0c8f9c6e1ab0e475 (patch) | |
tree | 48299c76543e234ef10ad746dc9d4e0904f472ad /drivers/gpu/drm/radeon/r600.c | |
parent | 347e7592beb0abd56a11ec16ca8aba9f60681f13 (diff) |
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) | |||
2778 | rdev->ih.rptr = 0; | 2778 | rdev->ih.rptr = 0; |
2779 | } | 2779 | } |
2780 | 2780 | ||
2781 | static int r600_ih_ring_alloc(struct radeon_device *rdev) | 2781 | int r600_ih_ring_alloc(struct radeon_device *rdev) |
2782 | { | 2782 | { |
2783 | int r; | 2783 | int r; |
2784 | 2784 | ||
@@ -2814,7 +2814,7 @@ static int r600_ih_ring_alloc(struct radeon_device *rdev) | |||
2814 | return 0; | 2814 | return 0; |
2815 | } | 2815 | } |
2816 | 2816 | ||
2817 | static void r600_ih_ring_fini(struct radeon_device *rdev) | 2817 | void r600_ih_ring_fini(struct radeon_device *rdev) |
2818 | { | 2818 | { |
2819 | int r; | 2819 | int r; |
2820 | if (rdev->ih.ring_obj) { | 2820 | if (rdev->ih.ring_obj) { |