summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_edid_modes.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-10-17 10:01:56 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-10-20 10:51:50 +0100
commit9af90d19f8a166694753b3f0558d3a8bcd66c0b5 (patch)
tree7433b151f076c956717fec54b2e42f14ef6723d8 /drivers/gpu/drm/drm_edid_modes.h
parent1d7cfea152cae6159aa30ceae38c3eaf13ea083c (diff)
drm/i915: cache the last object lookup during pin_and_relocate()
The most frequent relocation within a batchbuffer is a contiguous sequence of vertex buffer relocations, for which we can virtually eliminate the drm_gem_object_lookup() overhead by caching the last handle to object translation. In doing so we refactor the pin and relocate retry loop out of do_execbuffer into its own helper function and so improve the error paths. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/drm_edid_modes.h')
0 files changed, 0 insertions, 0 deletions