]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit11f58c8af5f7aae9c218d80decec2174928940b9
tree85f5c2225e403cb8048944b260c59afae3103c28
parent4eaa0cc4d7a6df68ffcb606eb498f9c4b06b0914
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