drm/i915/cnl: Reprogram DMC firmware after S3/S4 resume
authorImre Deak <[email protected]>
Tue, 3 Oct 2017 09:51:58 +0000 (12:51 +0300)
committerImre Deak <[email protected]>
Wed, 4 Oct 2017 08:37:57 +0000 (11:37 +0300)
commit57522c4c87de20d8f7ad4e142a3a4334066d55ff
tree51684d40a37f6ae0241f1ca395026f19224bcd18
parent213f1bd035edc36f8d68c028d1b79675cd167d1d
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 <[email protected]>
Cc: Animesh Manna <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/intel_runtime_pm.c