drm/i915/gen9: Write dc state debugmask bits only once
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Thu, 18 Feb 2016 15:21:14 +0000 (17:21 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 22 Feb 2016 15:21:04 +0000 (17:21 +0200)
commit1e657ad7a48f1ce5005dfa570749f8e78f06ff44
treeebb21982793a6abfe8c3d9af8ab98ada9eb07dd6
parent5b076889f6239f8214967894464ab636f7415aff
drm/i915/gen9: Write dc state debugmask bits only once

DMC debugmask bits should stick so no need to write them
everytime dc state is changed.

v2: Write after firmware has been successfully loaded (Ville)

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1455808874-22089-5-git-send-email-mika.kuoppala@intel.com
drivers/gpu/drm/i915/intel_csr.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_runtime_pm.c