drm/radeon/r600: fix offset handling in CS parser
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 25 Sep 2009 22:33:08 +0000 (18:33 -0400)
committerDave Airlie <airlied@linux.ie>
Fri, 25 Sep 2009 23:09:50 +0000 (09:09 +1000)
Need add reloc offset to the offset in the actual
packet.  Fixes use of the DRAW_INDEX packet by the 3D
driver.

[airlied: modified first one where idx_value == ib[idx+0]

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>

No differences found