From: Jesse Barnes Date: Wed, 5 Nov 2014 22:26:06 +0000 (-0800) Subject: drm/i915: factor out compute_config from __intel_set_mode v3 X-Git-Tag: omap-for-v3.19/fixes-rc1~80^2~14^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f27126ea3db6ade886f18fd39caf0ff0cd1d37f;p=pandora-kernel.git drm/i915: factor out compute_config from __intel_set_mode v3 This allows us to calculate the full pipe config before we do any mode setting work. v2: - clarify comments about global vs. per-crtc mode set (Ander) - clean up unnecessary pipe_config = NULL setting (Ander) v3: - fix pipe_config handling (alloc in compute_config, free in set_mode) (Jesse) - fix arg order in set_mode (Jesse) - fix failure path of set_config (Ander) Signed-off-by: Jesse Barnes Reviewed-by: Ander Conselvan de Oliveira Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed