drm/i915: add sprite restore function v3
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 26 Mar 2013 16:25:43 +0000 (09:25 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 26 Mar 2013 20:35:04 +0000 (21:35 +0100)
commit5e1bac2ff7376a823a6eedd1dd3815ac9ae250e6
tree32f69e1d96702148bbb96278b3c1a23f6ae197ac
parent11e17a0873aba66b251e77ff246590b9390cdc68
drm/i915: add sprite restore function v3

To be used to restore sprite state on resume.

v2: move sprite tracking bits up so we don't track modified sprite state
v3: use src_x/y in sprite suspend/resume code (Ville)

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_sprite.c