]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: kill intel_resume_prepare()
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 27 Oct 2014 19:54:32 +0000 (17:54 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Nov 2014 22:22:09 +0000 (23:22 +0100)
commitb7d8659f1d2d79beefeb5566a5d01c1698dae82d
tree49892afc53083da58117009011a3ab4b153ae12a
parent58629a22092481f7db9b1ddb36aefc4c58719a6b
drm/i915: kill intel_resume_prepare()

Because, really, the abstraction is not working for us. It is nice for
VLV, but doesn't add anything useful on SNB/HSW/BDW. We want to change
this code due to a recently-discovered bug, but we can't seem to find
a nice solution that repects the current abstraction. So let's kill
intel_resume_prepare() and its friends, and add an equivalent
implementation to both its callers.

Also, look at the diffstat!

v2: - Rebase.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c