diff options
author | Paulo Zanoni <[email protected]> | 2016-01-21 18:07:17 -0200 |
---|---|---|
committer | Paulo Zanoni <[email protected]> | 2016-01-29 18:10:54 -0200 |
commit | fcf38d134983c1dbc3f426f6e562d93514fde1f1 (patch) | |
tree | 11c89fef72455f5a27116f90d4e6d0874572ba63 /tools/perf/scripts/python | |
parent | 261fe99ac26bde82f44163b0d7f67b9ccf562359 (diff) |
drm/i915/fbc: unconditionally update FBC during atomic commits
We unconditionally disable/update FBC even during the page flip
IOCTLs, and an unconditional disable/update at every atomic commit
touching the primary plane shouldn't impact PC state residency
noticeably. Besides, the code that checks for rotation is a good hint
that we may be forgetting something else, so let's leave all the
decisions to intel_fbc.c, making the code much safer.
Once we have the code to properly make FBC enable/update decisions
based on atomic states, with proper locking, then we'll be able to
evaluate whether it will be worth trying to optimize the cases where a
disable isn't needed.
v2: Upstream moved and now our patch needs to remove dev_priv.
Reviewed-by: Maarten Lankhorst <[email protected]>
Signed-off-by: Paulo Zanoni <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions