From: Ander Conselvan de Oliveira Date: Fri, 20 Mar 2015 14:18:01 +0000 (+0200) Subject: drm/i915: Add intel_atomic_get_crtc_state() helper function X-Git-Tag: omap-for-v4.1/fixes-rc1~82^2~20^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10f81c194a78915f47aa5a17756b6492be133251;p=pandora-kernel.git drm/i915: Add intel_atomic_get_crtc_state() helper function The pattern of getting the crtc state with drm_atomic_get_crtc_state() and then converting it to intel_crtc_state will repeat quite often in the following patches, so add a helper function to save some typing. v2: Fix upcasting so that crtc_state base field could be moved. (Daniel) Signed-off-by: Ander Conselvan de Oliveira Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed