Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309699
b: refs/heads/master
c: 946c749
h: refs/heads/master
i:
  309697: 7661fbf
  309695: 9291771
v: v3
  • Loading branch information
Dave Airlie committed May 31, 2012
1 parent 1aad46d commit bb91dff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e1bbc4bff928ed152a1aef2a4b80a65eccc0ce63
refs/heads/master: 946c7491b37704016cdbba60915d1de2c79c3b57
6 changes: 6 additions & 0 deletions trunk/drivers/gpu/drm/radeon/radeon_prime.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ static void radeon_gem_kunmap(struct dma_buf *dma_buf, unsigned long page_num, v

}

static int radeon_gem_prime_mmap(struct dma_buf *dma_buf, struct vm_area_struct *vma)
{
return -EINVAL;
}

const static struct dma_buf_ops radeon_dmabuf_ops = {
.map_dma_buf = radeon_gem_map_dma_buf,
.unmap_dma_buf = radeon_gem_unmap_dma_buf,
Expand All @@ -93,6 +98,7 @@ const static struct dma_buf_ops radeon_dmabuf_ops = {
.kmap_atomic = radeon_gem_kmap_atomic,
.kunmap = radeon_gem_kunmap,
.kunmap_atomic = radeon_gem_kunmap_atomic,
.mmap = radeon_gem_prime_mmap,
};

static int radeon_prime_create(struct drm_device *dev,
Expand Down

0 comments on commit bb91dff

Please sign in to comment.