drm/i915/gtt: Cleanup page directory encoding
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Thu, 25 Jun 2015 15:35:16 +0000 (18:35 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 26 Jun 2015 09:04:48 +0000 (11:04 +0200)
commitfe36f55d4d4447679923fc74564786ae423ca4bd
treeddc79bb8d1a0321bf0656c01b63b4b43412bf6a1
parentb2dd45111e0fb4b36dcc972c7ae4e69ff1df4f88
drm/i915/gtt: Cleanup page directory encoding

Write page directory entry without using superfluous
indirect function. Also remove unused device parameter
from the encode function.

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