drm/i915/hsw, bdw: Remove redundant state check during power well toggling
authorImre Deak <imre.deak@intel.com>
Thu, 6 Jul 2017 14:40:32 +0000 (17:40 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 27 Jul 2017 07:38:52 +0000 (09:38 +0200)
commit00742cabcc7a4f6bae03cef538c9bb020875115a
treed4b7f459c9706e8a88dcec7e364fc409c8ee201c
parent9137726abc3bc3217dd3adde67c1dce9a1a87c3f
drm/i915/hsw, bdw: Remove redundant state check during power well toggling

Similarly to the GEN9 power well toggling, saving an occasional extra
MMIO write is not worth the code complexity, let's simplify things.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1499352040-8819-11-git-send-email-imre.deak@intel.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_runtime_pm.c