]> asedeno.scripts.mit.edu Git - linux.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)
commit1a5df187172a92ffdf8dc89988154d512d66a896
tree49892afc53083da58117009011a3ab4b153ae12a
parentc14b048521ed3413df939ec6cc5dd450ff618120
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