diff options
author | 2016-11-11 14:57:38 -0200 | |
---|---|---|
committer | 2016-11-14 14:00:29 -0200 | |
commit | f7e9b004b8a3b32462c2699c84e016795129cc1f (patch) | |
tree | 7e85ff73b9d8b6baef1e1d961bacf85cc45b3251 /tools/perf/scripts/python/stackcollapse.py | |
parent | drm/i915/fbc: extract intel_fbc_can_enable() (diff) | |
download | linux-dev-f7e9b004b8a3b32462c2699c84e016795129cc1f.tar.xz linux-dev-f7e9b004b8a3b32462c2699c84e016795129cc1f.zip |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions