diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2016-11-11 19:57:38 +0300 |
---|---|---|
committer | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2016-11-14 19:00:29 +0300 |
commit | f7e9b004b8a3b32462c2699c84e016795129cc1f (patch) | |
tree | 7e85ff73b9d8b6baef1e1d961bacf85cc45b3251 /mm | |
parent | ee2be309971eeda16f3023a10b4cd90f193d2228 (diff) | |
download | linux-f7e9b004b8a3b32462c2699c84e016795129cc1f.tar.xz |
drm/i915/fbc: inline intel_fbc_can_choose()
It only has two checks now, so it makes sense to just move the code to
the caller.
Also take this opportunity to make no_fbc_reason make more sense: now
we'll only list "no suitable CRTC for FBC" instead of maybe giving a
reason why the last CRTC we checked was not selected, and we'll more
consistently set the reason (e.g., if no primary planes are visible).
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-5-git-send-email-paulo.r.zanoni@intel.com
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions