]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit80741e99282a3672a2259386f3f1dc4c3ef3d54f
treebbbaccd5e1042a1660c0a7c4ac4b5f863b38e480
parent802cbbc09b96eed654233020d8f6d486ddc5123b
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