]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit631575e5f1ba51d9b2cc1df0493f655bc644f1f5
tree25c0c5ca5462e57ebd8afb77f6b308fc747ae1c2
parentc46b56d2d6521d42d0deff89a32807552dfb077e
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