drm/i915/cnl: Reprogram DMC firmware after S3/S4 resume
authorImre Deak <imre.deak@intel.com>
Tue, 3 Oct 2017 09:51:58 +0000 (12:51 +0300)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 4 Oct 2017 22:49:31 +0000 (15:49 -0700)
commit2a8408e5372503fe4df9b5bbb49fb3af0c212c67
treea91af7c6be7e2add97fa6ad59d0120239d377169
parent71300132975f364a0d3ebf68671a2ce4923191db
drm/i915/cnl: Reprogram DMC firmware after S3/S4 resume

The DMC firmware program memory is lost after S3/S4 system suspend, so
we need to reprogram it during resume.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103070
Fixes: cebfcead63de ("drm/i915/DMC/CNL: Load DMC on CNL")
Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
Cc: Animesh Manna <animesh.manna@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171003095159.711-1-imre.deak@intel.com
(cherry picked from commit 57522c4c87de20d8f7ad4e142a3a4334066d55ff)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/intel_runtime_pm.c