diff options
author | Christian König <christian.koenig@amd.com> | 2014-12-03 15:46:49 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-12-03 18:26:53 -0500 |
commit | 466be3386f1c14451a9a9c0a586a9df5f06eecdf (patch) | |
tree | b57a02538bba206f635b7143e7ddb19e73b02f8e /drivers/gpu/drm/radeon/r600_cs.c | |
parent | aa35071c590461f95d0179cc8e730d49d610f773 (diff) | |
download | linux-next-466be3386f1c14451a9a9c0a586a9df5f06eecdf.tar.gz |
drm/radeon: remove duplicates check
Completely unnecessary since the ww_mutex used to reserve a buffer
can detect double reservations from the same thread anyway.
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600_cs.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r600_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r600_cs.c b/drivers/gpu/drm/radeon/r600_cs.c index b81ba1926fa8..e5521946cb7a 100644 --- a/drivers/gpu/drm/radeon/r600_cs.c +++ b/drivers/gpu/drm/radeon/r600_cs.c @@ -2452,7 +2452,7 @@ int r600_dma_cs_next_reloc(struct radeon_cs_parser *p, idx, p->nrelocs); return -EINVAL; } - *cs_reloc = p->relocs_ptr[idx]; + *cs_reloc = &p->relocs[idx]; p->dma_reloc_idx++; return 0; } |