commit | 10f81c194a78915f47aa5a17756b6492be133251 | [log] [tgz] |
---|---|---|
author | Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> | Fri Mar 20 16:18:01 2015 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Mar 26 15:09:59 2015 +0100 |
tree | f44d97fd37c024c43fb8312b4df31249538a5fa8 | |
parent | 88595ac9ad199fc2e09270ec92e1ff0806033b83 [diff] |
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 <ander.conselvan.de.oliveira@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>