drm/i915: Move load time runtime device info init earlier
authorImre Deak <imre.deak@intel.com>
Wed, 16 Mar 2016 11:38:55 +0000 (13:38 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 17 Mar 2016 13:22:05 +0000 (15:22 +0200)
commit13c8f4c8cd481ec80bfe3b71f1f21e18bad98efb
treeb46bd39b8cc1c7055c997e6ba408ed8a99f668a9
parentbb400da99836793ade6f1a007db58af2f1b57e9e
drm/i915: Move load time runtime device info init earlier

This init step accesses the device, but doesn't have any device
specific side effect. It also sets up some platform specific
attributes that may be required early, so move it earlier.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1458128348-15730-7-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_dma.c