diff options
author | Eric Anholt <[email protected]> | 2019-09-05 16:06:34 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-10-20 04:39:48 +0000 |
commit | 1165e3f36084ff0c4ff0c4f5a069185b0f28386f (patch) | |
tree | 6445ccae1e117e8e79c55d204f008780258834f6 /src/mesa/drivers/dri/radeon/radeon_ioctl.c | |
parent | 2a548cf92f53a5e1ab158605d30e61cc8aa73ecf (diff) |
radeon: Drop the unused first arg of OUT_BATCH_RELOC.
This was a trap when trying to figure out how to fit data bits into
the reloc.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_ioctl.c')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_ioctl.c b/src/mesa/drivers/dri/radeon/radeon_ioctl.c index 58fb9f1c6b9..8734fea9a92 100644 --- a/src/mesa/drivers/dri/radeon/radeon_ioctl.c +++ b/src/mesa/drivers/dri/radeon/radeon_ioctl.c @@ -290,7 +290,7 @@ void radeonEmitVertexAOS( r100ContextPtr rmesa, OUT_BATCH_PACKET3(RADEON_CP_PACKET3_3D_LOAD_VBPNTR, 2); OUT_BATCH(1); OUT_BATCH(vertex_size | (vertex_size << 8)); - OUT_BATCH_RELOC(offset, bo, offset, RADEON_GEM_DOMAIN_GTT, 0, 0); + OUT_BATCH_RELOC(bo, offset, RADEON_GEM_DOMAIN_GTT, 0, 0); END_BATCH(); #endif |