OSDN Git Service

drm/i915: Extract compute_partial_view()
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Jan 2017 09:56:32 +0000 (09:56 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Jan 2017 11:59:24 +0000 (11:59 +0000)
commit2d4281bb93046fc97fb8ad5dc17ea291a1fb38e2
tree6a705544f23278dbf18399845f12f68d7e4ca794
parent254e0931f5b98119cc87208308213024b8c4da9c
drm/i915: Extract compute_partial_view()

In order to reuse the partial view for selftesting, extract the common
function for computing the view.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170110095633.6612-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c