drm/i915/gtt: Return struct i915_scratch_page from alloc_scratch
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Tue, 30 Jun 2015 15:16:39 +0000 (18:16 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 3 Jul 2015 05:39:00 +0000 (07:39 +0200)
commit4ad2af1ed1e972704e1dbc8e7716cd3394a27385
tree25c0c5ca5462e57ebd8afb77f6b308fc747ae1c2
parent2e906beac6be0116c557f96d1c07cb7a955f8059
drm/i915/gtt: Return struct i915_scratch_page from alloc_scratch

Every other alloc_* function return the pointer to the page
they alloc. Follow the convention with scratch page also.

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c