]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move load time shrinker registration later
authorImre Deak <imre.deak@intel.com>
Wed, 16 Mar 2016 11:38:58 +0000 (13:38 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 17 Mar 2016 13:22:06 +0000 (15:22 +0200)
commit94050a5eae1a4c24e711e13d359f17206c780f66
treebbbaccd5e1042a1660c0a7c4ac4b5f863b38e480
parent28e2ac7b92733e4eae26374c71dc5963cea628df
drm/i915: Move load time shrinker registration later

According to the new init phases scheme we should register the driver
with frameworks/userspace only one the device is setup fully. So move
the shrinker registration later accordingly.

Also fix the shrinker unregistration order wrt. the acpi unregistration
to fix the corresponding init order.

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-10-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_dma.c