commit | 03e39104d9fd72238264576462138ed4b011b24b | [log] [tgz] |
---|---|---|
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | Fri Nov 11 14:57:35 2016 -0200 |
committer | Paulo Zanoni <paulo.r.zanoni@intel.com> | Mon Nov 14 14:00:29 2016 -0200 |
tree | 4ca73cf79cb4c3c6a24585f049ee72291f414055 | |
parent | 4d1368f7faf7949a96fd75fa552ebc9cf4dc4e77 [diff] |
drm/i915/fbc: move the intel_fbc_can_choose() call out of the loop We can just call it earlier, so do it. The goal of the loop is to get the plane's CRTC state, and we don't need it in order to call intel_fbc_can_choose(). 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-2-git-send-email-paulo.r.zanoni@intel.com