diff options
author | Imre Deak <imre.deak@intel.com> | 2016-03-16 14:39:03 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2016-03-17 16:22:07 +0300 |
commit | 5d7a6eefc3b025725dd1b5a643e90ce068e9dbd4 (patch) | |
tree | 26ad28a3abbbe17d77882f2fe34171a1fd054a2b /virt | |
parent | fbf107bdbd449494e6b17589f0a8a02094b52a19 (diff) | |
download | linux-5d7a6eefc3b025725dd1b5a643e90ce068e9dbd4.tar.xz |
drm/i915: Split out load time early initialization
According to the new init phases scheme we should initialize "SW-only"
state not requiring accessing the device as the very first step, so that
the reasoning about dependencies of later steps becomes easier. So move
these init steps into a separate function. This also has the benefit of
making the error path cleaner both in the new function and int
i915_driver_load()/unload().
No functional change.
Suggested by Chris.
CC: Chris Wilson <chris@chris-wilson.co.uk>
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-15-git-send-email-imre.deak@intel.com
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions