commit | 4f8f225151506f6ea46c15aa410870c1d0b20fee | [log] [tgz] |
---|---|---|
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | Fri Nov 11 14:57:39 2016 -0200 |
committer | Paulo Zanoni <paulo.r.zanoni@intel.com> | Mon Nov 14 14:00:29 2016 -0200 |
tree | b627e8c2f7635136d4e0cfe7ccd803f0fb0b1a9b | |
parent | f7e9b004b8a3b32462c2699c84e016795129cc1f [diff] |
drm/i915/fbc: use drm_atomic_get_existing_crtc_state when appropriate Use drm_atomic_get_existing_crtc_state() instead of looping through the CRTC states and checking if the FBC CRTC is there. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/1478883461-20201-6-git-send-email-paulo.r.zanoni@intel.com