drm/i915/gen9: flush DMC fw loading work during system suspend
authorImre Deak <imre.deak@intel.com>
Wed, 28 Oct 2015 21:59:06 +0000 (23:59 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 12 Nov 2015 15:31:10 +0000 (17:31 +0200)
commitf514c2d8428584431fc0a3b64a4c3c7b8df3e3ae
tree96253e1b1cf84016649eb6d024946dbc9b51adfc
parent15e72c1fc118731970ab1a94fb894039b8abfff4
drm/i915/gen9: flush DMC fw loading work during system suspend

Currently during system s/r we enable/disable DC6, so before we do so
make sure that the firmware loading is complete.

Note that whether we need to enable DC6 for S3/S4 is still open.  At
least the firmware program is lost during S3 and we need to reprogram it
after resuming. Until this is clarified we keep the current behavior and
enable/disable DC6.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Animesh Manna <animesh.manna@intel.com>
Tested-by: Daniel Stone <daniels@collabora.com> # SKL
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1446069547-24760-13-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_drv.c