]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move load time init of display/audio hooks earlier
authorImre Deak <imre.deak@intel.com>
Wed, 16 Mar 2016 11:38:53 +0000 (13:38 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 17 Mar 2016 13:22:04 +0000 (15:22 +0200)
commit753561e9d4bd76f7d4e14be7e440d7ddf3c60d3c
tree6f3b4b1f073a01b9b59f3218a94e19da8842d5ef
parent237cd54e553ff1f38faff2629c3b4390147cd48b
drm/i915: Move load time init of display/audio hooks earlier

All of this is SW only initialization so we can move them earlier. Move
the mutex init where the rest of the locks are inited. While at it also
convert dev to dev_priv.

v2:
- use the term hook instead of callback for these functions (Jani)

CC: Jani Nikula <jani.nikula@intel.com>
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-5-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/intel_audio.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h