Skip to content

Commit

Permalink
drm/radeon/kms: add support for interrupts on SI
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alex Deucher authored and Dave Airlie committed Mar 21, 2012
1 parent 347e759 commit 25a857f
Show file tree
Hide file tree
Showing 3 changed files with 881 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/radeon/r600.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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) {
Expand Down
Loading

0 comments on commit 25a857f

Please sign in to comment.