drm/i915: use compute_config in set_config v4
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 7 Nov 2014 21:11:00 +0000 (13:11 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Nov 2014 09:29:22 +0000 (10:29 +0100)
commit50f5275698df4490046cc5b4ed2018abb642a803
tree85f5c2225e403cb8048944b260c59afae3103c28
parent7f27126ea3db6ade886f18fd39caf0ff0cd1d37f
drm/i915: use compute_config in set_config v4

This will allow us to consult more info before deciding whether to flip
or do a full mode set.

v2:
  - don't use uninitialized or incorrect pipe masks in set_config
    failure path (Ander)
v3:
  - fixup for pipe_config changes in compute_config (Jesse)
v4:
  - drop spurious hunk in force restore path (Ander)

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c