From: Ville Syrjälä Date: Mon, 3 Mar 2014 14:15:28 +0000 (+0200) Subject: drm/i915: Make encoder cloning more flexible X-Git-Tag: v3.15-rc1~51^2~18^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc079e8b1684e1de505ec06f8c2339ae60a329e8;p=pandora-kernel.git drm/i915: Make encoder cloning more flexible Currently we allow encoders to indicate whether they can be part of a cloned set with just one flag. That's not flexible enough to describe the actual hardware capabilities. Instead make it a bitmask of encoder types with which the current encoder can be cloned. For now we set the bitmask to allow DVO+DVO and DVO+VGA, which should match what the old boolean flag allowed. We will add some more cloning options in the future. Note that this patch also removes the encoder.possible_clones setting from encoder setup code - we compute this dynamically. Signed-off-by: Ville Syrjälä Reviewed-by: Rodrigo Vivi [danvet: Add Ville's explanation why removing the encoder possible_clones is save.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed