aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2012-11-19 15:30:42 +0000
committerDaniel Vetter <[email protected]>2012-11-21 17:45:03 +0100
commitbe7cb6347e0c3aa1956748a860a2465a7ea128c4 (patch)
tree667a07555395601d0666c1fda1c8f16e7cb07217 /include/linux/timerqueue.h
parentb92fa839015f27ba0f5c7ef9812eba9ecff538c2 (diff)
drm/i915: Remove bogus test for a present execbuffer
The intention of checking obj->gtt_offset!=0 is to verify that the target object was listed in the execbuffer and had been bound into the GTT. This is guarranteed by the earlier rearrangement to split the execbuffer operation into reserve and relocation phases and then verified by the check that the target handle had been processed during the reservation phase. However, the actual checking of obj->gtt_offset==0 is bogus as we can indeed reference an object at offset 0. For instance, the framebuffer installed by the BIOS often resides at offset 0 - causing EINVAL as we legimately try to render using the stolen fb. Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions