]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
commit210bed8f827471e271f894fb99ee879a5d27cf30
tree48310ed350bde481c6238c5a7de2bbe317be6f9e
parent2b5d6c538b48772ba3351b8a8eed096f7af8de5d
drm/radeon/r600: fix offset handling in CS parser

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>
drivers/gpu/drm/radeon/r600_cs.c