Chris Wilson 7d5ea80720 drm/i915: Refactor scratch object allocation for gen2 w/a buffer
The gen2 w/a buffer is stuffed into the same slot as the gen5+ scratch
buffer. If we pass in the size we want to allocate for the scratch
buffer, both callers can use the same routine.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1467390209-3576-11-git-send-email-chris@chris-wilson.co.uk
2016-07-01 21:00:50 +01:00
..
2016-06-21 21:32:52 +02:00
2016-06-20 15:55:49 +02:00
2016-06-24 13:16:07 +10:00
2016-06-21 21:32:52 +02:00
2016-05-09 13:49:56 +10:00
2016-06-22 12:41:47 +02:00
2016-06-21 22:10:55 +02:00
2016-06-21 22:10:55 +02:00
2016-06-21 21:43:28 +02:00
2016-06-21 22:10:55 +02:00
2016-05-09 13:49:56 +10:00
2016-06-21 21:43:28 +02:00
2016-06-02 16:25:20 +02:00
2016-06-21 21:58:12 +02:00
2016-06-21 21:43:46 +02:00
2016-06-21 22:10:55 +02:00
2016-06-21 21:58:12 +02:00
2016-06-13 10:45:57 +02:00
2016-05-06 16:04:48 +02:00
2016-06-21 21:43:46 +02:00
2016-06-16 10:16:11 +02:00